Hi, Pradeepta About RPCMessageReceiver, it is generic message receiver and if you have service class and request & response bean class, RPCMessageReceiver generates WSDL automatically and SOAP selialize/deselialize will be done. And, Yes, RPCMessageReceiver at the server side, receiving SOAP request and send SOAP response.
You have your own service class and beans, so I thought using RPCMessageReceiver is easy for you. Regards, kinichiro --- Pradeepta Bhattacharya <[EMAIL PROTECTED]> wrote: > I was following the same mechanism previously but was getting an > error when the response was being returned to the client. As > AirAvailabilityRequest object which is sent as a request parameter > contains > other objects which in turn has many objects and so on, I was getting > this > error frequently. So I shifted to this mechanism and it worked. > > And also by using the RPCReceiver mechanism the services were not > being able to be invoked by the .Net client. > > Could you please guide whether using the RPCReceiver mechanism what > would act as my skeleton class. Would it be at the server? Thanks a > lot. > > Pradeepta > > > > -----Original Message----- > From: Kinichiro Inoguchi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 12, 2006 9:50 PM > To: axis-user@ws.apache.org > Subject: RE: Urgent :Kindly verify whether the procedure is right or > not > > Hi, > > How about using RPCMessageReceiver instead of using skelton ? > > 1. Create class ShoppingEngine like this, > > public class ShoppingEngine { > public AirAvailabilityResponse airAvailability( > AirAvailabilityRequest request) { > AirAvailabilityResponse resp = null; > ... > return resp; > } > } > > 2. your serivces.xml like this > > <service name="ShoppingService"> > <description>Shopping Service.</description> > <parameter name="ServiceClass" > locked="false">com.bsil.project.airtrade.shoppingengine.ShoppingEngine</para > meter> > <operation name="airAvailability"> > <messageReceiver > class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> > </operation> > </service> > > 3. pack your service to ShoppingEngine.aar and deploy it. > > I could see the service WSDL of this with latest nightly build war. > > Maybe, latest nightly builds are better because many bug fixes are > made. > > Regards, > kinichiro > > --- Pradeepta Bhattacharya <[EMAIL PROTECTED]> wrote: > > > > > Thanks for your reply. Find attached the beans and the service > > interface and > > skeleton. > > > > Pradeepta > > > > > > > > > > -----Original Message----- > > From: Kinichiro Inoguchi [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, July 12, 2006 8:43 PM > > To: axis-user@ws.apache.org > > Subject: Re: Urgent :Kindly verify whether the procedure is right > or > > not > > > > Hi > > > > Could you post your Beans and service java code ? > > > > I think your process is right if you want to use > > generated server skelton. > > > > BTW, are you using Axis2 release 1.0 ? > > > > Regards, > > kinichiro > > > > --- Pradeepta Bhattacharya <[EMAIL PROTECTED]> wrote: > > > > > Hello All, > > > > > > > > > > > > Kindly verify whether the procedure opted is right or > > > not. I > > > have an urgent delivery and need to get this clarified as soon as > > > possible. > > > I need to send a hierarchic object to a service as a parameter > and > > > get a > > > hierarchic object as a response. The steps taken by me is:- > > > > > > 1) Define the Beans and the service interface > > > > > > 2) Generate the WSDL using java2wsdl > > > > > > 3) Generate the stubs and skeletons using the wsdl to java > > > > > > 4) Put the business logic in the skeleton classes to perform > > the > > > required business operations > > > > > > 5) Deploy it in the server > > > > > > 6) Get the server WSDL generated and prepare the stubs to > > invoke > > > the > > > service. > > > > > > > > > > > > The procedure works fine as earlier the problem faced was that > the > > > hierarchic object as request/response was not able to be > > > serialized/deserialized into SOAP stream. Could you please let me > > > know if > > > this is the right procedure or there are some other mechanism > that > > we > > > are > > > suppose to use. Thanks a lot > > > > > > > > > > > > Pradeepta > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]