Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | MashZone NextGen Development and APIs | MashZone NextGen Platform API Console | Adding Headers for Mashables to JUMP Requests
 
Adding Headers for Mashables to JUMP Requests
 
Namespaces and Namespace Prefixes
Some mashables require headers in requests. For example, WSDL web services may require some information in SOAP headers that are separate from the body of the request.
You can add SOAP headers or other headers required by a mashable to JUMP requests using the optional JUMP header property serviceHeader.
SOAP Header Example
The following example is a JUMP request for a WSDL web service that passes authentication information in a SOAP header:
{ "sid":"XIgniteGetQuotes",
"oid":"GetQuickQuotes",
"header":{
"serviceHeader":{ // jump parameter to pass SOAP header
"ser:Header":{ // one SOAP header to pass to SOAP service
"ser:Username":"noname@somewhere.com"
}
}
},
"params":{ "ser:GetQuickQuotes": {"ser:Symbol":"MSFT"} }
}

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release