Can I parameterize values in the Webservice Xformer

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dganeshm
Premium Member
Premium Member
Posts: 91
Joined: Tue Aug 11, 2009 3:26 pm

Can I parameterize values in the Webservice Xformer

Post by dganeshm »

Img with the red box

I want to parameterize the value in the red box, I tried doing it but I am getting an error while invoking the web service :

<ns1:Fault xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>soapenv:Client</faultcode>
<faultstring>psdi.util.MXApplicationException: XML document does not have the expected root element {http://www.mro.com/mx/integration}SRPDM ... aultstring>
<detail/>

How can I overcome this, I need to parameterize that value..
Last edited by dganeshm on Tue Jan 19, 2010 6:08 pm, edited 1 time in total.
Regards,
Ganesh
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sorry, but what is "the red box"? What exactly are you trying to parameterize? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
dganeshm
Premium Member
Premium Member
Posts: 91
Joined: Tue Aug 11, 2009 3:26 pm

Post by dganeshm »

chulett wrote:Sorry, but what is "the red box"? What exactly are you trying to parameterize? :?

Hey Craig,

I have embedded an img in the posting , if you click it you would can see the red box. I am actually trying to parameterise the PORT ADDRESS in the Web Service Information..
Regards,
Ganesh
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Fix your XML document first. Did you see this error message "XML document does not have the expected root element".
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That should be fine parameterizing the port address but as noted that doesn't seem to be your problem.
-craig

"You can never have too many knives" -- Logan Nine Fingers
dganeshm
Premium Member
Premium Member
Posts: 91
Joined: Tue Aug 11, 2009 3:26 pm

Post by dganeshm »

chulett wrote:That should be fine parameterizing the port address but as noted that doesn't seem to be your problem.
Craig, Lstsaur,

Only when I parameterize I am getting the error , when I leave it as is shown in the Img in the first posting I dont get the error.. that is what is puzzling me..
Regards,
Ganesh
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

It can be edited manually after import...I've done it many times...but I'm not sure if it can be parameterized....perhaps it gets compiled into the job......

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Post Reply