The Artima Developer Community
Sponsored Link

Web Services Forum
wsdl standards

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
padma gvs

Posts: 2
Nickname: gvspadma
Registered: Sep, 2007

wsdl standards Posted: Sep 18, 2007 3:56 AM
Reply to this message Reply
Advertisement
I have java code parsing wsdl . For a complex wsdl i need to make some change to wsdl to parse . want to know like the wsdl i am using is a standard one

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="GetObjectsRequest">
<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 .

Topic: Soap encoding vs Literal encoding Previous Topic   Next Topic Topic: wsdl parsing

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use