The response from the server is:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<CheckPraticaByGroupResponse
xmlns="http://pdc.gedi.ubiss.it/schema/services">
<objectId>11111</objectId>
<status xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="java:java.lang.String">COMPLETE</status>
<placeholders />
</CheckPraticaByGroupResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I have a cxf client. The problem should be a problem related to jaxb validation.
Thank you.
> Date: Fri, 7 Jan 2011 07:04:17 -0500
> Subject: Re: Unmarshalling Error: prefix java is not bound
> From: [email protected]
> To: [email protected]
>
> You will have to show us the XML of the message.
>
> On Fri, Jan 7, 2011 at 5:01 AM, nicola zantedeschi
> <[email protected]> wrote:
> >
> > Hello,
> >
> >
> >
> > I have this
> > problem with a client created with cxf 2.3.0.
> >
> > The
> > exception is:
> >
> > -----------------------------
> >
> > Unmarshalling Error: prefix java is not bound to a
> > namespace
> >
> > at
> > org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:794)
> >
> >
> > at
> > org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:628)
> >
> >
> > at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:154)
> >
> >
> > at
> > org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:198)
> >
> > at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:247)
> >
> > at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:733)
> >
> >
> > at
> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2201)
> >
> > at
> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2071)
> >
> > at
> > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1925)
> >
> > at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> >
> >
> > at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:662)
> >
> >
> > at
> > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
> >
> >
> > at
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:247)
> >
> > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
> >
> > ------------------------------
> >
> > The exception is generated when jaxb try to validate
> > the response.
> >
> > Using cxf 2.2.3 the client work normally, with no
> > error.
> >
> >
> >
> > Can someone help out with this?
> >
> >
> >
> > Thanks!!!
> >
> > Nicola.