Error Reading Xmlstreamreader. Mule
here for a quick overview of the site Help Center Detailed answers error reading xmlstreamreader unexpected eof in prolog to any questions you might have Meta Discuss the workings error reading xmlstreamreader curl and policies of this site About Us Learn more about Stack Overflow the company Business error reading xmlstreamreader soapui Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack soap error reading xmlstreamreader Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Mule MtoM transport outbound validation error up vote 0 down vote favorite After adding MtoM enabled onto a business service running in Jboss 7,
Error Reading Xmlstreamreader Cxf
we found that passing soap requests through Mule now causes an error:- An exception occurred while invoking message processor "DefaultMessageProcessorChain '(inner iterating chain) of OutboundEndpoint 'http://127.0.0.1:8280/communication' request chain' [ org.mule.endpoint.outbound.OutboundEventTimeoutMessageProcessor, org.mule.endpoint.outbound.OutboundSessionHandlerMessageProcessor, org.mule.endpoint.outbound.OutboundEndpointPropertyMessageProcessor, org.mule.endpoint.outbound.OutboundResponsePropertiesMessageProcessor ]" with transaction "Transaction{factory=null, action=NEVER, timeout=0}".. Message payload is of type: PostMethod Which would appear to be caused by a validation error that happens when the payload from the service response is validated before being passed back to SOAPUI. Checking the Mule log file, this is logged: Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:222) at ... 80 more Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code 45) in prolog; expected '<' at [row,col {unknown-source}]: [1,1] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:644) at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2003) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1100) at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1123) at org.mule.module.xml.stax.DelegateXMLStreamReader.nextTag(DelegateXMLStreamReader.java:242) at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:122) ... 90 more The error seems to occur because MULE attempts to parse the soap response as XML in validatingStreamReader, when in fact the SOAP envelope has the foll
view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Outbound endpoint configuration for CXF Proxy service Hi, I am having a CXF Inbound process
Org Apache Cxf Binding Soap Soapfault Error Reading Xmlstreamreader
proxy another outbound call. The Proxy just routes the xml to the unexpected character code 45 in prolog expected outbound service.I have tried both the axis as well as the cxf outbound endpoints, both are giving me unexpected character in prolog; expected '<' error. Please revert back as it is very urgent Below is my configuration when i have an outbound cxf endpoint http://stackoverflow.com/questions/15504435/mule-mtom-transport-outbound-validation-error http://mule.1045714.n5.nabble.com/Outbound-endpoint-configuration-for-CXF-Proxy-service-td2678951.html I am getting an error Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader. Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'A' (code 65) in prolog; expected '<' at [row,col {unknown-source}]: [1,1] Exception stack is: 1. No open start element, when trying to write end element (javax.xml.stream.XMLStreamException) com.ctc.wstx.sw.BaseStreamWriter:1473 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/xml/stream/XMLStreamException.html) 2. Error writing to XMLStreamWriter. (org.apache.cxf.binding.soap.SoapFault) org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor:248 (null) 3. Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=https://icwpricing.gen:@wsgi-stage.cisco.com/icw/pricing/listprice/getListPrice, connector=CxfConnector{this=135da43, started=true, initialised=true, name='connector.cxf.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[cxf, cxf:http, cxf:https, cxf:jms, cxf:vm], serviceOverrides=null}, transformer=[], name='endpoint.https.wsgi.stage.cisco.com.443.icw.pricing.listprice.getListPrice', properties={enableMuleSoapHeaders=true, applyTransf
endpoint's contentType attributeMind MapAgile Board ExportXMLWordPrintable Details Type: Bug Status: Closed Priority: Critical Resolution: Won't Fix or Usage Issue Affects Version/s: 3.3.0 Fix Version/s: None Component/s: Transport: HTTP(S) error reading / Jetty Labels: None User impact: Medium Log Output: Hide ERROR 2012-08-06 15:56:03,625 [[james_lin_mule_training].connector.http.mule.default.receiver.04] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : javax.activation.MimeTypeParseException: Sub type is invalid. (org.mule.api.MuleRuntimeException) Code : MULE_ERROR-64999 -------------------------------------------------------------------------------- Exception error reading xmlstreamreader stack is: 1. Sub type is invalid. (javax.activation.MimeTypeParseException) javax.activation.MimeType:120 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/activation/MimeTypeParseException.html) 2. javax.activation.MimeTypeParseException: Sub type is invalid. (org.mule.api.MuleRuntimeException) org.mule.transformer.types.SimpleDataType:53 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MuleRuntimeException.html) 3. javax.activation.MimeTypeParseException: Sub type is invalid. (org.mule.api.MuleRuntimeException) (org.mule.api.transformer.TransformerException) org.mule.transport.http.transformers.MuleMessageToHttpResponse:322 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html) -------------------------------------------------------------------------------- Root Exception stack trace: javax.activation.MimeTypeParseException: Sub type is invalid. at javax.activation.MimeType.parse(MimeType.java:120) at javax.activation.MimeType.(MimeType.java:48) at org.mule.transformer.types.SimpleDataType.(SimpleDataType.java:43) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** INFO 2012-08-06 15:56:03,640 [[james_lin_mule_training].connector.http.mule.default.receiver.03] org.mule.transport.http.HttpClientMessageDispatcher: Received a redirect, but followRedirects=false. Response code: 500 Internal Server Error WARN 2012-08-06 15:56:03,681 [[james_lin_mule_training].connector.http.mule.default.receiver.03] org.apache.cxf.phase.PhaseInterceptorChain: Interceptor for {http://training.mulesoft.com/}CathayService#{http://training.mulesoft.com/}getPrice has thrown exception, unwi