Error Reading Xmlstreamreader Soapui
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might faultstring error reading xmlstreamreader have Meta Discuss the workings and policies of this site About
Soap Clienterror Reading Xmlstreamreader
Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads error reading xmlstreamreader unexpected eof in prolog with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, error reading xmlstreamreader curl just like you, helping each other. Join them; it only takes a minute: Sign up Error reading XMLStreamReader in SOAPUI but works fine in browser up vote 0 down vote favorite We have a spring-cxf ( Spring 3.0.4, CXF 2.5.10, Java 6) web service application deployed in WAS 8.0.0.7 @ Linux machine. We are able
Error Reading Xmlstreamreader Cxf
to access all services through soap ui by directly using ip on url (through Linux IP in which application installed). Now the app server is behind the Web server (iplanet, & configured by client) and now the issue comes(we are using https to hit the web server where as web server to app server is http). We are able to see xml content in browser using the url provided by client but when we access the web service through SOAPUI we are getting "Error reading XMLStreamReader." and following exception in WAS log -------------------------------------- [1/14/14 5:14:34:375 GMT] 00000040 AccDetailsInt I org.apache.cxf.services.AccountDetailsWSService.AccountDetailsWSPort.AccDetailsInt Inbound Message ---------------------------- ID: 13 Address: https://{ip:port}/infox/services/AccountDetailsWSPort Encoding: UTF-8 Http-Method: POST Content-Type: text/xml;charset=UTF-8 Headers: {$WSCS=[SSL_RSA_WITH_RC4_128_MD5-128], $WSIS=[true], $WSPR=[HTTP/1.1], $WSRA=[10.203.118.218], $WSRH=[10.203.118.218], $WSSC=[https], $WSSI=[Q1IrQ29oeGJCMFNHRWFPNzdBYjBRSU1RNEVZd3RWSHhlVWJyRGtnaDBEWT0=], $WSSN=[ip], $WSSP=[2006], _WS_HAPRT_WLMVERSION=[-1], accept-encoding=[gzip,deflate], conten-lengtth=[1594], content-type=[text/xml;charset=UTF-8], Host=[{ip:port}], SOAPAction=["urn:GetAccountProfile"], Surrogate-Capability=[WS-ESI="ESI/1.0+"], User-Agent=[Apache-HttpClient/4.1.1 (java 1.5)]} -------------------------------------- [1/14/14 5:14:34:376 GMT] 00000040 SystemOut O Request XML : [1/14/14 5:14:34:376 GMT] 00000040 PhaseIntercep W org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging Interceptor for {http://wsbroker.core.infx.com/}AccountDetailsWSService has thrown exception, unwinding now org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
So by comparing both request (one from cxf http://osdir.com/ml/users-cxf-apache/2014-01/msg00263.html client and another from soap ui)found that soap ui request missed some headers. So by adding the same soap ui works fine http://cxf.547215.n5.nabble.com/Unexpected-EOF-in-prolog-Error-td5749235.html -- View this message in context: http://cxf.547215.n5.nabble.com/Error-reading-XMLStreamReader-SOAPUI-but-works-fine-in-browser-tp5738545p5738890.html Sent from the cxf-user mailing list archive at Nabble.com. Thread at a glance: Previous error reading Message by Date: Re: InitiatorToken is included in response message when AlwaysToRecipient is set Ok thanks. I've merged a fix for this which will appear in CXF 2.7.9. Colm. On Mon, Jan 20, 2014 at 1:56 PM, Kai Rommel
| Report Content as Inappropriate ♦ ♦ Unexpected EOF in prolog Error Good morning, I am getting the following error when I am sending a Base64 encode string in CXF and was wondering if someone has seen this before. Currently, I am sending an image to be stored in my Content Management System in an encoded Base64 String. I have run this in SOAP UI and it works fine and XML Spy did not throw any errors with the request. I have read that this error typically means that there is a problem with the WSDL in reference, but I can't find anything wrong with it. It has this element as xs:string. org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:253) ~[cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:62) ~[cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) [cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:845) [cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1624) [cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1513) [cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1318) [cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) [cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:632) [cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) [cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) [cxf-bundle-2.7.11.jar:2.7.11] at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:5