I believe inside the wsdl try changing 'definitions name="YourService"
'  or maybe eliminate the -ss flag which would eliminate the server
side code . I've never tried that so you'll have to experiment .
Here's the guide that explains the flags .

http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html

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

On 8/16/06, Z Chen <[EMAIL PROTECTED]> wrote:
I am using Jibx binding, so I have to use wsdl2java
tool to generate the receive class.

Even I use -p and -ssi, the receiver class still
reference the Skeleton class, how can I change that ?
May I change the class name of the service class ?
What will the wsdl2java command look like ?

Thanks

John

--- robert lazarski <[EMAIL PROTECTED]> wrote:

> Perhaps I'm missing something, but if you are using
> databinding that
> to me implies you want to use code that is
> autogenerated from your
> wsdl . If you already have a class, then why use
> databinding?  Perhaps
> what you are looking for is the -ssi flag which will
> produce an
> interface which you can code to. If that's the case,
> just implement
> the interface in your class, use the -p flag the
> generate the package
> you want and use definitions name="YourService" to
> match your class
> name. Just a suggestion .
>
> HTH,
> Robert
> http://www.braziloutsource.com/
>
> On 8/16/06, Z Chen <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am using WSDL2Java to generated all code and
> > services.xml from a wsdl file. Since I have a
> > implementation class for the web service already,
> I
> > thought I can simple replace the "ServiceClass".
> But
> > after I looked at the generated code, such as
> > Axis2SampleDocLitServiceMessageReceiverInOut.java,
> it
> > reference the Axis2SampleDocLitServiceSkeleton
> > directly, even the code looks up the service
> class.
> >
> > Does anybody know how I can get around this
> problem ?
> >
> > Thanks
> >
> > John
> >
> > __________________________________________________
> > 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]

Reply via email to