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!
|