You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "faith (JIRA)" <ji...@apache.org> on 2006/11/02 18:19:18 UTC
[jira] Created: (AXIS2-1588) Using Java2WSDL
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.Java2WSDL taken 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
Re: [jira] Created: (AXIS2-1588) Using Java2WSDL
Posted by Venkata Krishnan <fo...@gmail.com>.
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) <ji...@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
>
>
[jira] Resolved: (AXIS2-1588) Using Java2WSDL
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1588?page=all ]
Davanum Srinivas resolved AXIS2-1588.
-------------------------------------
Resolution: Won't Fix
Nothing to fix..
thanks,
dims
> 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: Federica Ciotti
>
> I'm using Axis2 1.0. I have the jar org.apache.ws.java2WSDL.Java2WSDL taken 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
[jira] Commented: (AXIS2-1588) Using Java2WSDL
Posted by "faith (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1588?page=comments#action_12446910 ]
faith commented on AXIS2-1588:
------------------------------
I was using old options as suggestied by Venkata at http://comments.gmane.org/gmane.text.xml.axis.devel/43441
THe right way the use the Java2WSDL is:
java org.apache.ws.java2wsdl.Java2WSDL -of S_HandleCustomer1.wsdl -l "http://localhost:8080/axis2/services" -cn it.cnr.isti.WS.supplier.S_HandleCustomer1
thanks
faith
> 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.Java2WSDL taken 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
[jira] Commented: (AXIS2-1588) Using Java2WSDL
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1588?page=comments#action_12446819 ]
Deepal Jayasinghe commented on AXIS2-1588:
------------------------------------------
Can you please try with 1.1 RC2 as I know we have fixed the issue
> 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.Java2WSDL taken 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