471,086 Members | 1,279 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

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>

Jan 18 '07 #1
0 1453

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Zürcher See | last post: by
6 posts views Thread by Davie | last post: by
24 posts views Thread by Nikolay Petrov | last post: by
1 post views Thread by Goose14 | last post: by
5 posts views Thread by VictorG | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.