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 "Gayan Asanka (JIRA)" <ji...@apache.org> on 2005/09/23 08:10:28 UTC

[jira] Created: (AXIS2-238) Generated Code Cannot be compiled

Generated Code Cannot be compiled
---------------------------------

         Key: AXIS2-238
         URL: http://issues.apache.org/jira/browse/AXIS2-238
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: wsdl  
 Environment: Win xp
    Reporter: Gayan Asanka


Generated code using following wsdls, cannot be compiled.

http://soapinterop.java.sun.com/round3/groupd/doclit?WSDL
http://mssoapinterop.org/stkv3/wsdl/interopTestDocLit.wsdl
http://www.whitemesa.net/wsdl/r3/interoptestdoclit.wsdl

Error is at *echoVoidDatabindingSupporter.java

 public  static org.apache.axis2.om.OMElement  toOM(org.apache.axis2.om.OMElement param){
        org.apache.axis2.om.impl.llom.builder.StAXOMBuilder builder = new org.apache.axis2.om.impl.llom.builder.StAXOMBuilder
        (org.apache.axis2.om.OMAbstractFactory.getOMFactory(),new org.apache.axis2.clientapi.StreamWrapper(param.newXMLStreamReader())) ;
        org.apache.axis2.om.OMElement documentElement = builder.getDocumentElement();
        ///////Building the element is needed to avoid certain stream errors!
        documentElement.build();
        //////////////////////////////
        
        return documentElement;
        }

cannot resolve symbol method newXMLStreamReader();

Gayan Asanka



-- 
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-238) Generated Code Cannot be compiled

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-238?page=all ]
     
Davanum Srinivas resolved AXIS2-238:
------------------------------------

    Resolution: Fixed

Has been fixed in latest SVN.

> Generated Code Cannot be compiled
> ---------------------------------
>
>          Key: AXIS2-238
>          URL: http://issues.apache.org/jira/browse/AXIS2-238
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>  Environment: Win xp
>     Reporter: Gayan Asanka

>
> Generated code using following wsdls, cannot be compiled.
> http://soapinterop.java.sun.com/round3/groupd/doclit?WSDL
> http://mssoapinterop.org/stkv3/wsdl/interopTestDocLit.wsdl
> http://www.whitemesa.net/wsdl/r3/interoptestdoclit.wsdl
> Error is at *echoVoidDatabindingSupporter.java
>  public  static org.apache.axis2.om.OMElement  toOM(org.apache.axis2.om.OMElement param){
>         org.apache.axis2.om.impl.llom.builder.StAXOMBuilder builder = new org.apache.axis2.om.impl.llom.builder.StAXOMBuilder
>         (org.apache.axis2.om.OMAbstractFactory.getOMFactory(),new org.apache.axis2.clientapi.StreamWrapper(param.newXMLStreamReader())) ;
>         org.apache.axis2.om.OMElement documentElement = builder.getDocumentElement();
>         ///////Building the element is needed to avoid certain stream errors!
>         documentElement.build();
>         //////////////////////////////
>         
>         return documentElement;
>         }
> cannot resolve symbol method newXMLStreamReader();
> Gayan Asanka

-- 
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