axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkata Krishnan" <for.svkr...@gmail.com>
Subject Re: [jira] Created: (AXIS2-1588) Using Java2WSDL
Date Fri, 03 Nov 2006 05:32:33 GMT
Hi,

I guess there are some problems with the way you are using the options.

The service class from which the wsdl is to be generated must be input with
the "-cn" option.  Also I see that you are using '-o' instead of '-of' for
providing the name of the wsdl file.

Try with this...

java org.apache.ws.java2wsdl .Java2WSDL -of S_HandleCustomer1.wsdl -l "
http://localhost:8080/axis2/services" -cn
it.cnr.isti.WS.supplier.S_HandleCustomer1

- Venkat


On 11/2/06, faith (JIRA) <jira@apache.org> wrote:
>
> Using Java2WSDL
> ---------------
>
>                  Key: AXIS2-1588
>                  URL: http://issues.apache.org/jira/browse/AXIS2-1588
>              Project: Apache Axis 2.0 (Axis2)
>           Issue Type: Bug
>           Components: wsdl
>     Affects Versions: 1.0
>          Environment: Linux Fedora 5, Tomcat 5.5.20
>             Reporter: faith
>
>
> I'm using Axis2 1.0. I have the jar org.apache.ws.java2WSDL.Java2WSDLtaken from
> http://www.ibiblio.org/maven2/axis2/axis2-java2wsdl/1.0/
>
> I'm trying to generate my WSDL from a java class but the error displayed
> when I execute it from the shell is always:
> "An error occured while generating codeclass name must be present!".
>
> The code is:
>
> java org.apache.ws.java2wsdl.Java2WSDL -o S_HandleCustomer1.wsdl -l "
> http://localhost:8080/axis2/services"
> it.cnr.isti.WS.supplier.S_HandleCustomer1
>
> I tryed with ant but the execution blocks while processing the task
> containg the call.
>
> Thanks in advance
>
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

Mime
View raw message