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 "Michael B (JIRA)" <ji...@apache.org> on 2008/03/27 13:33:27 UTC

[jira] Created: (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)

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


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


[jira] Commented: (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)

Posted by "Michael B (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582627#action_12582627 ] 

Michael B commented on AXIS2-3667:
----------------------------------

Forgot to say: there is "axis.home" property in the build.xml in the project. You need to change it's value to point to your Axis2 installation before running the build.

> 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


[jira] Assigned: (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)

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi reassigned AXIS2-3667:
---------------------------------------------------

    Assignee: Dennis Sosnoski

This works with adb seems to be a problem with jibx

> 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
>            Assignee: Dennis Sosnoski
>         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


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

Posted by "Michael B (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: axis2bug.zip

Sorry, here is ZIP version of the archive.

> 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


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

Posted by "Michael B (JIRA)" <ji...@apache.org>.
     [ 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