473,550 Members | 2,657 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
'NNNWarrantyCla imManagement_We bServices_Docum ent
PollerBinding' from namespace 'TEST.com/'.
- Unable to import operation 'PollForDocumen tRequest'.
- 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:definitio ns
name="NNNWarran tyClaimManageme nt_WebServices_ DocumentPoller"
targetNamespace ="TEST.com/"
xmlns:wsdns1="h ttp://localhost/NNNWarrantyClai mManagement/WebServices/DocumentPoller/PollForDocument Request"
xmlns:wsdl="htt p://schemas.xmlsoap .org/wsdl/"
xmlns:tns="TEST .com/"
xmlns:xsd="http ://www.w3.org/2001/XMLSchema"
xmlns:http="htt p://schemas.xmlsoap .org/wsdl/http/"
xmlns:mime="htt p://schemas.xmlsoap .org/wsdl/mime/"
xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/">
<wsdl:types>
<xsd:schema xmlns:xsd="http ://www.w3.org/2001/XMLSchema"
targetNamespace ="http://localhost/NNNWarrantyClai mManagement/WebServices/DocumentPoller/PollForDocument Request"
xmlns:tns="http ://localhost/NNNWarrantyClai mManagement/WebServices/DocumentPoller/PollForDocument Request">
<xsd:complexTyp e name="__PollFor DocumentRequest ">
<xsd:sequence >
<xsd:element name="PollForDo cumentRequest"
type="tns:__Pol lForDocumentReq uest2"/>
</xsd:sequence>
</xsd:complexType >
<xsd:complexTyp e name="__PollFor DocumentRequest 2">
<xsd:sequence >
<xsd:element name="Action" type="tns:__Act ion"/>
</xsd:sequence>
</xsd:complexType >
<xsd:simpleTy pe name="__Action" >
<xsd:restrictio n>
<xsd:simpleType >
<xsd:restrictio n base="xsd:strin g">
<xsd:whiteSpa ce value="collapse "/>
</xsd:restriction >
</xsd:simpleType>
<xsd:enumeratio n value="GetCount "/>
<xsd:enumeratio n value="GetDocum ent"/>
</xsd:restriction >
</xsd:simpleType>
<xsd:complexTyp e name="__PollFor DocumentRespons e">
<xsd:sequence >
<xsd:element name="PollForDo cumentResponse"
type="tns:__Pol lForDocumentRes ponse2"/>
</xsd:sequence>
</xsd:complexType >
<xsd:complexTyp e name="__PollFor DocumentRespons e2">
<xsd:sequence >
<xsd:element name="Remaining Count"
type="xsd:nonNe gativeInteger"/>
<xsd:element name="Document" type="tns:__Doc ument"
minOccurs="0"/>
</xsd:sequence>
</xsd:complexType >
<xsd:complexTyp e name="__Documen t">
<xsd:sequence >
<xsd:element name="DocumentT ype" nillable="true"
type="xsd:strin g"/>
<xsd:element name="DocumentX ML" nillable="true"
type="xsd:strin g"/>
</xsd:sequence>
</xsd:complexType >
</xsd:schema>

</wsdl:types>

<wsdl:message name="PollForDo cumentRequestIn put">
<wsdl:part name="PollForDo cumentRequest"
type="wsdns1:__ PollForDocument Request2"/>
</wsdl:message>

<wsdl:message name="PollForDo cumentRequestOu tput">
<wsdl:part name="PollForDo cumentResponse"
type="wsdns1:__ PollForDocument Response2"/>
</wsdl:message>
<wsdl:portTyp e
name="NNNWarran tyClaimManageme nt_WebServices_ DocumentPollerP ortType">
<wsdl:operati on name="PollForDo cumentRequest">
<wsdl:input message="tns:Po llForDocumentRe questInput"/>
<wsdl:output message="tns:Po llForDocumentRe questOutput"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding
name="NNNWarran tyClaimManageme nt_WebServices_ DocumentPollerB inding"
type="tns:NNNWa rrantyClaimMana gement_WebServi ces_DocumentPol lerPortType">
<soap:binding style="rpc" transport="http ://schemas.xmlsoap .org/soap/http"/>
<wsdl:operati on name="PollForDo cumentRequest">
<soap:operati on soapAction=""/>
<wsdl:input>
<soap:body encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/"
namespace="TEST .com/NNNWarrantyClai mManagement.Web Services.Docume ntPoller"
use="encoded"/>
</wsdl:input>
<wsdl:output>
<soap:body encodingStyle=" http://schemas.xmlsoap .org/soap/encoding/"
namespace="TEST .com/NNNWarrantyClai mManagement.Web Services.Docume ntPoller"
use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service
name="NNNWarran tyClaimManageme nt_WebServices_ DocumentPollerS ervice">
<wsdl:port
name="NNNWarran tyClaimManageme nt_WebServices_ DocumentPollerP ort0"
binding="tns:NN NWarrantyClaimM anagement_WebSe rvices_Document PollerBinding">
<soap:address location="http://TEST.com:80/soap/NNNRPC"/>
</wsdl:port>
</wsdl:service>
</wsdl:definition s>
Mar 1 '06 #1
0 1701

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

Similar topics

2
10983
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 (and my webmethods) by Java (Apache toolkit) instead of using WSDL. What should I do? Thanks a lot! Raymond
1
9887
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 more operations were skipped. Warnings were encountered. Review generated source comments for more details.
2
2044
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 service with SOAP SDK lib. It's good so far, but SOAP SDK samples are using link to the WSDL file for the tested WebService. I have search whole...
1
2284
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 with a handmade one that I want to provide. The reasons for this are: 1) My handmade WSDL (which will be based on the machine generated WSDL)...
0
1805
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 output is always empty, the kind you get when you add a brand new ASMX file to a project. What's really weird is that other users don't have this...
4
2750
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 for it. The types I am returning from webmethod calls has a superclass (BaseBusinessObject). So MyBusinessObject inherits from BaseBusinessObjects....
5
10316
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 "Add Web Reference" for the same service the same function works appropriately. Here is the client proxy generated from WSDL.exe ...
4
3403
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 browser i.e. "http://www.mydomain.com/Extranet/WebServices/TestWebServ.asmx" The WSDL displayed when accessing the .asmx via...
0
2055
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 found, binding was not generated. and WSDL code: S-9015 Warning: Port does not have a valid binding type, port was not generated.
0
7492
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7768
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8002
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7522
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7847
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6106
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5130
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1097
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
804
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.