axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanka Samaranayake (JIRA)" <j...@apache.org>
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
     [ http://issues.apache.org/jira/browse/AXIS2-1672?page=all ]

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: http://issues.apache.org/jira/browse/AXIS2-1672
>             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 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
>         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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message