Please ignore the previous mail. Error is just a stackrace. We might have to remove them later.
Thanks, Lasantha > Hi, > > I have been working with Geronimo Axis2 JAXWS integration sometime and > currently having a problem of class loading when I tried to invoke JAXWS > service in the Axis2. Following are the steps I have followed and current > error description. > > Create the Service => > AxisService service = AxisService.createService(endpointClassName, > configurationContext.getAxisConfiguration(), JAXWSMessageReceiver.class); > > Invoke the Service => > HTTPTransportUtils.processHTTPPostRequest( > msgContext, > request.getInputStream(), > response.getOutputStream(), > contenttype, > soapAction, > path); > > Error => > java.lang.ClassNotFoundException: > org.apache.hello_world_soap_http.types.package-info in classloader > JEE5/JAXWSServlet/1.1/car > at > org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:303) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:242) > at > org.apache.axis2.jaxws.message.databinding.JAXBUtils.checkPackage(JAXBUtils.java:399) > at > org.apache.axis2.jaxws.message.databinding.JAXBUtils.createJAXBContext(JAXBUtils.java:196) > at > org.apache.axis2.jaxws.message.databinding.JAXBUtils.getJAXBContext(JAXBUtils.java:110) > at > org.apache.axis2.jaxws.message.databinding.JAXBBlockContext.getJAXBContext(JAXBBlockContext.java:95) > at > org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl._getBOFromReader(JAXBBlockImpl.java:90) > at > org.apache.axis2.jaxws.message.impl.BlockImpl.getBusinessObject(BlockImpl.java:142) > at > org.apache.axis2.jaxws.message.impl.XMLSpineImpl._getBlockFromOMElement(XMLSpineImpl.java:390) > at > org.apache.axis2.jaxws.message.impl.XMLSpineImpl.getBodyBlock(XMLSpineImpl.java:266) > at > org.apache.axis2.jaxws.message.impl.XMLPartBase.getBodyBlock(XMLPartBase.java:475) > at > org.apache.axis2.jaxws.message.impl.MessageImpl.getBodyBlock(MessageImpl.java:283) > at > org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalRequest(DocLitWrappedMethodMarshaller.java:203) > at > org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:68) > at > org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:79) > at > org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:99) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:179) > at > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:273) > > > Looks like Axis2 JAXWS is searching a class which is not a part of my > module. I tried to create ServiceDescription and adding it to the service, > but it didn't get stuck in the same error. Any help would be appriciated. > > Thanks, > Lasantha Ranaweera > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
