[
https://issues.apache.org/jira/browse/AXIS2-2144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kamal Kang updated AXIS2-2144:
------------------------------
after I manually fixed the localname error, I get the following when I run the
client. I am using JAXBRI binding.
org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException:
Unexpected character ' ' (code 32) in content after '<' (malformed start
element?).
at [row,col {unknown-source}]: [1,132]
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
at
tellabs.mtosi.DiscoveryServiceStub.getAllCapabilities(DiscoveryServiceStub.java:168)
at
tellabs.mtosi.DiscoveryServiceStub.main(DiscoveryServiceStub.java:646)
BUILD SUCCESSFUL (total time: 2 seconds)
Also, if I use 'xmlbeans', wsdl2java fails with fileNotFoundErrors. Its not
able to resolve the directories correctly.
> 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
> Assigned To: Amila Chinthaka Suriarachchi
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]