I want to seperate the generated class from my own
classes, so I would have com.mycom.MyService as the
interface and being referenced by the MessageReceiver
class and MyServiceImpl implementing MyService as the
serviceClass. A MyServiceSkeletonInterface in my
repository doesn't follow my naming convention.

John

--- Martin Gainty <[EMAIL PROTECTED]> wrote:

> Chen-
> 
> Inside codegen-config.properties you will see
>
java.skeleton.interface.template=org.apache.axis2.wsdl.codegen.writer.SkeletonInterfaceWriter,/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl
> 
> so the code for
>
org.apache.axis2.wsdl.codegen.writer.SkeletonInterfaceWriter
> would have to reflect your change
> I guess I dont understand why you need to change the
> name??
> 
> M-
>
*********************************************************************
> This email message and any files transmitted with it
> contain confidential
> information intended only for the person(s) to whom
> this email message is
> addressed.  If you have received this email message
> in error, please notify
> the sender immediately by telephone or email and
> destroy the original
> message without making a copy.  Thank you.
> 
> 
> 
> ----- Original Message ----- 
> From: "Z Chen" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, August 16, 2006 1:09 PM
> Subject: Re: Axis2 not replacing service class
> 
> 
> >I have tried -ssi flag and the receiver class
> > references the interface class not the skeleton
> class
> > directly anymore. I am tring to make the interface
> > class as common as possible, such as
> > Axis2SampleDocLitService, not in Axis2 it
> generates
> > Axis2SampleDocLitServiceSkeletonInterface.java,
> which
> > looks too specific.
> > 
> > Anybody knows a way to change the interface class
> name
> > ?
> > 
> > Thanks
> > 
> > John
> > 
> > --- robert lazarski <[EMAIL PROTECTED]>
> wrote:
> > 
> >> 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]
> 
=== message truncated ===


__________________________________________________
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