Combination View Flat View Tree View
Threads [ Previous | Next ]
<pre>When working with a Studio application, has anyone used an xml file along with an associated xsd (xml schema) file as a base or template (for lack of a better term) in order to create or convert to a wsdl file?

I'm aware that xsd and wsdl files define two completely different types of data, however I'd like to know if anyone has performed a successful migration from one to the other with either Eclipse or Altova (xmlSpy).

The reason for my inquiry is that my client is currently using a config.xml file to send http requests to a back end database (along with an acompanying xsd xml schema file). A sample entry from the XML file would be as follows:

<url name="Conf_Reg" action="POST">
<xslt mode="BOTH">GetRegSummaryIV01.xsl</xslt>
<destination>https://abc.xyz/abc/Servlet</destination>

I'm certain that GetRegSummary will be listed as an operation (for the service) in my wsdl file however there are several lines of this nature within the xml file that I would prefer to not have to manually convert. If anyone has had experience with this kind of conversion your input would be greatly appreciated.

I'm posting this for a student who doesn't have CDN posting access yet. So, either reply to the online or contact Robert directly at re705m (at) att (dot) com

Thanks, Janine
</pre>

RE: XML
Answer
8/2/12 6:16 PM as a reply to Janine Graves.
Janine,
You are essentially talking taking one file that contains the data aspect related to structure of input and output messages and the other one ie wsdl has the operations exposed by wsdl service. It would not be possible for an automated tool to do this just using xsd unless xsd is containing operation names also.
There is some manual intervention required. You can use the XML spy wsdl editor tool. It will make your task easier.
Hemal