creating xsd from wsdl file

Hi,
First time having to create an xsd definition from scratch for a new web service. What's the easiest way to do this?
Below is a snippet of the wsdl file. I'm trying to create an xsd definition in the GUI for GetDocumentURL. The first part is easy since the fields are of type Text.
However, how do you define the element that is "data" and the "item" below it?

-<s:element name="GetDocumentURL">
-<s:complexType>
-<s:sequence>
<s:element name="docID" type="s:string" maxOccurs="1" minOccurs="0"/>
<s:element name="key" type="s:string" maxOccurs="1" minOccurs="1"/>
<s:element name="user" type="s:string" maxOccurs="1" minOccurs="1"/>
<s:element name="mode" type="s:string" maxOccurs="1" minOccurs="0"/>
<s:element name="imagegroup" type="s:string" maxOccurs="1" minOccurs="0"/>
<s:element name="timeout" type="s:string" maxOccurs="1" minOccurs="0"/>
-<s:element name="data" maxOccurs="1" minOccurs="0">
-<s:complexTyp...

OriginalPostID-266962

  Discussion posts and replies are publicly visible

Parents
  • @garym - Have you tried using call web service smart service? This smart service automatically creates requests and response cdts based on operation that you select. Still if you plan to create explicitly - All elements are of type string except "item" which is of type Property which is again is a data type in WSDL and is of multiple tyoe. You can first create Property cdt and then create your final cdt using CDT builder directly.
Reply
  • @garym - Have you tried using call web service smart service? This smart service automatically creates requests and response cdts based on operation that you select. Still if you plan to create explicitly - All elements are of type string except "item" which is of type Property which is again is a data type in WSDL and is of multiple tyoe. You can first create Property cdt and then create your final cdt using CDT builder directly.
Children
No Data