I've a relatively small problem. I'm developing and interface between my application and a third party program. The communication between both of them is made by SOAP webservices. They have provided me the wsdl that they are going to use to receive AND send data. I've create the service interface and the client with the wsdl.exe tool, and there are no errors or warnings while the generation.
The problem comes from the generated code namespace. Instead of using the one defined in the interface, it uses the tempuri.org one. Ok, no big deal, I can define the namespace in the
[ServiceContract (Namespace = "theDesiredNamespace")]
The problem is that i want to provide access to my webservice method from
http://theDesiredNamespace/myMethod
and instead my service provides it at:
http://theDesiredNamespace/nameOfTheInterface/myMethod
where nameOfTheInterface is the name of the interface generated automatically by the wsdl tool.
Any advice on how i can handle this? I know the easiest solution would be to actually send my new wsdl version to the third party (as it should be done) but I don't really have a choice.
Is there any workaround to this problem?