[ https://issues.apache.org/jira/browse/GERONIMO-4450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved GERONIMO-4450. ----------------------------------- Resolution: Fixed Fix Version/s: 2.2 2.1.4 Committed fixes (similar to the patch) to trunk (revision 723762) and branches/2.1 (revision 723773). Thanks Ivan for finding this! > EJB based Provider implementation should allow other interfaces in addtion to > javax.xml.ws.Provider > --------------------------------------------------------------------------------------------------- > > Key: GERONIMO-4450 > URL: https://issues.apache.org/jira/browse/GERONIMO-4450 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: webservices > Affects Versions: 2.2 > Environment: Windows XP > JDK 1.5.0 > Reporter: Ivan > Assignee: Jarek Gawor > Fix For: 2.1.4, 2.2 > > Attachments: Geronimo-4450.patch > > > While a javax.xml.ws.Provider implementation is also an EJB session bean, it > should allow other business interfaces in addition to the Provider. > Current implmentation, an exception will be thrown > javax.xml.ws.WebServiceException: Provider based SEI Class has to implement > javax.xml.ws.Provider as javax.xml.ws.Provider<String>, > javax.xml.ws.Provider<SOAPMessage>, javax.xml.ws.Provider<Source> or > javax.xml.ws.Provider<JAXBContext> > at > org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173) > at > org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70) > at > org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118) > at > org.apache.geronimo.axis2.ejb.EJBMessageReceiver.getProviderType(EJBMessageReceiver.java:186) > at > org.apache.geronimo.axis2.ejb.EJBMessageReceiver.getProviderMethod(EJBMessageReceiver.java:171) > at > org.apache.geronimo.axis2.ejb.EJBMessageReceiver.receive(EJBMessageReceiver.java:73) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:170) > at > org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:135) > at > org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:84) > at > org.apache.geronimo.axis2.Axis2WebServiceContainer.processXMLRequest(Axis2WebServiceContainer.java:444) > at > org.apache.geronimo.axis2.Axis2WebServiceContainer.processPOSTRequest(Axis2WebServiceContainer.java:386) > at > org.apache.geronimo.axis2.Axis2WebServiceContainer.doService2(Axis2WebServiceContainer.java:308) > at > org.apache.geronimo.axis2.Axis2WebServiceContainer.doService(Axis2WebServiceContainer.java:243) > at > org.apache.geronimo.axis2.Axis2WebServiceContainer.invoke(Axis2WebServiceContainer.java:201) > at > org.apache.geronimo.tomcat.TomcatEJBWebServiceContext$EJBWebServiceValve.invoke(TomcatEJBWebServiceContext.java:180) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > at java.lang.Thread.run(Thread.java:810) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.