axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Ng" <>
Subject RE: setting 'holders' or 'sequence'
Date Wed, 31 May 2006 05:43:13 GMT
Hi Anne,
Thanks for the reply. But I am quite a newbie in axis programming. Can u
point out to me what are the advanced samples? I look thru quite a bit
but did not see anything that I can re-use.
-----Original Message-----
From: Anne Thomas Manes [] 
Sent: Monday, May 29, 2006 9:46 PM
Subject: Re: setting 'holders' or 'sequence'
In Java you must define "symbol" as a bean, and in XML schema, you must
define "symbol" as a complex type. Likewise, you can define the return
value to by a bean or an array.

Take a look at a few of the more advanced samples. 

On 5/29/06, Jeffrey Ng <> wrote:
I am using the Axis source codes -> samples\stock codes from Axis setup
as a base to start my coding. 
There are the following codes in the program: 
call.setTargetEndpointAddress( url ); 
call.setOperationName( new QName("urn:xmltoday-delayed-quotes",
"getQuote") ); 
call.addParameter( "symbol", XMLType.XSD_STRING, ParameterMode.IN ); 
call.setReturnType( XMLType.XSD_FLOAT );  

In this case, <symbol>XXX</symbol> will be sent to the remote web
I have 2 questions here. 
1) How do i add params such that the symbols have children/sequence? 
    i.e. I want to sent symbol as 
2) How do i set the return values to more than 1 value? i might need to
get a couple of response values from the remote side rather than 1 float
Are there any examples on the net that i can refer to?
thanks in advance.
best regards,

View raw message