How to create WSDL based on a given XML file?



I have an XML file whose content is just the data to be transferred:



<?xml version="1.0" encoding="UTF-8"?>
<args>
<name>project-x</name>
<namespace>/anycorp/projects</namespace>
<description>Project-x performs tests</description>
<metadata-namespace>true</metadata-namespace>
<dictionary-namespace>true</dictionary-namespace>
<group-roles>
<name>ANYC_ORG_ABC123_MGR</name>
<name>ANYC_ORG_ABC123_CTR</name>
<name>ANYC_ORG_ABC123_RDR</name>
<name>ANYC_ORG_ABC123_REV</name>
</group-roles>
<create-accounts>
<account>
<domain>anycorp</domain>
<user>nico.jose</user>
<name>Nico Jose</name>
<password>password1</password>
.............


Now I created a new WSDL file in Eclipse, and seems I need to define schema based on this XML file in the new WSDL. Eclipse WSDL editor has an UI interface, but I don't know the specific steps to create the WSDL based on the given XML file, any suggestions?


No comments:

Post a Comment