pub.client:http input variable | Description | |
url | Specify the URL of the target service that is to receive the XML document. In the URL, include the xmlFormat argument if you want to override the behavior specified by the Default xmlFormat property for the target service. For more information about the xmlFormat values, see
About the xmlFormat Value. | |
![]() http://hostname:port/invoke/folder/serviceName For example, the following URL invokes the purch:postOrder service on the server at rubicon:5555. http://rubicon:5555/invoke/purch/postOrder | ||
![]() http://hostname:port/invoke/folder/serviceName?xmlFormat=format Where format can be enhanced, node, stream, or bytes. For more information about the xmlFormat value and how it impacts processing of the XML document, see
About the xmlFormat Value. Note: The client request should specify the xmlFormat argument only when it is recommended in the documentation for the target service. Furthermore, a client should specify the xmlFormat only when knowing how the service will respond. | ||
method | Specify post or put. | |
headers | Specify information for the Content-Type field of the HTTP request header. | |
Key | Value | |
Content-Type | text/xml or application/xml | |
data | Specify the XML document to submit via HTTP. Use one of the following keys: | |
Key | Value | |
string | A string containing the XML document to submit. | |
bytes | A byte array containing the XML document to submit. |