473,387 Members | 1,535 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,387 software developers and data experts.

wsdl parsing

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:complexType name="CallTermType" abstract="true"/> which is used in later sections as
<xsd:complexType name="EndOfPage">
<xsd:complexContent>
<xsd:extension base="CallTermType">
<xsd:attribute name="continueFrom" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>


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

<xsd:complexType name="CallTermType" abstract="true">
<xsd:complexContent>
<xsd:attribute name="CIds" type="xsd:string"/>
</xsd:complexContent>
</xsd:complexType>

Is the line <xsd:complexType name="CallTermType" 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:complexType name="CallTermType" abstract="true"/>




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

Have defined something like this in message
<message name="GetMyRequest">
<part name="request" element="mtyp:GetMyRequest"/>
</message>

In schema for GetMyRequest is something complex defined this way

<xsd:element name="GetMyRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="MyRequest" type="MyRequestType"/>
</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="GetMyRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="MyRequest" type="mtyp:MyRequestType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>


would like to know if data type is complex do we need to specify in schema as "mtyp:MyRequestType" . 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 3421
Dököll
2,364 Expert 2GB
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
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
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...
0
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,...
0
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...
0
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...
0
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...
3
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...
0
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:...
0
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...

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.