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 "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/12 19:46:46 UTC
[jira] Commented: (AXIS2-3362) wsdl2java for JAXB binding generates
uncompilable code
[ https://issues.apache.org/jira/browse/AXIS2-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577973#action_12577973 ]
Davanum Srinivas commented on AXIS2-3362:
-----------------------------------------
Looks like this is fixed already in latest svn.
> wsdl2java for JAXB binding generates uncompilable code
> ------------------------------------------------------
>
> Key: AXIS2-3362
> URL: https://issues.apache.org/jira/browse/AXIS2-3362
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.3, nightly
> Environment: JDK5, JAXB-RI 2
> Reporter: Martin Caslavsky
> Assignee: Amila Chinthaka Suriarachchi
> Attachments: test.wsdl
>
>
> For method with single primitive parameter (int, long,...) wsdl2java for JAXB binding generates uncompilable code in *MessageReceiverInOut.invokeBusinessLogic(MessageContext, MessageContext): "Cannot cast from Object to int":
> if ("NewOperation".equals(methodName)) {
> int newOperationResponse1 = 0;
> int wrappedParam = (int) fromOM(msgContext.getEnvelope()
> .getBody()
> .getFirstElement(),
> int.class,
> getEnvelopeNamespaces(msgContext.getEnvelope()));
> (ADB works OK)
--
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