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
2 replies
Subscribers
6 subscribers
Views
1103 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I would like to expose a process model as a webservice that would consume messag
prestonb
over 11 years ago
I would like to expose a process model as a webservice that would consume messages with the following structure:
<firmId>integer</firmId>
<firmName>text</firmName>
<firmContacts>
<firmContact>
<firstName>text</firstName>
<lastName>text</lastName>
</firmContact>
<firmContact>
<firstName>text</firstName>
<lastName>text</lastName>
</firmContact>
</firmContacts>
where there are 1 or more firmContact elements.
Is it possible to setup the parameters on a process model to accept something like this? If not, what is the best workaround? I'm considering doing something like concatenating firstName and lastName in the xml and then splitting them apart later, like this:
<firmContacts>
<value>firstName#lastName</value>
<value>firstName#lastName</value>
</firmContacts>
Anyone have a better approach? ...
OriginalPostID-99993
OriginalPostID-99993
Discussion posts and replies are publicly visible
Parents
0
David Williams
over 11 years ago
I have achieved this through exposing a string parameter and then passing through the XML to this as a string.
This way it is generic and can be reused.
I then use torecord to "unpack" the XML in to a CDT. Hope that helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
David Williams
over 11 years ago
I have achieved this through exposing a string parameter and then passing through the XML to this as a string.
This way it is generic and can be reused.
I then use torecord to "unpack" the XML in to a CDT. Hope that helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data