axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael B (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-3667) Axis2 generated code not compiles: toOM(Object, boolean) invocation is generated and the only implementation is toOM(Object, org.apache.axiom.soap.SOAPFactory, boolean)
Date Thu, 27 Mar 2008 12:35:24 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael B updated AXIS2-3667:
-----------------------------

    Attachment: axis2bug.rar

The ant project demonstrating the compilation problem.

Here is example build log demonstrating the problem:


H:\axis2bug>ant
Buildfile: build.xml

clean:

prepare:
    [mkdir] Created dir: H:\axis2bug\generated
    [mkdir] Created dir: H:\axis2bug\classes

axis.codegen:
     [java] Retrieving schema at 'FileInfo.xsd', relative to 'file:/H:/axis2bug/resources/'.
     [java] Retrieving schema at 'FileInfoResponse.xsd', relative to 'file:/H:/axis2bug/resources/'.
     [java] Retrieving schema at 'MyHeader.xsd', relative to 'file:/H:/axis2bug/resources/'.
     [java] log4j:WARN No appenders could be found for logger (org.apache.axis2.description.AxisService).
     [java] log4j:WARN Please initialize the log4j system properly.



compile.main:
    [javac] Compiling 5 source files to H:\axis2bug\classes
    [javac] H:\axis2bug\generated\src\com\my\fts\transport\ws\FileInfoWServiceStub.java:193:
cannot find symbol
    [javac] symbol  : method toOM(com.my.MyHeader,boolean)
    [javac] location: class com.my.fts.transport.ws.FileInfoWServiceStub
    [javac]                 org.apache.axiom.om.OMElement omElementAutHeader = toOM(AutHeader,
    [javac]                                                                    ^
    [javac] 1 error

BUILD FAILED
H:\axis2bug\build.xml:24: Compile failed; see the compiler error output for details.

Total time: 5 seconds

> Axis2 generated code not compiles: toOM(Object, boolean) invocation is generated and
the only implementation is toOM(Object, org.apache.axiom.soap.SOAPFactory, boolean)
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3667
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3667
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.3
>            Reporter: Michael B
>         Attachments: axis2bug.rar, axis2bug.zip
>
>
> The codegenerator for some reason generates code with toOM(Object, boolean) invocation,
but the only implementation is toOM(Object, org.apache.axiom.soap.SOAPFactory, boolean)...
I've made very simple Ant project demonstrating this. The project is attached to the bug.
Just extract files, cd to the dir and run ant from command line.
> The "generated" dir in the archive contains java sources as they were generated for me
by Apache Axis2  v1.3 (i.e. with the compilation error). This directory is re-created before
each build.

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


Mime
View raw message