axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charak, Vikas" <vikas.cha...@cns-inc.com>
Subject RE: [Axis2] Reading POJOs at client side
Date Fri, 18 Aug 2006 19:38:47 GMT
I got my answer. Thanks a lot.

-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com] 
Sent: Friday, August 18, 2006 3:35 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Reading POJOs at client side

OM has lots of performance advantages among many others so go with
that if in doubt.

HTH,
Robert
http://www.braziloutsource.com

On 8/18/06, Charak, Vikas <vikas.charak@cns-inc.com> wrote:
> I guess, I am still trying to find out for interoperability reasons or
> what is recommended way .If I should be using OMElement as input and
> output for my methods [raw xml format] or should it be more structured
> like using POJO etc.?
> The one issue I see with RawXml is generating XML using OMElement's
> API's where as I can easily create POJOs from my data.
> Any recommendations.
>
>
> -----Original Message-----
> From: robert lazarski [mailto:robertlazarski@gmail.com]
> Sent: Friday, August 18, 2006 2:51 PM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] Reading POJOs at client side
>
> AFAIK RPCMessageReceiver just follows the old jax-rpc JSR much in the
> way axis 1.x does , and the integration tests reflect that.  So if you
> find a problem file a jira but I do expect that you can use these
> examples between languages.
>
> HTH,
> Robert
> http://www.braziloutsource.com/
>
> On 8/18/06, Charak, Vikas <vikas.charak@cns-inc.com> wrote:
> > I might be wrong. This will work if client is a Java Client. What
> > happens if the client is non-java, then is this way recommended or
> > should I be using OMElement as input and output for my method. [Data
> > goes in and out only in raw xml format]
> >
> > Any suggestions?
> >
> >
> >
> > -----Original Message-----
> > From: robert lazarski [mailto:robertlazarski@gmail.com]
> > Sent: Friday, August 18, 2006 1:16 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: [Axis2] Reading POJOs at client side
> >
> > In the latest source there is some integration tests:
> >
> > modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java
> >
> > That has some array examples and should get you started.
> >
> > HTH,
> > Robert
> > http://www.braziloutsource.com/
> >
> > On 8/18/06, Charak, Vikas <vikas.charak@cns-inc.com> wrote:
> > > Using RPCMessageReceiver I was able pass person POJO to my client
> from
> > a
> > > web service
> > >
> > >         public User[] getUsers() {
> > >                 return User array;
> > >         }
> > >
> > > Now I have ,
> > >
> > > public void addUsers(User[]) {
> > > }
> > >
> > > Any idea on writing a java client to send user arrays to addUsers
> > method
> > > of the same web service. User is a plain java class with getters
and
> > > setters.
> > >
> > > Any help is appreciated.
> > >
> > >
> > > Thanks.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message