Presto Development and APIs : Presto 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 © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback