[
https://issues.apache.org/jira/browse/GERONIMO-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lin Sun updated GERONIMO-2876:
------------------------------
Attachment: G2876-2.patch
This updated patch contains the following:
- more formatting of axisservicegenerator file. Add 2 methods in this file to
generate wsdlDefinition when the wsdlFile is present in portinfo. This is
needed to get rid of axis2.PortInfo class as it creates inconvenience in the
initial EJB support.
- Updated the Axis2Builder, Axix2WebServiceContainer,
Axix2WebServiceContainerFactoryGbean, Axix2WebServiceContainerTest to reflect
the change that axis2.PortInfo is gone.
- Added various config files for the intial support of EJB and the
EJBWebServiceGBean.
I marked a todo there to forward the calls to openejb container.
Able to build the patch with latest trunk today and tested with jaxws-ejb test
case (1 out of 3 pass) and jaxws-war test case. (2 out of 3 pass).
Lin
> Initial web service EJB support for Axis2
> -----------------------------------------
>
> Key: GERONIMO-2876
> URL: https://issues.apache.org/jira/browse/GERONIMO-2876
> Project: Geronimo
> Issue Type: New Feature
> Security Level: public(Regular issues)
> Environment: winxp + sun 1.5
> Reporter: Lin Sun
> Attachments: G2876-2.patch, G2876.patch
>
>
> This work-in-progress patch tried to port the initial web service ejb support
> from CXF to Axis2 (G2850) and here are a few details:
> 1) I had a hard time with classexception while working through the two
> portinfo classes (org.apache.geronimo.jaxws.PortInfo and
> org.apache.geronimo.axis2.PortInfo) thus I am proposing to get rid of
> org.apache.geronimo.axis2.PortInfo for simplicities.
> 2) I decided to keep the old Axis structure instead of the new CXF structure
> for EJB support, as I envision that all the requests will be handled in one
> Axis2WebServiceContainer.
> Able to do a full build with the patch. Tested the patch with jax-ws-ejb
> test. For CXF, 2 out of 3 pass (same as before the patch). For Axis2, was
> able to see the ejb module loaded and started. However, get the jaxb error:
> 22:51:09,906 INFO [JAXBUtils] Both ObjectFactory & package-info not found in
> pa
> ckage hierachy
> 22:51:10,296 ERROR [Axis2WebServiceContainer] Exception occurred while trying
> to
> invoke service method doService()
> org.apache.axis2.AxisFault: javax.xml.bind.UnmarshalException
> - with linked exception:
> [javax.xml.bind.UnmarshalException: unexpected element
> (uri:"http://apache.org/g
> reeter_control/types", local:"greetMe"). Expected elements are (none)];
> nested e
> xception is:
> javax.xml.ws.WebServiceException: javax.xml.bind.UnmarshalException
> - with linked exception:
> [javax.xml.bind.UnmarshalException: unexpected element
> (uri:"http://apache.org/g
> reeter_control/types", local:"greetMe"). Expected elements are (none)]
> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:367)
> at
> org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessa
> geReceiver.java:147)
> Will attempt to fix this tomorrow by supplying the generated ObjectFactory &
> package-info classes for jax-ws-ejb test.
> Please let me know any comments you might have.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.