axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-2144) Code generated by wsdl2java doesnot compile
Date Mon, 19 Nov 2007 13:42:43 GMT

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

Amila Chinthaka Suriarachchi resolved AXIS2-2144.
-------------------------------------------------

    Resolution: Fixed

can be generated the code using the -Ewdc option.
then can replace the generated code with the correct code generated with the scomp command
comes with the xmlbeans.

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


Mime
View raw message