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
3 replies
Subscribers
7 subscribers
Views
1535 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
When use 'Call Web Service' node, Appian appears to be sending optional
sureshk594
over 10 years ago
When use 'Call Web Service' node, Appian appears to be sending optional XML tags with empty values.
For example, assume that this is a complete XML according to the schema.
<contact>
<name>ABC</name>
<email>abc@abc.com</email>
</contact>
<email> is an optional element according to the schema. If email is not mapped to a variable, Appian is sending:
<contact>
<name>ABC</name>
<email></email>
</contact>
This is not desired. How do I get Appian to send:
<contact>
<name>ABC</name>
</contact>
(I am new to Appian)
Thanks in advance.
...
OriginalPostID-129608
OriginalPostID-129608
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
For empty optional text items Appian will send the empty element. If you web service is not able to ignore that you can build your own SOAP envelope and send it using the "HTTP Query Smart Service."
forum.appian.com/.../HTTP_Query_Smart_Service.html
if running 7.7 or the Send HTTP Request plug-in if using 7.6 and older
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sureshk594
over 10 years ago
Sorry for the delayed response. Thank you very much for your comment.
We are reviewing our options based on your comment at this point. We also have a support ticket opened.
Meanwhile, are you aware of any code snippets on calling a web service using HTTP Smart Service? Is this a common practice?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
You can invoke this web service using SoapUI first to see the XML of the SoapEnvelope then you send this as the body of the request as any text in Appian
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel