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</parameter>
    <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: [email protected]
> 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]

Reply via email to