07-13-2012 10:41 AM
=> Scenario: contact the Echo server first, then Activiti is unable to contact the Counter server (cannot find the Inc class generated by CXF even though in the 2nd line of the listing, the log says the class is created
————————————–
juil. 13, 2012 3:54:16 PM org.apache.cxf.common.jaxb.JAXBUtils logGeneratedClassNames
INFO: Created classes: org.activiti.engine.impl.webservice.Account, org.activiti.engine.impl.webservice.Customer, org.activiti.engine.impl.webservice.Inc, org.activiti.engine.impl.webservice.IncResponse, org.activiti.engine.impl.webservice.IncSimple, org.activiti.engine.impl.webservice.IncSimpleResponse, org.activiti.engine.impl.webservice.ObjectFactory, org.activiti.engine.impl.webservice.TripletObject
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
juil. 13, 2012 3:54:16 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for {http://webservice.impl.engine.activiti.org/}Counter#{http://webservice.impl.engine.activiti.org/}inc has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Marshalling Error: org.activiti.engine.impl.webservice.Inc is not known to this context
at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:261)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:169)
……
……
……
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: javax.xml.bind.MarshalException
- with linked exception:
[com.sun.istack.SAXException2: org.activiti.engine.impl.webservice.Inc is not known to this context
javax.xml.bind.JAXBException: org.activiti.engine.impl.webservice.Inc is not known to this context]
at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:326)
at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251)
at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:95)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder.java:554)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:236)
… 134 more
Caused by: com.sun.istack.SAXException2: org.activiti.engine.impl.webservice.Inc is not known to this context
javax.xml.bind.JAXBException: org.activiti.engine.impl.webservice.Inc is not known to this context
at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:247)
at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:262)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:148)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:131)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:333)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:340)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:76)
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494)
at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)
… 138 more
Caused by: javax.xml.bind.JAXBException: org.activiti.engine.impl.webservice.Inc is not known to this context
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:619)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:145)
… 144 more
juil. 13, 2012 3:54:16 PM org.activiti.engine.impl.webservice.WSOperation safeSend
WARNING: Error calling WS http://webservice.activiti.org/:Counter
org.apache.cxf.interceptor.Fault: Marshalling Error: org.activiti.engine.impl.webservice.Inc is not known to this context
at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:261)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:169)
at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:110)
at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)
……
……
……
……
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: javax.xml.bind.MarshalException
- with linked exception:
[com.sun.istack.SAXException2: org.activiti.engine.impl.webservice.Inc is not known to this context
javax.xml.bind.JAXBException: org.activiti.engine.impl.webservice.Inc is not known to this context]
at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:326)
at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251)
at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:95)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder.java:554)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:236)
… 134 more
Caused by: com.sun.istack.SAXException2: org.activiti.engine.impl.webservice.Inc is not known to this context
javax.xml.bind.JAXBException: org.activiti.engine.impl.webservice.Inc is not known to this context
at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:247)
at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:262)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:148)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:131)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:333)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:340)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:76)
at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494)
at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)
… 138 more
Caused by: javax.xml.bind.JAXBException: org.activiti.engine.impl.webservice.Inc is not known to this context
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:619)
at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:145)
… 144 more
07-16-2012 03:04 AM
org.apache.cxf.interceptor.Fault: Marshalling Error: org.activiti.engine.impl.webservice.Inc is not known to this context07-20-2012 05:19 AM
juil. 20, 2012 10:51:39 AM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for {org.nunix.webservice.counter.CounterService}CounterService#{http://counter.webservice.nunix.org/}inc has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: org.nunix.webservice.TripletObject cannot be cast to org.nunix.webservice.counter.TripletObject
at org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor.handleMessage(WrapperClassOutInterceptor.java:121)
…..
I've tried several approaches with no successTags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.