Web Sevices Client using Webmethod GetListItems

Dedicated to DataStage and DataStage TX editions featuring IBM<sup>®</sup> Service-Oriented Architectures.

Moderators: chulett, rschirm

Post Reply
ecclesr
Premium Member
Premium Member
Posts: 260
Joined: Sat Apr 05, 2003 7:12 pm
Location: Australia

Web Sevices Client using Webmethod GetListItems

Post by ecclesr »

Hello

I am new to web services

I have managed to get a test web service job running against with a non query based Web method

My challenge now is do one with a Query in this case GetListItems

I get a run time error

wsclient.xml.DerivationParser$NameExpectedException: Rule [1] "/ns1:GetListItems/ns1:query/*", invalid token; element or attribute name expected.


I am unsure of the value I should enter into the Values field for the query mapping field

/ns1:GetListItems/ns1:query/*

I am also unsure what to enter in the following mapping fields
/ns1:GetListItems/ns1:viewFields/*
/ns1:GetListItems/ns1:queryOptions/*

My soap enevlope is

<listName>string</listName>
<viewName>string</viewName>
<query>string</query>
<viewFields>string</viewFields>
<rowLimit>string</rowLimit>


Has anyone work with web method GetListItems and DataStage web services client

Are you able to provide an example of input argument values for this web method


Thanking you in advance
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Moved to the SOA forum.
-craig

"You can never have too many knives" -- Logan Nine Fingers
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

best suggestion is to test the service using a tool like Actional SOAP Tester or SOAPUI or many other available test tools on the internet....

...then...look at what the SOAP body wants, as most of those tools will let you look at the body before it is sent. Then you know what must be in the payload as it is sent from DataStage....

...then, you can either debug it directly based on the values you are sending, or else look at the various techniques for crafting your own soap message (many other threads on that in here and places such as my blog below)...or get deeper into it and let us know if you have specific questions.

Ernie
Ernie Ostic

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