On Nov 9, 2007 5:33 PM, ROBINSON JULIEN
<[EMAIL PROTECTED]> wrote:
>
> > > * Results from the "diff" version:
> > > - port and binding have different names
> > > - The generated code doesn't compile. I don't know why. I'd
> > say it is a distinct problem. Any idea to make it compile?
> > > - There are two stubs:
> > >         * BuzzerSoapBindingStub, which may be used by a
> > client to invoke the service
> > >         * BuzzerSoapStub, which is the interface of the service
> >
> > Can you generate the code with wsdl2java tool and see.
> > here with I have attached the code generated for diff using these
> > options
> > -uri buzzer_diff.wsdl -ss -sd -u -g -ssi -uw
> >
> > can you check with your generated code?
>
> I've compared, what you sent is nothing like my generated code.
>
> Can you tell me how you generate code? What class do you use?
>
> For the moment, I was doing this way:
> java2wsdl: org.apache.ws.java2wsdl.Java2WSDL
> wsdl2java: org.apache.axis2.tool.ant.AntCodegenTask

Are you using axis1.x or axis2? I have used axis2.

try to do this,
dowonload an axis2-SNAPSHOT
then extract it and set the AXIS2_HOME correctly
then use the wsdl2java tool with the above options.

thanks,
Amila.
>
> Note that I generally prefer Ant tasks whenever possible. For Java2wsdl
> I use the class because the Ant task
> org.apache.ws.java2wsdl.Java2WSDLTask does not work.
>
>
> Julien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Amila Suriarachchi,
WSO2 Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to