axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanka Samaranayake (JIRA)" <>
Subject [jira] Updated: (AXIS2-1672) Codegen stubs from a Policy annotated WSDL throws an Exception during method invocation
Date Fri, 10 Nov 2006 17:22:37 GMT
     [ ]

Sanka Samaranayake updated AXIS2-1672:

    Attachment: AxisDescription.patch

I propose the above patch which prevents the call of applyPolicy() only on messages. 

This is obviously a hack which needs to be fixed in future releases. I think this is acceptable
since the implementation of message.engageModule(..) is a considerable amount of work and
we certainly don't want to delay the release of Axis2 1.1. anymore.

> Codegen stubs from a Policy annotated WSDL throws an Exception during method invocation
> ---------------------------------------------------------------------------------------
>                 Key: AXIS2-1672
>                 URL:
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen, modules
>         Environment: Linux version 2.6.17-gentoo (root@highlander) (gcc version 3.3.5-20050130
(Gentoo, ssp-, pie- #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
>         Attachments: AxisDescription.patch
> This Exception thrown because the stub tries to engages the appropriate modules to the
AxisMessages based on their effective policies.
> Stub calls the service.applyPolicy() which calls applyPolicy() on its children recursively.
At end of the recursion message.applyPolicy() is called and that causes the error due to the
invocation of message.engageModule(..) inside that method.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message