axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TAM Tenfold5 (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2-5202) Response MessageContext not accessible outside web-service stub generated using Axis2 Code generator for ADB or XMLBeans data binding
Date Mon, 28 Nov 2011 08:22:39 GMT

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

TAM Tenfold5 updated AXIS2-5202:
--------------------------------

    Description: 
The response SOAP message cannot be accessed outside the Stub class (extension of org.apache.axis2.client.Stub)
generated by Axis2 Code generator for ADB or XMLBeans data binding (WSDL2Java). The below
line of code gives an error:
serviceClient.getLastOperationContext().getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);

I am currently using a work-around. Adding the below line in the Stub after response message
is received helps me rebuild the response object and make it accessible outside the Stub class:
_returnEnv.build();

Probably this fix should be added in the API itself.

I have seen this issue in the STubs generated for ADB and XMLBeans data binding.

Regards,
TAM Tenfold5, GDev.



  was:
The response SOAP message cannot be accessed outside the Stub class (extension of org.apache.axis2.client.Stub)
generated by Axis2 Code generator for ADB or XMLBeans data binding (WSDL2Java). The below
line of code gives an error:
serviceClient.getLastOperationContext().getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);

I am currently using a work-around. Adding the below line in the Stub after response message
is received helps me rebuild the response object and make it accessible outside the Stub class:
_returnEnv.build();

Probably this fix should be added in the API itself.

Regards,
TAM Tenfold5, GDev.



    
> Response MessageContext not accessible outside web-service stub generated using Axis2
Code generator for ADB or XMLBeans data binding
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5202
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5202
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb, client-api, codegen, databinding
>    Affects Versions: 1.6.0
>         Environment: axis2 version is 1.6.0. 
>            Reporter: TAM Tenfold5
>
> The response SOAP message cannot be accessed outside the Stub class (extension of org.apache.axis2.client.Stub)
generated by Axis2 Code generator for ADB or XMLBeans data binding (WSDL2Java). The below
line of code gives an error:
> serviceClient.getLastOperationContext().getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
> I am currently using a work-around. Adding the below line in the Stub after response
message is received helps me rebuild the response object and make it accessible outside the
Stub class:
> _returnEnv.build();
> Probably this fix should be added in the API itself.
> I have seen this issue in the STubs generated for ADB and XMLBeans data binding.
> Regards,
> TAM Tenfold5, GDev.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message