When attempting to call a process model exposed as a web service via the webserv

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
  • ...
    }
    }
    )

    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?
Reply
  • ...
    }
    }
    )

    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?
Children
No Data