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 "Roberto (JIRA)" <ji...@apache.org> on 2007/04/18 10:42:18 UTC
[jira] Created: (AXIS2-2555) java2wsdl problems
java2wsdl problems
------------------
Key: AXIS2-2555
URL: https://issues.apache.org/jira/browse/AXIS2-2555
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: Tools
Affects Versions: 1.1.1
Environment: Windows XP; JAVA_HOME and AXIS2_HOME properly setted up
Reporter: Roberto
Priority: Blocker
Got this simple class
package ch.montefiore;
public class Stock {
public String getNome(){
String nome = "Roberto";
String frase = "Il mio nome";
return frase + " " + nome;
}
}
from command line in the folder where the Stock.class is I write java2wsdl -cn Stock -cp or java2wsdl -cn ch.montefiore.Stock -cp & I got this error:
An error occured while generating codenull
Any idea why?
Cheers
Roberto
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-2555) java2wsdl problems
Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489664 ]
Charitha Kankanamge commented on AXIS2-2555:
--------------------------------------------
Roberto,
The command you issued was wrong. I got the same error when the command is specified as java2wsdl -cn ch.montefiore.Stock -cp (Without giving the correct class path)
In the above command, the -cp (classpath) option does not have any value. It should include the correct class path. For example, if your class is located at Axis2_home/bin, java2wsdl command should be given as follows.
java2wsdl -cn ch.montefiore.Stock -cp . (Note that the . at the end-- It says that the class is located at the current directory where java2wsdl is issued)
So this is not a bug.
regards
Charitha
> java2wsdl problems
> ------------------
>
> Key: AXIS2-2555
> URL: https://issues.apache.org/jira/browse/AXIS2-2555
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.1.1
> Environment: Windows XP; JAVA_HOME and AXIS2_HOME properly setted up
> Reporter: Roberto
> Priority: Blocker
>
> Got this simple class
> package ch.montefiore;
> public class Stock {
> public String getNome(){
> String nome = "Roberto";
> String frase = "Il mio nome";
> return frase + " " + nome;
> }
> }
> from command line in the folder where the Stock.class is I write java2wsdl -cn Stock -cp or java2wsdl -cn ch.montefiore.Stock -cp & I got this error:
> An error occured while generating codenull
> Any idea why?
> Cheers
> Roberto
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-2555) java2wsdl problems
Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lahiru Sandakith resolved AXIS2-2555.
-------------------------------------
Resolution: Invalid
-cp is not given so mark as invalid
> java2wsdl problems
> ------------------
>
> Key: AXIS2-2555
> URL: https://issues.apache.org/jira/browse/AXIS2-2555
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.1.1
> Environment: Windows XP; JAVA_HOME and AXIS2_HOME properly setted up
> Reporter: Roberto
> Priority: Blocker
>
> Got this simple class
> package ch.montefiore;
> public class Stock {
> public String getNome(){
> String nome = "Roberto";
> String frase = "Il mio nome";
> return frase + " " + nome;
> }
> }
> from command line in the folder where the Stock.class is I write java2wsdl -cn Stock -cp or java2wsdl -cn ch.montefiore.Stock -cp & I got this error:
> An error occured while generating codenull
> Any idea why?
> Cheers
> Roberto
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org