[
https://issues.apache.org/jira/browse/AXIS2-4538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771461#action_12771461
]
Sagara Gunathunga commented on AXIS2-4538:
-------------------------------------------
When you use CGLIB proxy object you have to provide a java interface for
"ServiceClass" parameter then you will not get these exceptions. please see the
following post [1] and try for that.
[1] - http://ssagara.blogspot.com/2008/08/axis2-with-spring-aop.html
> axis2 deployment failure for web services proxied by Spring
> -----------------------------------------------------------
>
> Key: AXIS2-4538
> URL: https://issues.apache.org/jira/browse/AXIS2-4538
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.4.1
> Environment: Windows XP SP2
> tomcat 5.5.25
> JDK 1.5.0_15
> Spring 2.5.3
> Reporter: Roberto
>
> This is a duplicate of bug AXIS2-3230 which was supposed to be fixed.
> I have a webservice which bean is provided by Spring.
> <service name="HabilitadosWeb" scope="application"
> targetNamespace="http://www.map.es/habilitados/">
> <description>Servicio Habilitados</description>
> <parameter
> name="ServiceObjectSupplier">org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier</parameter>
> <parameter name="SpringBeanName">habilitadosWebService</parameter>
> <parameter name="useOriginalwsdl">false</parameter>
> ....
>
> </service>
> It deploys correctly until I try to put an aspect around it. It happens both
> with Java standard proxies or CGLIB ones.
> Then, I get an error like this:
> The following error occurred during schema generation: Unable to load
> bytecode for class
> mypackage.WebServiceAccessController$$EnhancerByCGLIB$$80c0408d
> OR
> org.apache.axis2.deployment.DeploymentException: The following error occurred
> during schema generation: Unable to load bytecode for class $Proxy4
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.