Web Services input

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
srai
Participant
Posts: 101
Joined: Wed Feb 09, 2005 10:50 pm

Web Services input

Post by srai »

Hi All,

I have just one small doubt about the web service input.

I have one WSDL (Web Service) which takes a string as input and return the same as output.

My question Is it manadatory to pass input to operation through XML file only and store the output as well in XML file?
Currently I am trying ti implement the same but for input/output I am using seq file.
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Not sure I understand your question. For a simple Web Service (like this one at xmethods http://webservices.daehosting.com/servi ... s.wso?WSDL ) you shouldn't ever "see" the xml that is produced on your behalf to build the SOAP envelope, or to decipher (de-serialize is the term that SOAP folks use) the one that is returned. You simply have normal columns on the input and output links of your WSTransformer.

...there most certainly ARE web services that either require XML as input to the payload (where XML is actually what is being sent to the other application), or where you have to manually build the SOAP Envelope (which is also xml) because of some complexity in the service that requires it (such as Headers).

...but a normal, simple WS should require no XML work on your part.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
srai
Participant
Posts: 101
Joined: Wed Feb 09, 2005 10:50 pm

Post by srai »

eostic wrote:Not sure I understand your question. For a simple Web Service (like this one at xmethods http://webservices.daehosting.com/servi ... s.wso?WSDL ) you shouldn't ever "see" the xml that is produced on your behalf to build the SOAP envelope, or to decipher (de-serialize is the term that SOAP folks use) the one that is returned. You simply have normal columns on the input and output links of your WSTransformer.

...there most certainly ARE web services that either require XML as input to the payload (where XML is actually what is being sent to the other application), or where you have to manually build the SOAP Envelope (which is also xml) because of some complexity in the service that requires it (such as Headers).

...but a normal, simple WS should require no XML work on your part.

Ernie
Hi Ernie,

I am trying to use the WSDL provided by you.

Job designe is something like this-

Sequential File_Input->Transformer->WStransformer-Transformer->Sequential File_Output

But I am getting connection timeout error
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

That just may mean that the provider isn't up and running....

...more important is clarifying what you meant by the xml up above...is that all clear now?

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
srai
Participant
Posts: 101
Joined: Wed Feb 09, 2005 10:50 pm

Post by srai »

eostic wrote:That just may mean that the provider isn't up and running....

...more important is clarifying what you meant by the xml up above...is that all clear now?

Ernie
Hi Ernie,

That part is very much clear to me now.
The only doubt that since past 1 month am trying to invoke as web service via datastage8.0 and till now I did not get any success.
Hopefuly, I could implement using web service provided by you.

Thanks a lot...I would keep posing untill I get any success in that
Post Reply