473,624 Members | 2,685 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wsdl parsing

5 New Member
I am working on some code which parses wsdl . I have a complex wsdl which is failing to parse . I have to modify this wsdl for parsing .

wanted to know the complex wsdl i am using is as per standards.


first change done
in schema section i have something defined like this

<xsd:complexTyp e name="CallTermT ype" abstract="true"/> which is used in later sections as
<xsd:complexTyp e name="EndOfPage ">
<xsd:complexCon tent>
<xsd:extensio n base="CallTermT ype">
<xsd:attribut e name="continueF rom" type="xsd:strin g"/>
</xsd:extension>
</xsd:complexCont ent>


But how ever with my current code i have make some changes in wsdl , add some attribute

<xsd:complexTyp e name="CallTermT ype" abstract="true" >
<xsd:complexCon tent>
<xsd:attribut e name="CIds" type="xsd:strin g"/>
</xsd:complexCont ent>
</xsd:complexType >

Is the line <xsd:complexTyp e name="CallTermT ype" abstract="true"/> adheres to standard if so I need to make some changes in my code as i need to parse wsdl adhering to standards <xsd:complexTyp e name="CallTermT ype" abstract="true"/>




second change
in wsdl <definitions> i have something defined as below
xmlns:mtyp="htt p://abc.com/ab/xyz/2005/02/ws/schema"

Have defined something like this in message
<message name="GetMyRequ est">
<part name="request" element="mtyp:G etMyRequest"/>
</message>

In schema for GetMyRequest is something complex defined this way

<xsd:element name="GetMyRequ est">
<xsd:complexTyp e>
<xsd:sequence >
<xsd:element name="MyRequest " type="MyRequest Type"/>
</xsd:sequence>
</xsd:complexType >
</xsd:element>


How ever I am able to parse wsdl provided i qualify the complex type with namespace i.e as below

<xsd:element name="GetMyRequ est">
<xsd:complexTyp e>
<xsd:sequence >
<xsd:element name="MyRequest " type="mtyp:MyRe questType"/>
</xsd:sequence>
</xsd:complexType >
</xsd:element>


would like to know if data type is complex do we need to specify in schema as "mtyp:MyRequest Type" . or can directly need to be given as ="MyRequestType ". which is the standard way ? becuase the code i am using should parse all the standards wsdl .
so i want to what is standard convention so that i can decide i should change my code or not .
Sep 18 '07 #1
1 3432
Dököll
2,364 Recognized Expert Top Contributor
Have a look here: http://www.w3schools.com/wsdl/wsdl_syntax.asp
Sep 19 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3200
by: Alessandro Crugnola | last post by:
Hi to all. Is there a way, maybe using 4suite, to read a wsdl file and find for every method all the input/output params and their type?
0
1848
by: Nick Caldwell | last post by:
Y'all, Problem: Reading complex data types returned from WSDL I'll present this in 3 sections. 1. Output of WSDL parser on Google API 2. Output of WSDL parser on Custom API 3. WSDL parser code
0
6453
by: Marc van Boven | last post by:
I'm stuck with the following problem: My nusoap-client calls a server-function giveCombination(). The function giveCombination should return something like array( => array( 'a_id' => 6, 'b_id' => 9, 'c_id' => 3,
0
1708
by: Andreas | last post by:
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
0
1388
by: nole369 | last post by:
Hi, I am working with wsdl4j now trying to create a parser that will pull out the part names from the messages in the web service (wsdl) document. Although sometimes these part names are descriptive as to their content, often times they are tagged ambiguously with the word "parameters." When the word "parameters" comes up instead of explicit, descriptive names, I want to be able to go back through the schema and locate the underlying part...
0
2706
by: Geoffrey Summerhayes | last post by:
I'm writing on a wsdl parser in javascript and the relevant portions of the file I'm trying to parse is <?xml version="1.0" encoding="utf-8" ?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://localhost/Test/"...
3
2981
by: Thomas Guettler | last post by:
Hi, I looked for a solution to talk to a web service which offers its signature with a wsdl file. I googled for 'wsdl python' and found ZSI. This project uses code generation. That's something I don't like.
0
2307
by: Sebastian Schulze | last post by:
Hey. I know it's possible to generate WSDL 2.0, but has someone made any experience with PHP, consuming WSDL 2.0 Files? I tried, using the example from the W3 WSDL TR: http://www.w3.org/TR/2005/WD-wsdl20-primer-20050803/#reservationDetails.wsdl $soap = new SoapClient("...path-to-wsdl..."); and I'm stuck with: "Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't
0
1744
by: gcwg | last post by:
Hi, I am new to using the Soap::WSDL module. How would I go about getting rid of this parsing error? #!/usr/bin/perl use strict; use SOAP::WSDL +trace => 'all'; use Data::Dumper;
0
8688
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8494
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7178
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6115
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4085
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2614
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1496
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.