Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 11th, 2015, 02:12 PM
Authorized User
 
Join Date: Feb 2007
Posts: 51
Thanks: 3
Thanked 0 Times in 0 Posts
Default WSDL to XML Transformation

Hello,

I have performed a WSDL to HTML transform with wsdl-viewer.xsl. That certainly creates a nicely formatted web page with friendly links links between the various parts in the structure (wsdl->operations->messages->elements).

However, what I really want is an XML format based WSDL file with all the parts in-line in a XML file (very roughly like the following pseudocode):

<WSDL>
<OPERATION A>
<INPUT MSG>
<ELEMENT 1>
<ELEMENT 2>
</INPUT MSG>
<OUTPUT MSG>
<ELEMENT 1>
<ELEMENT 2>
</OUTPUT MSG>
<FAULT MSG>
</OPERATION A>
.
.
.
<OPERATION n>
<INPUT MSG>
<ELEMENT 1>
<ELEMENT 2>
</INPUT MSG>
<OUTPUT MSG>
<ELEMENT 1>
<ELEMENT 2>
</OUTPUT MSG>
<FAULT MSG>
</OPERATION n>
</WSDL>

Ultimately what I am doing is capturing the overall WSDL structure in CSV format (why? for my own nefarious reasons related to a work project I have to support). I found an online tool that took my WSDL.HTML file (created using the wsdl-viewer.xsl transformation), but the XML it converted it to ended up as garbage.

I would be grateful for any help here. I have a tool called OxygenXML that seems powerful (kind of like xmlSpy) but I cannot find a way to use it for my purposes.

Thanks for any response!
 
Old February 16th, 2015, 02:21 PM
Friend of Wrox
 
Join Date: Feb 2014
Posts: 136
Thanks: 1
Thanked 10 Times in 10 Posts
Default

a wsdl is already an xml file so I am not understanding what you mean but convert it to an xml.





Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT Transformation Issue from source XML to Target XML Dhanunjay XSLT 1 July 17th, 2014 04:17 PM
Regarding xml-html transformation of an xml string using xslt and javascript suprakash444 XSLT 1 January 12th, 2009 01:23 AM
NuSOAP Help : XML error parsing WSDL on line 2 Odys PHP How-To 0 March 16th, 2007 04:11 PM
Is XML supports transformation of HTML to XML? zeeonline XSLT 1 July 28th, 2006 05:13 PM
WSDL Reader: Loading of the WSDL file failed. Anil .NET Web Services 0 January 23rd, 2004 02:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.