473,325 Members | 2,872 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,325 software developers and data experts.

wsdl.exe pukes on webMethods generated WSDL file?!

Hi,

Im trying to consume a webservice described by the WSDL below, however
When i try to add the WSDL it does not work, tried to run it through WSDL.EXE

It validates in XMLSpy, but WSDL.exe pukes on it, as does when i try to
use it in a Vs.Net project... Any ideas how to go forward with this?

Output from WSDL.EXE;
Error: Unable to import binding
'NNNWarrantyClaimManagement_WebServices_Document
PollerBinding' from namespace 'TEST.com/'.
- Unable to import operation 'PollForDocumentRequest'.
- The datatype '' is missing.

Seems like I just have to modify somewhat the WSDL structure or fix
some namespace issue to resolve this problem? Since there is no
imports or includes statements in the wsdl file i would assume its
some parsing error related to microsoft way of seeing things?

- Andreas

--------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
name="NNNWarrantyClaimManagement_WebServices_Docum entPoller"
targetNamespace="TEST.com/"
xmlns:wsdns1="http://localhost/NNNWarrantyClaimManagement/WebServices/DocumentPoller/PollForDocumentRequest"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="TEST.com/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://localhost/NNNWarrantyClaimManagement/WebServices/DocumentPoller/PollForDocumentRequest"
xmlns:tns="http://localhost/NNNWarrantyClaimManagement/WebServices/DocumentPoller/PollForDocumentRequest">
<xsd:complexType name="__PollForDocumentRequest">
<xsd:sequence>
<xsd:element name="PollForDocumentRequest"
type="tns:__PollForDocumentRequest2"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="__PollForDocumentRequest2">
<xsd:sequence>
<xsd:element name="Action" type="tns:__Action"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="__Action">
<xsd:restriction>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:whiteSpace value="collapse"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:enumeration value="GetCount"/>
<xsd:enumeration value="GetDocument"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="__PollForDocumentResponse">
<xsd:sequence>
<xsd:element name="PollForDocumentResponse"
type="tns:__PollForDocumentResponse2"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="__PollForDocumentResponse2">
<xsd:sequence>
<xsd:element name="RemainingCount"
type="xsd:nonNegativeInteger"/>
<xsd:element name="Document" type="tns:__Document"
minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="__Document">
<xsd:sequence>
<xsd:element name="DocumentType" nillable="true"
type="xsd:string"/>
<xsd:element name="DocumentXML" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>

</wsdl:types>

<wsdl:message name="PollForDocumentRequestInput">
<wsdl:part name="PollForDocumentRequest"
type="wsdns1:__PollForDocumentRequest2"/>
</wsdl:message>

<wsdl:message name="PollForDocumentRequestOutput">
<wsdl:part name="PollForDocumentResponse"
type="wsdns1:__PollForDocumentResponse2"/>
</wsdl:message>
<wsdl:portType
name="NNNWarrantyClaimManagement_WebServices_Docum entPollerPortType">
<wsdl:operation name="PollForDocumentRequest">
<wsdl:input message="tns:PollForDocumentRequestInput"/>
<wsdl:output message="tns:PollForDocumentRequestOutput"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding
name="NNNWarrantyClaimManagement_WebServices_Docum entPollerBinding"
type="tns:NNNWarrantyClaimManagement_WebServices_D ocumentPollerPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="PollForDocumentRequest">
<soap:operation soapAction=""/>
<wsdl:input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="TEST.com/NNNWarrantyClaimManagement.WebServices.DocumentPol ler"
use="encoded"/>
</wsdl:input>
<wsdl:output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="TEST.com/NNNWarrantyClaimManagement.WebServices.DocumentPol ler"
use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service
name="NNNWarrantyClaimManagement_WebServices_Docum entPollerService">
<wsdl:port
name="NNNWarrantyClaimManagement_WebServices_Docum entPollerPort0"
binding="tns:NNNWarrantyClaimManagement_WebService s_DocumentPollerBinding">
<soap:address location="http://TEST.com:80/soap/NNNRPC"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Mar 1 '06 #1
0 1691

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

Similar topics

2
by: raymond | last post by:
Hi, Is it possible to create a proxy client class or a web service method by VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to describe all their web service methods...
1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
2
by: pronto | last post by:
Hi all. I created simple web service with C# and run it on Win2000 XP sp2. Service has two simple . I test it with my C# client and IE. Now I want to create VC++ 6 application and talk to web...
1
by: Peter McEvoy | last post by:
Hi all, another question related to Schema and WSDL... I'd like to have a bit more control over the WSDL that is generated for my ..asmx. In particular, I'd like to override the generated WSDL...
0
by: Oleg Ogurok | last post by:
Hi all, One of my developers is having this problem. His asmx and asmx.cs files are good. However, when he launches the web service page in IE, he's not getting the list of web methods. His WSDL...
4
by: Henrik Gøttig | last post by:
Hi all Feeling a bit frustrated here. Maybe I did not find the correct info yet, that's why I am asking you. I have "developed" a .NET 2.0 WebService and generated (using wsdl.exe) the WSDL...
5
by: Mike Logan | last post by:
I used WSDL.exe to generate a client side web proxy for a web service, called the web service, got the results but an array returned by the web service is not in the results. However if I use...
4
by: WebDev2 | last post by:
I have a web service created via Visual Web Developer Express Edition on a IIS Server with .NET 2.0 installed. The test page displays just fine when the URL of the .asmx page is entered into a...
0
by: sdtdevelop | last post by:
Hi all, I have build a webservice and now i am trying to call it from webMethods. Binding succeeds but gives me below warning messages: WSDL code: S-9038 Error: Unknown binding style was...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.