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 "Jose Antonio (JIRA)" <ji...@apache.org> on 2007/04/16 16:47:15 UTC
[jira] Created: (AXIS2-2533) getLastOperationContext() returns null
getLastOperationContext() returns null
--------------------------------------
Key: AXIS2-2533
URL: https://issues.apache.org/jira/browse/AXIS2-2533
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.2
Environment: Ubuntu 6.10. Jdk 1.4.2
Reporter: Jose Antonio
I'm trying to access the returned SOAP headers in a generated Stub from Axis 1.2RC2. I do this by invoking an operation in the stub and then calling:
OperationContext opContext = stub._getServiceClient().getLastOperationContext();
But this returns null, so I can't go any further. I thought that method was designed for that, get Headers in a response message.
--
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
[jira] Resolved: (AXIS2-2533) getLastOperationContext() returns
null
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe resolved AXIS2-2533.
--------------------------------------
Resolution: Fixed
working in 1.2 release , but you need to do follwoing
serviceClient.setCachingOperationContext(true);
> getLastOperationContext() returns null
> --------------------------------------
>
> Key: AXIS2-2533
> URL: https://issues.apache.org/jira/browse/AXIS2-2533
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Ubuntu 6.10. Jdk 1.4.2
> Reporter: Jose Antonio
>
> I'm trying to access the returned SOAP headers in a generated Stub from Axis 1.2RC2. I do this by invoking an operation in the stub and then calling:
> OperationContext opContext = stub._getServiceClient().getLastOperationContext();
> But this returns null, so I can't go any further. I thought that method was designed for that, get Headers in a response message.
--
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