Hi,
I'm using a custom wsdl for my webservice. this is how have done it
http://pluralsight.com/blogs/craig/a.../15/17482.aspx. When i try
to add a webreference to my service from a test client, it gives an error
"unable to download http://..myservise.asm x?wsdl" with a promt for skip the
file and continue.
when i skip and continue to add the referencee, following error comes
" E:\My Documents\MSC\R esearch\Develop ments\kandulaTe st\Web
References\Act\ Reference.map(1 ): Custom tool error: Unable to import
WebService/Schema. Cannot find definition for
http://schemas.xmlsoap.org/ws/2004/1...iceSoapBinding.
Service Description with namespace
http://schemas.xmlsoap.org/ws/2004/10/wscoor is missing.
Parameter name: name "
I have defined http://schemas.xmlsoap.org/ws/2004/10/wscoor in my custom
wsdl file and
http://schemas.xmlsoap.org/ws/2004/1...iceSoapBinding.
is a Binding defined in my custom wsdl. the Service in the .NET auto
generated wsdl uses the above Binding.
following is the .NET autogenerated wsdl
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitio ns xmlns:http="htt p://schemas.xmlsoap .org/wsdl/http/"
xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc=" http://schemas.xmlsoap .org/soap/encoding/"
xmlns:i0="http://schemas.xmlsoap .org/ws/2004/10/wscoor"
xmlns:tns="http ://tempuri.org/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="htt p://schemas.xmlsoap .org/wsdl/mime/"
targetNamespace ="http://tempuri.org/"
xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/">
<wsdl:import namespace="http ://schemas.xmlsoap .org/ws/2004/10/wscoor"
location="http://localhost/kandula.net/wscoor.wsdl" />
<wsdl:types />
- <wsdl:service name="Activatio nService">
- <wsdl:port name="Activatio nServiceSoapBin ding"
binding="i0:Act ivationServiceS oapBinding">
<soap:address
location="http://localhost/kandula.net/ActivationServi ce.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definition s>
Apperatly .net webservice framewrok is failing to import
http://localhost/kandula.net/wscoor.wsdl while sdding the web reference in
the test client. can somene please help me to get this resolved...I don't
understand why .net is failing to import the file and use the definitions
from there. Is this a limitation in the .net ? are there any work arounds ?