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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/07/04 11:42:04 UTC

[jira] Updated: (AXIS2-2144) Code generated by wsdl2java doesnot compile

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

Amila Chinthaka Suriarachchi updated AXIS2-2144:
------------------------------------------------

    Priority: Critical  (was: Blocker)

I checked this issue and it seems that the type map returned from the xmlbeans does no have this Qname. (this should be there to generate the code).
Dwongrade the issue since this seems to be an xmlbean problem.

> Code generated by wsdl2java doesnot compile
> -------------------------------------------
>
>                 Key: AXIS2-2144
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2144
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.1
>         Environment: Windows XP
>            Reporter: Kamal Kang
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>             Fix For: 1.3
>
>         Attachments: tmf854.zip
>
>
> The code generated by wsdl2java is giving following compilation errors. Wsdl files and XSDs are attached.
> compile.src:
>     [javac] Compiling 20 source files to D:\mtosi\build\classes
>     [javac] D:\mtosi\src\tellabs\mtosi\DiscoveryServiceMessageReceiverInOut.java
> :67: cannot find symbol
>     [javac] symbol  : method toOM(ws.v1.tmf854.ProcessingFailureExceptionT,boole
> an)
>     [javac] location: class tellabs.mtosi.DiscoveryServiceMessageReceiverInOut
>     [javac]             f.setDetail(toOM(e.getFaultMessage(),false));
>     [javac]                         ^
>     [javac] D:\mtosi\src\tellabs\mtosi\DiscoveryServiceStub.java:153: cannot fin
> d symbol
>     [javac] symbol  : method toOM(ws.v1.tmf854.HeaderT,boolean)
>     [javac] location: class tellabs.mtosi.DiscoveryServiceStub
>     [javac]                                         env.getHeader().addChild(toO
> M(param41, optimizeContent(new javax.xml.namespace.QName("", "getAllCapabilities
> "))));
>     [javac]                                                                  ^
>     [javac] D:\mtosi\src\tellabs\mtosi\DiscoveryServiceStub.java:269: cannot fin
> d symbol
>     [javac] symbol  : method toOM(ws.v1.tmf854.HeaderT,boolean)
>     [javac] location: class tellabs.mtosi.DiscoveryServiceStub
>     [javac]                                            env.getHeader().addChild(
> toOM(param41, optimizeContent(new javax.xml.namespace.QName("", "getAllCapabilit
> ies"))));
>     [javac]
> ^
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 3 errors
> BUILD FAILED
> D:\mtosi\build.xml:47: Compile failed; see the compiler error output for details
> You can reproduce by generating code for wsdl\services\DiscoveryService.wsdl

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