Web Service Jobs Import doubt

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
MANASHI
Participant
Posts: 17
Joined: Thu Mar 20, 2014 2:50 am
Location: kolkata

Web Service Jobs Import doubt

Post 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.
MANASHI
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Post 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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Web Service Jobs Import doubt

Post 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:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply