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
1495 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Since "Call Web Service Smart Service" is unable to specify endpoints
richardt
over 10 years ago
Since "Call Web Service Smart Service" is unable to specify endpoints that are not in the WSDL, I am using the "Send HTTP Request" smart service to send a SOAP request.
I have the SOAP request as a Document in Appian and use "Text Doc from Template" smart service to change the fields in the request (it is a simple request).
I was wondering, once I have the Document output, how can I retrieve the text (xml) from the document to send in the body of the "Send HTTP Request" smart service. So far I see no way of grabbing document's contents... thanks...
OriginalPostID-123078
OriginalPostID-123078
Discussion posts and replies are publicly visible
Parents
0
elizabeth.epstein
over 10 years ago
Assuming you are sending an XML body, you can also use xpathdocument() on the outermost element, and read XML from the document that way.
You might also consider, instead of writing a templated text document for every call, maintaining the SOAP text template as a constant / expression, and using the Text from Template plugin instead.
forum.appian.com/.../summary
However, the best method for you may depend upon how complex your SOAP template is.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
elizabeth.epstein
over 10 years ago
Assuming you are sending an XML body, you can also use xpathdocument() on the outermost element, and read XML from the document that way.
You might also consider, instead of writing a templated text document for every call, maintaining the SOAP text template as a constant / expression, and using the Text from Template plugin instead.
forum.appian.com/.../summary
However, the best method for you may depend upon how complex your SOAP template is.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data