How to acces methods in a web service in c# ?

Hi everyone,

I need to acces a method of a webservice. I have the adresse of the .wsdl and the .xsd of the webservice. These documents describe 4 fonctions and I want to call these functions with different arguments in a script C# in unity.

Actually I use a WWW object and I got the text below :

<html>
<head><title>Web Services</title></head>
<body>
<h1>Web Services</h1>
<table width='100%' border='1'>
<tr>
<td>Endpoint</td>
<td>Information</td>
</tr>
<tr>
<td>
<table border="0"><tr><td>Service Name:</td><td>{http://euroscript.ged3d.connectorGED3D.wsdl/}ConnectorGED3DPortImplService</td></tr><tr><td>Port Name:</td><td>{http://euroscript.ged3d.connectorGED3D.wsdl/}ConnectorGED3DPortImplPort</td></tr></table>
</td>
<td>
<table border="0"><tr><td>Address:</td><td>http://80.74.76.44:28080/3DGED/connectorGED3D</td></tr><tr><td>WSDL:</td><td><a href="http://80.74.76.44:28080/3DGED/connectorGED3D?wsdl">http://80.74.76.44:28080/3DGED/connectorGED3D?wsdl</a></td></tr><tr><td>Implementation class:</td><td>wsdl.connectorGED3D.ged3d.euroscript.ConnectorGED3DPortImpl</td></tr></table>
</td>
</tr>
</table>
</body>
</html>

Everyone has an idea ?

As far as i can tell the wsdl document describes a SOAP interface, so you need to send a soap message to that URL. Haven’t use any webservices like that yet, but it doesn’t look to difficult.

ps: what you posted up there is just a website. The actual WSDL document is at

http://80.74.76.44:28080/3DGED/connectorGED3D?wsdl