I need to develop a service client application
in C#
. The service is hosted on customer's local network which I have no access. So I cannot use Add Service Reference
option to create service proxy.
The customer gave me only the XML Soap declarations of their service. It looks like the following:
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5.
-->
- <!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Oracle JAX-WS 2.1.5.
-->
- <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://helios.tedas.gov.tr/im" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://helios.tedas.gov.tr/im" name="IletisimModulu">
- <types>
It is just the head of XML, I am not putting the full XML because of its size. I think this is what we would see if we navigate to service url from explorer (http://mywebservice/Service?WSDL
).
So now, how can I create service proxy from this XML document that they gave me?