[ 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