axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Garus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-3258) Extend Spring support to accept proxies
Date Fri, 29 Jun 2012 11:35:45 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403842#comment-13403842
] 

Konrad Garus commented on AXIS2-3258:
-------------------------------------

Sagara, thank you for the response.

I am configured like this:

<parameter name="ServiceObjectSupplier" locked="false">org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier</parameter>
<parameter name="SpringBeanName" locked="false">attachmentWebService</parameter>
<parameter name="ServiceClass" locked="false">my.webservice.IAttachmentWebService</parameter>

And at startup I get:

Jun 29, 2012 1:13:49 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /MyAttachment threw load() exception
java.lang.InstantiationException: my.webservice.IAttachmentWebService
	at java.lang.Class.newInstance0(Class.java:340)
	at java.lang.Class.newInstance(Class.java:308)
	at org.apache.axis2.engine.DependencyManager.initService(DependencyManager.java:130)
	at org.apache.axis2.context.ConfigurationContextFactory.initApplicationScopeServices(ConfigurationContextFactory.java:128)
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:99)
	at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584)
	at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
                
> Extend Spring support to accept proxies
> ---------------------------------------
>
>                 Key: AXIS2-3258
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3258
>             Project: Axis2
>          Issue Type: New Feature
>          Components: deployment, wsdl
>    Affects Versions: 1.3
>            Reporter: Oleg Efimov
>            Priority: Trivial
>             Fix For: 1.3
>
>
> ServiceBuilder presently requires service class's byte code to obtain method parameter
names. This won't work with proxies, thus making Spring support really feeble.
> I propose introducing additional service.xml parameter, namely ServiceInterface, to enumerate
service methods and parameter names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message