Reg webservice reference



Hai,

I m nt able to refer the webservice created using java and xml
through vb.net.when i try to refer the wsdl file i get an error
D:\WindowsApplication7\Web References\ws\Reference.map(1): Custom tool
error: Unable to import WebService/Schema. Unable to import binding
'testScvSoapBinding' from namespace 'http://www.ofbiz.org/service/'.
Unable to import operation 'testScv'. Specified cast is not valid.

Can anyone help me?

my wsdl file for ur reference

<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://www.ofbiz.org/service/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tns="http://www.ofbiz.org/service/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
- <wsdl:message name="testScvResponse">
<wsdl:part name="resp" type="xsd:string" />
</wsdl:message>
- <wsdl:message name="testScvRequest">
<wsdl:part name="message" type="xsd:string" />
</wsdl:message>
- <wsdl:portType name="testScvPortType">
- <wsdl:operation name="testScv">
<wsdl:input message="tns:testScvRequest" />
<wsdl:output message="tns:testScvResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="testScvSoapBinding" type="tns:testScvPortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"; />
- <wsdl:operation name="testScv">
<soap:operation soapAction="" />
- <wsdl:input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://www.ofbiz.org/service/"; use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://www.ofbiz.org/service/"; use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="testScv">
- <wsdl:port binding="tns:testScvSoapBinding" name="testScvPort">
<soap:address
location="http://127.0.0.1:8082/webtools/control/SOAPService"; />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

.



Relevant Pages

  • Re: Using the .NET WebService tools
    ... the XSD.exe tool can be used to help map between .NET classes and XML files. ... A WSDL file is a definition of a webservices interface. ... that the webservice accepts and returns. ... the WSDL file can reference an external Schema (a separate XSD file) ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Using the .NET WebService tools
    ... This appears to be an excerpt from a client-side proxy class. ... client-side proxy class into a server-side webservice. ... If you want to generate a service from a WSDL file, ... > Public Function ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Using User-Defined Data Type
    ... WebService" you essentially invalidate the proxy you created. ... The WSDL file is then used on the client for generating "Proxy ... just deal with "objects" in your code on both Server & Client side. ... >web reference defination and reference my document dll file, ...
    (microsoft.public.dotnet.framework.webservices)
  • PHP5 SOAP and https
    ... I have a problem with Soap class in PHP5. ... webservice Wsdl file, which the ...
    (comp.lang.php)
  • Re: Sharing Types between Webservice and Client
    ... The wsdl file contains the right namespaces. ... >> I've also created a client application that consumes this webservice. ...
    (microsoft.public.dotnet.framework.webservices)