pub.soap.utils:createXOPObject
WmPublic. Generates a com.wm.util.XOPObject instance from a base64Binary string, a byte array, or an input stream.
Input Parameters
contentType | String Optional. MIME type of the input data. |
data | Document Data from which you want to generate a com.wm.util.XOPObject instance. |
| Key | Description |
| base64String | String Optional. The base64-encoded string from which you want to generate the com.wm.util.XOPObject instance. |
| bytes | byte [ ] Optional. The byte array from which you want to generate the com.wm.util.XOPObject instance. |
| stream | Object Optional. The InputStream from which you want to generate the com.wm.util.XOPObject instance. |
Output Parameters
xopObject | Object Conditional. An instance of com.wm.util.XOPObject generated from the input data. The value of xopObject will be null if you do not specify any value for the data input parameter. |
Usage Notes
You use the object of type com.wm.util.XOPObject to send or receive data as an MTOM stream. For more information about MTOM streaming, see Web Services Developer’s Guide.
If you specify values for more than one key of the data input parameter, Integration Server uses only one value in the following order or precedence:
base64String bytes stream For example, if you provide values for base64String, bytes, and stream keys, Integration Server will execute the pub.soap.utils:createXOPObject service with the base64String value and will ignore the values provided for bytes and stream keys.