You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Te...@HVBIS.com on 2008/06/09 15:17:20 UTC

Unmarshalling error

Hi group,
After successfully testing my WebService on my local PC (WinXP), I have deployed it on to the application server running on Linux.
Upon invoking the method from my client, I am getting the below error. 

Can someone help me?
I found no relevant hits in Google !!!


[09.06.08 14:34:10:169 CEST] 0000002f PhaseIntercep I java.lang.Throwable <init> Interceptor has thrown exception, unwinding now
                                 org.apache.cxf.interceptor.Fault: Unmarshalling Error: Unexpected end of input block; expected an identifier
 at [row,col {unknown-source}]: [1,8182] 
	at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:642)
	at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:555)
	at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:64)
	at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:102)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
	at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:92)
	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:214)
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:151)
	at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
	at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

Many thnx

Tezcan Dilshener
Satz Software & Consulting GmbH

HVB Information Services GmbH
Member of UniCredit Group
HIC3CS Development Services Client Server
Am Tucherpark 12
D-80538 München

Tel: +49 89 378-27221
mailto:Tezcan.Dilshener.extern@hvbis.com
http://www.hvbis.com

The legal obligation information of HVB Information Services GmbH can be found at: http://www.hvbis.com/is/de/pub/441.htm
Die gesetzlichen Pflichtangaben zur HVB Information Services GmbH finden Sie unter: http://www.hvbis.com/is/de/pub/441.htm

Important Note:
This e-mail is only intended for the person or company/organisation named as recipient. It may contain trade secrets or undisclosed and
confidential information or information otherwise protected by work-product immunity or other legal regulations. If you have received this email
by mistake, we kindly ask you not to copy this message or use it for any purpose nor disclose its contents to any other person. Please
inform us immediately and delete the original document. In addition, please let us know if you or your company object to receiving e-mails
for messages of this kind.

Wichtiger Hinweis:
Diese E-Mail ist nur für die Person oder die Firma/Organisation bestimmt, die in der Empfängeradresse benannt ist und enthält u. U. Geschäftsgeheimnisse
oder vertrauliche Informationen, die dem Schutz von Arbeitsergebnissen unterliegen oder sonst rechtlich geschützt
sind. Wenn Sie nicht der angegebene Empfänger sind, bitten wir Sie, uns unverzüglich zu informieren und diese Nachricht zu vernichten
und sie insbesondere nicht zu kopieren oder sie für irgendwelche anderen Zwecke zu verwenden, noch den Inhalt dieser Nachricht dritten
Personen zugänglich zu machen. Bitte informieren Sie uns auch unverzüglich, wenn Sie oder Ihr Arbeitgeber nicht mit E-Mail Nachrichten
dieser Art einverstanden sein sollten.


Re: Unmarshalling error

Posted by Daniel Kulp <dk...@apache.org>.
This looks like the incoming XML isn't valid.   That's about the only  
thing I can think of.   Maybe do a wiretrace or something and see what  
the XML looks like coming in?

Dan



On Jun 9, 2008, at 9:17 AM, <Te...@HVBIS.com> <Tezcan.Dilshener.extern@HVBIS.com 
 > wrote:

> Hi group,
> After successfully testing my WebService on my local PC (WinXP), I  
> have deployed it on to the application server running on Linux.
> Upon invoking the method from my client, I am getting the below error.
>
> Can someone help me?
> I found no relevant hits in Google !!!
>
>
> [09.06.08 14:34:10:169 CEST] 0000002f PhaseIntercep I  
> java.lang.Throwable <init> Interceptor has thrown exception,  
> unwinding now
>                                 org.apache.cxf.interceptor.Fault:  
> Unmarshalling Error: Unexpected end of input block; expected an  
> identifier
> at [row,col {unknown-source}]: [1,8182]
> 	at  
> org 
> .apache 
> .cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:642)
> 	at  
> org 
> .apache 
> .cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:555)
> 	at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:64)
> 	at  
> org 
> .apache 
> .cxf 
> .interceptor 
> .DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java: 
> 102)
> 	at  
> org 
> .apache 
> .cxf 
> .phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java: 
> 221)
> 	at  
> org 
> .apache 
> .cxf 
> .transport 
> .ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
> 	at  
> org 
> .apache 
> .cxf 
> .transport.servlet.ServletDestination.invoke(ServletDestination.java: 
> 92)
> 	at  
> org 
> .apache 
> .cxf 
> .transport 
> .servlet.ServletController.invokeDestination(ServletController.java: 
> 214)
> 	at  
> org 
> .apache 
> .cxf 
> .transport.servlet.ServletController.invoke(ServletController.java: 
> 151)
> 	at  
> org 
> .apache 
> .cxf 
> .transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java: 
> 170)
> 	at  
> org 
> .apache 
> .cxf 
> .transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java: 
> 148)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>
> Many thnx
>
> Tezcan Dilshener
> Satz Software & Consulting GmbH
>
> HVB Information Services GmbH
> Member of UniCredit Group
> HIC3CS Development Services Client Server
> Am Tucherpark 12
> D-80538 München
>
> Tel: +49 89 378-27221
> mailto:Tezcan.Dilshener.extern@hvbis.com
> http://www.hvbis.com
>
> The legal obligation information of HVB Information Services GmbH  
> can be found at: http://www.hvbis.com/is/de/pub/441.htm
> Die gesetzlichen Pflichtangaben zur HVB Information Services GmbH  
> finden Sie unter: http://www.hvbis.com/is/de/pub/441.htm
>
> Important Note:
> This e-mail is only intended for the person or company/organisation  
> named as recipient. It may contain trade secrets or undisclosed and
> confidential information or information otherwise protected by work- 
> product immunity or other legal regulations. If you have received  
> this email
> by mistake, we kindly ask you not to copy this message or use it for  
> any purpose nor disclose its contents to any other person. Please
> inform us immediately and delete the original document. In addition,  
> please let us know if you or your company object to receiving e-mails
> for messages of this kind.
>
> Wichtiger Hinweis:
> Diese E-Mail ist nur für die Person oder die Firma/Organisation  
> bestimmt, die in der Empfängeradresse benannt ist und enthält u. U.  
> Geschäftsgeheimnisse
> oder vertrauliche Informationen, die dem Schutz von  
> Arbeitsergebnissen unterliegen oder sonst rechtlich geschützt
> sind. Wenn Sie nicht der angegebene Empfänger sind, bitten wir Sie,  
> uns unverzüglich zu informieren und diese Nachricht zu vernichten
> und sie insbesondere nicht zu kopieren oder sie für irgendwelche  
> anderen Zwecke zu verwenden, noch den Inhalt dieser Nachricht dritten
> Personen zugänglich zu machen. Bitte informieren Sie uns auch  
> unverzüglich, wenn Sie oder Ihr Arbeitgeber nicht mit E-Mail  
> Nachrichten
> dieser Art einverstanden sein sollten.
>

---
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog