On Jun 11, 2008, at 3:43 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
Hi group
I am receiving from my web service at the server side the following
error.
Obviously the msg received is not completely clean.
But can some tell me what may be causing this and what I can do to
resolve this problem.
Not sure. It looks like the stream is being closed before any XML is
even being parsed.
First off: what version of CXF?
Second, I would turn on logging of the message:
http://cwiki.apache.org/CXF20DOC/debugging.html
and see what is coming into CXF. At least the first part of the
messages.
I was also told that when sending large messages I need to turn off
"chunking".
How can I do that?
Actually, that's probably the opposite. For large messages, chunking
has the most benefit. If you don't use chunking, the entire message
has to be built up into a buffer prior to sending it so the Content-
Length can be computed. That consumes more memory and is generally
slower. With chunking on, we can stream it as it's being written and
not buffer the whole thing. That's generally faster and more scalable.
In anycase, sending it chunked to the server is a function of the
client, not the server. Are you using a CXF client to send the
request? If so, you can use:
http://www.jroller.com/gmazza/date/20070817, See point #8
as an example to configure the client to not chunk the data.
Dan
Many thanks in advance
.
.
org.apache.cxf.phase.PhaseInterceptorChain doIntercept Interceptor
has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
.
.
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
.
.
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:[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://www.dankulp.com/blog