Page 1 of 1

Capturing SOAP Envelope

Posted: Tue Jun 19, 2012 6:10 am
by ray.wurlod
Is it possible to capture the actual SOAP envelopes (header and body at least) used by the Web Services Transformer stage using only DataStage facilities (perhaps a property in the stage itself)?

Posted: Tue Jun 19, 2012 10:33 am
by eostic
In a Server Job using the WSTransformer.....when you run the job, click the "Tracing" tab at the run job dialog.....select your ws transformer stage on the left, and ALL FOUR boxes on the right...

...the log will be filled with a voluminous amount of info...but at the core of it you will find the xml request......followed by the xml response.......and the soap envelope nicely captured within.

Ernie

(another thing you can do is change the output link to be one single column and put a '/' in the Description and go to the message tab and select that column as a "user defined message"......but then it's just the response...best to see it in the trace, then you get the request that DS built).