I’m looking for a place to do this. I can’t seem to do it in the web service connector directly, because the ‘data’ object doesn’t appear on the pipeline on the map step that puts the wmTestReturn on the pipeline. it just has a single map
pipeline in: pipeline out:
/respParms/wmTestReturn -> /wmTestReturn
so I can’t even find it in there to cast it. if I put that ws connector into another flow, the outer flow recognizes that the wmTestReturn will be an array (list) of column names, and another object called ‘data’ which, like I said, doesn’t seem to have any type.
some progress: inside the ws connector service, I changed the invocation of the soapRPC flow and dropped off the targetOutputSignature input. that also allows the soap connection to run. then if I cast the ‘data’ object into a string first, I just get ‘28’ as the value, which is only the first item. but trying to map ‘data’ into a string list, it doesn’t get anything.
I may end up having to digest the soap response myself with code, but if anyone knows how to get the complex return types out of a soap response into, say, a document in webMethods, that’s what I’m after.
tia.
#webMethods#API-Management#soa