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
+1
person also asked this
people also asked this
Replies
7 replies
Subscribers
5 subscribers
Views
2878 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
When attempting to call a process model exposed as a web service via the webserv
mpontius
over 9 years ago
When attempting to call a process model exposed as a web service via the webservicequery() function in Appian 7.6 and 7.7 we are receiving an error. This is the simplest case model (only a start and end node) exposed as a service. The Process Model kicks off as it should, but when the result comes back Appian can not handle it... Below is the call and response, to replicate it all that needs to be done is to create a Process Model simply with a start and an end node (no params or anything) and expose it as a web service.
Expression to invoke service (need to put in real user name and password:
= webservicequery(
a!wsConfig(
wsdlUrl: "
localhost:8080/.../CallWebService
service: "{
appiancorp.com/.../pm}CallWebService",
port: "StartProcessIFPort",
operation: "{
appiancorp.com/.../pm}start"
),
{
startRequest: {
username: "xxxxxx",
password: "xxxxxx"...
OriginalPostID-135034
OriginalPostID-135034
Discussion posts and replies are publicly visible
Parents
0
mpontius
over 9 years ago
...
}
}
)
ERROR:
There was an error testing the rule:
Expression evaluation error at function 'webservicequery': Error evaluating function 'webservicequery' : XML handling failure trying to convert value WsResult{{httpStatusCode=200, httpErrorOccurred=false, fault=null, returnValue={TypedValue[it=3,v=startResponse]=TypedValue[it=1684,v={268435475}]}}} to Appian type WsResult (id=1348)
Any thoughts or help?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
mpontius
over 9 years ago
...
}
}
)
ERROR:
There was an error testing the rule:
Expression evaluation error at function 'webservicequery': Error evaluating function 'webservicequery' : XML handling failure trying to convert value WsResult{{httpStatusCode=200, httpErrorOccurred=false, fault=null, returnValue={TypedValue[it=3,v=startResponse]=TypedValue[it=1684,v={268435475}]}}} to Appian type WsResult (id=1348)
Any thoughts or help?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data