Hi All
We need to send some messages to our partner. Both uses webMethods IS server. We use version 6.5 and they use 8.
We need to call our partner service using pub.client:http and pass data as byte array in a variable named ‘xmldata’.
These are the steps I performed.
- Created the document
- converted the document into xmlstring
- converted the string to bytes
- Called pub.client:http service as post mapping bytes to data/bytes
My issue is how do I pass the value into a variable name.
When I do not set a headers/content-type then I see the incoming variable name as “<?xml version” with string data.
if I set the headers/content-type to ‘text/xml’ then the incoming variable name is ‘node’ but an immediate xmlNodeToDocument fails with the error “com.wm.lang.xml.WMDocumentException: [ISC.0042.9334] XML version must be 1.0”.
I tried to set the varible name under ‘data/args’ it sure passes the variable but without byte data in it.
Can someone direct me on where I am making the mistake.
Thanking you and regards
FKK
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods