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 "Dong Liu (JIRA)" <ji...@apache.org> on 2006/01/17 03:43:19 UTC
[jira] Created: (AXIS2-394) Syntax error found in the Java code
generated by WSDL2Java
Syntax error found in the Java code generated by WSDL2Java
----------------------------------------------------------
Key: AXIS2-394
URL: http://issues.apache.org/jira/browse/AXIS2-394
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: wsdl
Versions: 0.94
Environment: java version "1.5.0_04"
Reporter: Dong Liu
There is a syntax error in MessageReceiver.java generated by WSDL2Java
To reproduce the error, run
java -cp %axis2classpath% org.apache.axis2.wsdl.WSDL2Java -uri Axis2SampleDocLit.wsdl -p test -a -ss -sd -d none -o ./
Axis2SampleDocLit.wsdl is the file released in \axis2-std-0.94-bin\samples\wsdl\ .
The toEnvelope() method in Axis2SampleDocLitPortTypeMessageReceiver.java is:
private org.apache.axis2.soap.SOAPEnvelope toEnvelope(org.apache.axis2.soap.SOAPFactory factory, org.apache.axis2.om.OMElement param){
org.apache.axis2.soap.SOAPEnvelope envelope = factory.getDefaultEnvelope();
envelope.getBody().addChild(param));
return envelope;
}
An unwanted ")" appears in the line "envelope.getBody().addChild(param));".
--
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
[jira] Resolved: (AXIS2-394) Syntax error found in the Java code
generated by WSDL2Java
Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-394?page=all ]
Ajith Harshana Ranabahu resolved AXIS2-394:
-------------------------------------------
Resolution: Fixed
Assign To: Ajith Harshana Ranabahu
The problem was in the databinding templates "none" section. Fixed and commited
> Syntax error found in the Java code generated by WSDL2Java
> ----------------------------------------------------------
>
> Key: AXIS2-394
> URL: http://issues.apache.org/jira/browse/AXIS2-394
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl
> Versions: 0.94
> Environment: java version "1.5.0_04"
> Reporter: Dong Liu
> Assignee: Ajith Harshana Ranabahu
> Attachments: Axis2SampleDocLitPortTypeMessageReceiver.java
>
> There is a syntax error in MessageReceiver.java generated by WSDL2Java
> To reproduce the error, run
> java -cp %axis2classpath% org.apache.axis2.wsdl.WSDL2Java -uri Axis2SampleDocLit.wsdl -p test -a -ss -sd -d none -o ./
> Axis2SampleDocLit.wsdl is the file released in \axis2-std-0.94-bin\samples\wsdl\ .
> The toEnvelope() method in Axis2SampleDocLitPortTypeMessageReceiver.java is:
> private org.apache.axis2.soap.SOAPEnvelope toEnvelope(org.apache.axis2.soap.SOAPFactory factory, org.apache.axis2.om.OMElement param){
> org.apache.axis2.soap.SOAPEnvelope envelope = factory.getDefaultEnvelope();
> envelope.getBody().addChild(param));
> return envelope;
> }
> An unwanted ")" appears in the line "envelope.getBody().addChild(param));".
--
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
[jira] Updated: (AXIS2-394) Syntax error found in the Java code
generated by WSDL2Java
Posted by "Dong Liu (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-394?page=all ]
Dong Liu updated AXIS2-394:
---------------------------
Attachment: Axis2SampleDocLitPortTypeMessageReceiver.java
> Syntax error found in the Java code generated by WSDL2Java
> ----------------------------------------------------------
>
> Key: AXIS2-394
> URL: http://issues.apache.org/jira/browse/AXIS2-394
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl
> Versions: 0.94
> Environment: java version "1.5.0_04"
> Reporter: Dong Liu
> Attachments: Axis2SampleDocLitPortTypeMessageReceiver.java
>
> There is a syntax error in MessageReceiver.java generated by WSDL2Java
> To reproduce the error, run
> java -cp %axis2classpath% org.apache.axis2.wsdl.WSDL2Java -uri Axis2SampleDocLit.wsdl -p test -a -ss -sd -d none -o ./
> Axis2SampleDocLit.wsdl is the file released in \axis2-std-0.94-bin\samples\wsdl\ .
> The toEnvelope() method in Axis2SampleDocLitPortTypeMessageReceiver.java is:
> private org.apache.axis2.soap.SOAPEnvelope toEnvelope(org.apache.axis2.soap.SOAPFactory factory, org.apache.axis2.om.OMElement param){
> org.apache.axis2.soap.SOAPEnvelope envelope = factory.getDefaultEnvelope();
> envelope.getBody().addChild(param));
> return envelope;
> }
> An unwanted ")" appears in the line "envelope.getBody().addChild(param));".
--
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