I have published a process model as web-service. The web service call works fine

I have published a process model as web-service. The web service call works fine with "Call Web Service" Node in another process model, BUT when I use webservicequery function as follows
= webservicequery(
a!wsConfig(
wsdlUrl: "myserverurl/.../timesheetws
service: "{appiancorp.com/.../pm}timesheetws",
port: "StartProcessIFPort",
operation: "{appiancorp.com/.../pm}start"
),
{
startRequest: {
username: "xx",
password: "xx"
}
}
)

I get XML parsing error:

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=5974,v={268440681}]}}} to Appian type WsResult (id=620)


Has anybody faced this before? Please help.
...

OriginalPostID-120862

OriginalPostID-120862

  Discussion posts and replies are publicly visible

Parents
  • Due to the fact that the response returned by Appian is returning a nested TypedValue the function supports the creation of the process but will fail to return the response in a data type that can be stored, thus erroring out; in summary this function is not fully compatible with process models published as a web service.

    The reference number for this issue is AN-55618. In the meantime I suggest you use the plug-in mentioned above or build your own custom function to invoke the model published as web service.

    Eduardo Fuentes
    Appian Technical Support
Reply
  • Due to the fact that the response returned by Appian is returning a nested TypedValue the function supports the creation of the process but will fail to return the response in a data type that can be stored, thus erroring out; in summary this function is not fully compatible with process models published as a web service.

    The reference number for this issue is AN-55618. In the meantime I suggest you use the plug-in mentioned above or build your own custom function to invoke the model published as web service.

    Eduardo Fuentes
    Appian Technical Support
Children
No Data