Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
9 subscribers
Views
4970 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
creating xsd from wsdl file
garym
over 8 years ago
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
0
sagarl511
A Score Level 2
over 8 years ago
@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.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sagarl511
A Score Level 2
over 8 years ago
@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.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data