Page 1 of 1

Web Service Jobs Import doubt

Posted: Mon Aug 25, 2014 4:30 am
by MANASHI
Hi,
We have a datastage job to call a web service. We used WSTrasnformerPX stage to call the web service where we are selecting the web service operation. If the WSDL address changes, we need to import the new WSDL definition and then make appropriate code change in the job. Do we have any other way out so that we do not need to make any change in the code?
For example, we need to move the code to production where the WSDL url will change. Now, if we import the code from QA, how will we make the code work in production as well? Do we need to import the WSDl in production and also make the change to select the web service operation?
Can we make it parameterized?
Please help.

Thanks.

Posted: Mon Aug 25, 2014 8:28 am
by Mike
Did you try using a job parameter in the "Port Address" and "WSDL Address" properties of the WS Transformer stage?

This works in my 9.1.2 version. I haven't tried it with any of the 8x versions.

Mike

Re: Web Service Jobs Import doubt

Posted: Mon Aug 25, 2014 9:25 am
by chulett
MANASHI wrote:Can we make it parameterized?
Was just going to note that the quickest way to answer this question is to try it. :wink: