axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Liu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-394) Syntax error found in the Java code generated by WSDL2Java
Date Tue, 17 Jan 2006 02:48:20 GMT
     [ 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


Mime
View raw message