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 "Sanka Samaranayake (JIRA)" <ji...@apache.org> on 2007/03/26 07:49:32 UTC
[jira] Resolved: (AXIS2-1736) Following
ServiceClient.setPolicy(Policy) and Stub.setPolicy(Policy) methods are
required to set Policies at the client-side
[ https://issues.apache.org/jira/browse/AXIS2-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanka Samaranayake resolved AXIS2-1736.
---------------------------------------
Resolution: Fixed
Eventhough it is desirable to have those methods in the ServiceClient and the Stub, the user can do same by the following these steps.
AxisService service = serviceClient.getAxisService();
service.setPolicy(Policy);
AxisOperation operation = service.getOperation(QName);
operation.setPolicy(Policy);
......
Therefore it is preferable to keep the ServiceClient and the Stub APIs clean and not to introduce those additional methods.
> Following ServiceClient.setPolicy(Policy) and Stub.setPolicy(Policy) methods are required to set Policies at the client-side
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-1736
> URL: https://issues.apache.org/jira/browse/AXIS2-1736
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Environment: Linux version 2.6.17-gentoo (root@highlander) (gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)) #1 SMP PREEMPT Thu Jul 6 05:04:46 UTC 2006
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)
> Reporter: Sanka Samaranayake
> Assigned To: Sanka Samaranayake
> Priority: Minor
>
> Following methods are required to set policies at the client-side:
> ServiceClient.setPolicy(Policy)
> Stub.setPolicy(Policy)
--
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