You have the xml string in the request body. You would have the input in anyone format, either as String, or Bytes object or Stream object.
Use xmlString to node and xml node to document services to change it to IS document type.
xmlStringToXMLNode - it can take string / bytes / stream as input
xmlNodeToDocument
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB