XMLoutboundProcess

The service is used to post an XML document to a specified URL. The XML transport is used for posting XML documents to external web servers.

Input parameters
transportParams
A document with the following key/value pair.
  • url. URL to which to post the document.
  • xmlType. XML dialect to use. Specify Values-XML if you want the XML in webMethods Integration XML format.
    • Specify SAP-XML when you want the XML in a format that is compliant with the SAP XML specification. For an IDoc, IDoc-XML is used; for an RFC, RFCXML (XRFC) is used. The IDoc must be available as input to this service.
    • Arbitrary XML posts any XML document.
    • SOAP XRFC can be selected as another XML dialect. This equals to XRFC (RFC-XML) with a SOAP envelope (higher than SOAP 1.1).
  • useTextXml. Optional. Flag that overwrites the content-type of bXML, XRFC, and IDoc-XML to text or xml.
    • true. Overwrites the content-type to text/xml.
    • false.
  • useUTF8. Optional. Flag that allows to force the XML rendering engines to use UTF-8 as the encoding for the resulting documents.
    • true.
    • false.
  • httpUser. Optional. User name to supply for a user name and password authentication challenge.
  • httpPassword. Optional. Password to supply along with httpUser for a user name and password authentication challenge.
  • useBAPI.
    • ON. The pipeline is encoded by using bXML for Business Objects.
    • OFF. Default.
  • objectName. Name of the business object, to which the call is mapped.
  • bapiName. Name of the BAPI method, to which the call is mapped.
xmlData
Optional. An XML document as a string, used when transportParams/xmlType is Arbitrary XML.
$encoding
Optional. Encoding used by the XML request document.
$tid
Optional. Transaction ID. Specify a transaction ID when the document must be sent as a transaction.
$action
Optional. Transaction state. Specify one of the following codes:
  • 1. Default. Run.
  • 4. Confirm.
Return values
The return values depend on the document that is posted. The return value is a values object representation of the answer to the posted document.