url | String The URL of the document you want to load. This string must begin with http: or https:. For example: http://www.rubicon.com/orders/orders.html —OR— https://localhost:5555/WmPublic/index.html You can include a query string (for example, a collection of "name=value" pairs) with the string that you specify. However, you might want to use the data variable for this type of information instead. It is usually a more practical place for "name=value" data, because it allows you to link individual variables in the query string. | |
method | String Optional. Set this value to specify the HTTP method (GET or POST) that you want the target server to execute on the resource specified in url. This value determines the way in which pub.xml:loadEnhancedXMLNode submits data values (if any) to the resource identified in url. ![]() ![]() | |
auth | Document Optional. Authentication and authorization information that pub.xml:loadEnhancedXMLNode will use if the requested resource is protected. Note: If you include your data with the string in url, do not specify a value in data. | |
Key | Description | |
type | String Type of authentication pub.xml:loadEnhancedXMLNode will use to submit this request. Leave this field blank, as the only option currently available is basic HTTP authentication. | |
user | String User name that pub.xml:loadEnhancedXMLNode will submit if the requested resource is protected. The user name must have authority to access the resource specified in url. This value defaults to the value of watt.net.httpUser in the server's configuration file (server.cnf). | |
pass | String Password associated with the user name specified in user. If the user does not require a password, leave pass empty. This value defaults to the value of watt.net.httpPass in the server's configuration file (server.cf). | |
data | Document Optional. The data that you want pub.xml:loadEnhancedXMLNode to submit with the request. Specify data using one or more of the following elements. Note: When you use more than one element to submit data, args is appended first, table is appended second, and string is appended last. | |
Key | Description | |
args | Document Optional. Specifies name=value pairs that pub.xml:loadEnhancedXMLNode is to submit to the resource in url. You can use args to submit data via either the POST or GET method. To specify data using args, create one element for each name=value pair that you want to submit, where the key represents the name portion of the pair and the value represents the value portion of the pair. Note that when you use args, pub.xml:loadEnhancedXMLNode will automatically: ![]() ![]() ![]() When you submit data using the args variable, Integration Server automatically sets the value of the Content-Type header to application/x-www-form-urlencoded. If you want to explicitly specify a different Content-Type, you must submit your data using the string or bytes variable. | |
table | String Table Optional. Specifies data that pub.xml:loadEnhancedXMLNode will use to construct a query string to submit to the resource specified in url. table is similar to args, but it allows you to submit unnamed values in a query string, not just name=value pairs. To specify data using table, create one row for each value that you want to submit, where: ![]() ![]() When you submit data using the table variable, the Integration Server automatically sets the value of the Content-Type header to application/x-www-form-urlencoded. If you want to explicitly specify a different Content-Type, you must submit your data using the string or bytes variable. Note that when you use table, pub.xml:loadEnhancedXMLNode will automatically: ![]() ![]() ![]() | |
string | String Optional. Text that you want pub.xml:loadEnhancedXMLNode to submit to the resource in url. You can use string to submit data via either the POST or GET method. If you use string to specify your data, make sure that you specify the string exactly as you want it presented in the HTTP request. (If you are using the GET method, make sure you URL-encode the contents of string). When performing a POST the string is submitted to the resource as the body of the document. | |
bytes | byte[ ] Optional. Data that pub.xml:loadEnhancedXMLNode is to submit to the resource in url. You can use bytes only to submit data via the POST method. Note: When you use bytes and another element (args, table, or string) to submit data with pub.xml:loadEnhancedXMLNode, the service appends the data from the args, table, or string element to url. The service appends args to url first, table second, and string last. The service encodes the data from the bytes element in the body of the post. | |
stream | java.io.InputStream Optional. Data that pub.xml:loadEnhancedXMLNode is to submit to the resource in url. You can use stream only to submit data via the POST method. Note: When you use stream and another element (args, table, or string) to submit data with pub.xml:loadEnhancedXMLNode, the service appends the data from the args, table, or string element to url. The service appends args to url first, table second, and string last. The service encodes the data from the stream element in the body of the post. If stream is specified, bytes is ignored. | |
encoding | String Optional. Name of a registered IANA character set. | |
headers | Document Optional. Fields that you want to explicitly override in the HTTP request header issued by pub.xml:loadEnhancedXMLNode. Specify one element for each header field that you want to set, where the element's name represents the name of the header field, and the element's value represents the value of that header field. If headers is not set, pub.xml:loadEnhancedXMLNode will use its default header values. Note: You do not need to type a colon after the field name because pub.xml:loadEnhancedXMLNode will automatically insert the colon when it inserts this field into the request header. If you want to assign specific values to header fields used by pub.xml:loadEnhancedXMLNode, keep the following points in mind: ![]() ![]() ![]() ![]() | |
![]() ![]() ![]() ![]() | ||
encoding | String Optional. Character set in which the returned document is encoded. The parser requires this value in order to interpret a document correctly. Set to: ![]() ![]() | |
failOnHTTPError | String Optional. Determines whether pub.xml:loadEnhancedXMLNode will fail (throw an exception) if the requested URL is not loaded correctly based on an HTTP status code. This parameter allows for customized error handling of the load failure. Set to: ![]() ![]() | |
inputProcessing | Document. Optional. Contains a set of input parameters that instruct Integration Server how to read the XML document. The fields are comparable to those in the javax.xml.stream.XMLInputFactory class. | |
Key | Description | |
isValidating | String Optional. Determines whether Integration Server performs DTD validation. Set to: ![]() ![]() | |
isNamespaceAware | String Optional. Determines whether Integration Server provides namespace processing for XML 1.0 support while parsing the XML document. Set to: ![]() ![]() | |
isCoalescing | String Optional. Determines whether Integration Server coalesces adjacent character data while parsing the XML document. Set to: ![]() ![]() | |
isReplacingEntity References | String Optional. Determines whether, while parsing the XML document, Integration Server replaces internal entity references with replacement text and treats them as characters. Set to: ![]() ![]() | |
isSupporting ExternalEntities | String Optional. Determines whether Integration Server resolves external parsed entities while parsing the XML document. Set to: ![]() ![]() The JVM in which Integration Server runs determines the default. | |
supportDTD | String Optional. Determines whether Integration Server supports DTDs while parsing the XML document. Set to: ![]() ![]() | |
partitionSize | String Optional. Specifies the size, measured in bytes, of the partitions on the heap where the enhanced XML parser stores parsed document information. Specify a suffix of “k” to indicate kilobytes or “m” to indicate megabytes. For example, 10k or 10m. If you do not specify a value, Integration Server uses the default partition size value specified on the Settings > Enhanced XML Parsing screen in Integration Server Administrator. |
node | org.w3c.dom.Node Conditional. XML node representing the returned ML document. The pub.xml:loadEnhancedXMLNode service returns node only when Integration Server parses the XML document successfully. |
status | String Conditional. The HTTP status code returned by the target server if an HTTP error occurs when loading the requested URL. The pub.xml:loadEnhancedXMLNode service returns status when an HTTP error occurs and failOnHTTPError is set to false. |
statusMessage | String Conditional. The HTTP status message returned by the target server if an HTTP error occurs when loading the requested URL. The pub.xml:loadEnhancedXMLNode service returns statusMessage when an HTTP error occurs and failOnHTTPError is set to false. |