i did my tests with soap ui and generated sample requests. what i figured out is:
when is submit this envelop: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > <soapenv:Body> <typ:GetPerson xmlns:typ="http://servicemix.apache.org/samples/wsdl-first/types"> <typ:personId>1</typ:personId> </typ:GetPerson> </soapenv:Body> </soapenv:Envelope> everything is fine, BUT if i submit this envelop: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://servicemix.apache.org/samples/wsdl-first/types" > <soapenv:Body> <typ:GetPerson > <typ:personId>1</typ:personId> </typ:GetPerson> </soapenv:Body> </soapenv:Envelope> i get the stax exception. i'm little bit confused and couldn't explain the difference to me ?!? devylon wrote: > > Hi, > > I'm testing the cxf-bc and cxf-se components. But unfortunatly i get the > following error with the wsdl-first sample: > > DEBUG - SedaQueue - > org.apache.servicemix.jbi.nmr.flow.seda.sedaqueu...@2e2acb47 dequeued > exchange: InOut[ > id: ID:10.41.20.39-12569e5f07a-4:1 > status: Error > role: consumer > interface: {http://servicemix.apache.org/samples/wsdl-first}Person > service: {http://servicemix.apache.org/samples/wsdl-first}PersonService > endpoint: PersonImplPort > operation: {http://servicemix.apache.org/samples/wsdl-first}GetPerson > in: <?xml version="1.0" encoding="UTF-8"?> > <jbi:message name="GetPersonRequest" type="msg:GetPersonRequest" > version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper" > xmlns:msg="http://servicemix.apache.org/samples/wsdl-first" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><jbi:part><typ:GetPerson> > <typ:personId>1</typ:personId> > </typ:GetPerson></jbi:part></jbi:message> > error: org.apache.cxf.interceptor.Fault: stax read exception > ] > DEBUG - DeliveryChannelImpl - Notifying exchange > ID:10.41.20.39-12569e5f07a-4:1(386d346c) in > DeliveryChannel{servicemix-cxf-bc} from processInboundSynchronousExchange > DEBUG - DeliveryChannelImpl - Notified: > ID:10.41.20.39-12569e5f07a-4:1(386d346c) in > DeliveryChannel{servicemix-cxf-bc} from sendSync > 07.12.2009 17:08:48 org.apache.cxf.phase.PhaseInterceptorChain doIntercept > INFO: Interceptor has thrown exception, unwinding now stax read exception > > > My environment is: > - OS: OSX 10.6 > - Java: Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219) > Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode) > - ServiceMix : 3.3.1 > > I have no clue whats going wrong :( > > -- devylon > -- View this message in context: http://old.nabble.com/%22stax-read-exception%22-with-cxf-bc---cxf-se-tp26679548p26679639.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
