07-14-2017 09:22 AM
Hello!
I'm trying to figure out to work out HTTP Requests with CPO to CPO's own API.
I'm trying to kill a process so i use the following endpoint:
http://serverhostname.com:61527/WS/ProcessInstance
I use a runtime user with my own credentials for authorization.
I make a Post call with this XML request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:StopProcessInstance>
<!--Optional:-->
<tem:instanceId>4be7c523-bb4b-5f39-d94b-f9d845215438</tem:instanceId>
</tem:StopProcessInstance>
</soapenv:Body>
</soapenv:Envelope>
I run this with SoapUI and it works fine.
On CPO I get the following error... I don't know if i'm configuring something wrong. If you guys need a .tap i could gladly add one.
The remote server returned an error: (500) Internal Server Error.
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</faultcode><faultstring xml:lang="de-DE">The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring></s:Fault></s:Body></s:Envelope>
Would you guys help me figure out what this error is about?
Thanks
Jonathan Gil Santillan
09-05-2017 07:39 AM
Which version of CPO are you using? Is it an HA environment? Can you send me a TAP file? I can check it out.
If you are using a newer version of the product, have you tried out the REST API?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide