93
Views
4
Comments
Can't add parameter 'SOAPAction' to header when consume a SOAP API
Question
Application Type
Mobile
Service Studio Version
11.10.19 (Build 41208)
Platform Version
11.10.2 (Build 25738)

when i try to add parameter 'SOAPAction' in headr for SOAP API, systems always return this error: "The SOAP action specified on the message, '""', does not match the action specified on the HttpRequestMessageProperty, 'getVPNNoListByCustId'. ". seems 'SOAPAction' is a keyword in outsystems. 

i want to ask how to add 'SOAPAction' into header when call a soap api?


2021-07-07 13-36-32
Hans Dollen

Using SOAP is a long time ago for me, but can you use AddSoapHeader_ToRequest instead of AddHTTPHeader_ToRequest? 

UserImage.jpg
Jiu Long Chen

Hi Hans,

Thanks for your reply.

i tried AddSoapHeader_ToRequest, it is not working. For this API, 'SoapAction' need add into Http header, not in request header.

UserImage.jpg
Jeffrey Ramgolam

soapaction => soapAction

2021-04-06 18-40-13
Dennis Vankan

Hello all! 


Has this problem since been solved? I'm running into something similar...


Dennis

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.