Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

existing XSD to WSDL's schema

Status
Not open for further replies.

russland

Programmer
Jan 9, 2003
315
CH
hi,

following scenario:
an xsd of "pseudo soap" messages is existing (pseudo because their is no namespace declared in my soap messages - otherwise they are fully soap-friendly .. envelope, header, body)
now, a new wsdl file needs to be written describing 3 of the messages of the "pseudo soap" schema. applying xsl transformation on the current xsd, how could i easily make the <xsd:complexType> tags i need to appear in the schema definition of the wsdl?

yep, i'm a rookie in transformations. probably this is plain simple. however, i'd appreciate any hint you could provide.

thanks heaps
 
okay, i found it. it's the <xsl:copy-of select="/blah"/> which copies the tag recursively to the new output file.
e.g. now, you may easily copy schema definitons of a xsd file into the type definition section of a wsdl file.

hope that helps other developers...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top