Page 1 of 1

Web Sevices Client using Webmethod GetListItems

Posted: Thu Dec 22, 2011 5:22 pm
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

Posted: Thu Dec 29, 2011 7:05 pm
by chulett
Moved to the SOA forum.

Posted: Tue Jan 03, 2012 11:32 am
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