473,221 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,221 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 1550

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Patrick | last post by:
I am almost certain that I could use HTTP Post/Get to submit XML Web Service call (over SSL as well, if using Version 3 of MSXML2) from an ASP Application? However, would I only be able to call...
2
by: Zürcher See | last post by:
I have to write a program to pass data through a web service, Ill use two strongly typed dataset enbedded in a library class, a "request" and an "answer" dataset. I've wrote the program and the...
12
by: Jose Fernandez | last post by:
Hello. I'm building a web service and I get this error. NEWS.News.CoverNews(string)': not all code paths return a value This is the WebMethod public SqlDataReader CoverNews(string Sport)...
6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
24
by: Nikolay Petrov | last post by:
In my WebService I have structure Structure myStr1 Dim text as String Dim Key as Byte() End Structure and a Web Method, containing Function which retruns data as this Structure My qustion...
3
by: subha | last post by:
I have a HelloWorld webservice that works on my IE browser. But, when I add a webreference to it and call the HelloWorld method from my WindowsFormsApp (return in C#), I get error messages. The...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
5
by: | last post by:
Hi, How long do webservice objects live for? In particular, if i have static variables filled with data from a static constructor in a webservice, how long will that data persist? thxs
1
by: Goose14 | last post by:
I have a client application and a webservice. Both are in the same solution. If I reference the local webservice and run, and step into the webservice no problem. My question is, when I want to...
5
by: VictorG | last post by:
Hello, I am trying to secure a webservice using WSE 3.0 and the turnkey usernameForCertificateSecurity profile. I am passing a valid username token, and on the server I have overridden the...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.