Hi Riyafa,

You need to remove encoding. Try out this in your template before calling
the endpoint and check the wire log.

<property action="remove" name="Accept-Encoding" scope="transport"/>

Thanks.

On Mon, Dec 7, 2015 at 9:52 PM, Riyafa Abdul Hameed <[email protected]> wrote:

>
>
> Hi,
>
> As Shakila suggested I enable wire logs and obtained the log as in [1].
> And then on going through the log I have found that html content is
> returned by the google spreadsheet connector. Is it safe for me to assume
> that the problem is with the connector and not my code? If I cannot how can
> I avoid receiving these html content to avoid the above exceptions? Also
> has anyone else tried updating more 50 cells in an iterator using the
> google spreadsheet connector? I am quite new, please help me debug.
>
> The following is the html content received which was the cause for the
> exception:
>
> *<!DOCTYPE html><html lang="si" ><head><meta name="description"
> content="[0xe0][0xb7][0x80][0xe0][0xb7][0x99][0xe0][0xb6][0xb6][0xe0][0xb7][0x8a]
> [0xe0][0xb6][0xb4][0xe0][0xb6][0xaf]
> [0xe0][0xb7][0x83][0xe0][0xb7][0x90][0xe0][0xb6][0x9a][0xe0][0xb7][0x83][0xe0][0xb7][0x94][0xe0][0xb6][0xb8],
> [0xe0][0xb6][0x89][0xe0][0xb6][0xaf][0xe0][0xb7][0x92][0xe0][0xb6][0xbb][0xe0][0xb7][0x92][0xe0][0xb6][0xb4][0xe0][0xb6][0xad][0xe0][0xb7][0x8a][0xe0][0xb6][0x9a][0xe0][0xb7][0x92][0xe0][0xb6][0xbb][0xe0][0xb7][0x93][0xe0][0xb6][0xb8][0xe0][0xb7][0x8a]
> [0xe0][0xb7][0x83][0xe0][0xb7][0x84]
> [0xe0][0xb6][0xb4][0xe0][0xb7][0x90][0xe0][0xb6][0xad][0xe0][0xb7][0x92][0xe0][0xb6][0xbb][0xe0][0xb7][0x94][0xe0][0xb6][0xb8][0xe0][0xb7][0x8a][0xe0][0xb6][0xb4][0xe0][0xb6][0xad][0xe0][0xb7][0x8a]"><link
> rel="shortcut icon" href="//ssl.gstatic.com/docs/common/drive_favicon1.ico
> <http://ssl.gstatic.com/docs/common/drive_favicon1.ico>"><title>[0xe0][0xb6][0x85][0xe0][0xb6][0xba][0xe0][0xb7][0x90][0xe0][0xb6][0xaf][0xe0][0xb7][0x94][0xe0][0xb6][0xb8]
> [0xe0][0xb6][0xb4][0xe0][0xb7][0x8a][0xe2][0x80][0x8d][0xe0][0xb6][0xbb][0xe0][0xb6][0xb8][0xe0][0xb7][0x8f][0xe0][0xb6][0xb1][0xe0][0xb6][0xba]
> [0xe0][0xb7][0x80][0xe0][0xb7][0x90][0xe0][0xb6][0xa9][0xe0][0xb7][0x92][0xe0][0xb6][0xba]</title><link
> href="//fonts.googleapis.com/css?family=Product+Sans
> <http://fonts.googleapis.com/css?family=Product+Sans>" rel="stylesheet"
> type="text/css"><style>/* Copyright 2015 Google Inc. All Rights Reserved.
> */[\n]" {org.apache.synapse.transport.http.wire} *
>
> *TID: [-1] [] [2015-12-07 15:25:11,394] DEBUG
> {org.apache.synapse.transport.http.wire} - >>
> ".goog-inline-block{position:relative;display:-moz-inline-box;display:inline-block}*
> html .goog-inline-block{display:inline}*:first-child+html
> .goog-inline-block{display:inline}#drive-logo{margin:18px
> 0;position:absolute;white-space:nowrap}.docs-drivelogo-img{background-image:url('//ssl.gstatic.com/images/branding/googlelogo/1x/googlelogo_color_116x41dp.png');background-size:116px
> 41px
> <http://ssl.gstatic.com/images/branding/googlelogo/1x/googlelogo_color_116x41dp.png');background-size:116px41px>;display:inline-block;height:41px;vertical-align:bottom;width:116px}.docs-drivelogo-text{color:#000;display:inline-block;opacity:0.54;text-decoration:none;font-family:'Product
> Sans',Arial,Helvetica,sans-serif;font-size:32px;text-rendering:optimizeLegibility;position:relative;top:-6px;left:-7px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media
> (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi){.docs-drivelogo-img{background-image:url('//ssl.gstatic.com/images/branding/googlelogo/2x/googlelogo_color_116x41dp.png')}
> <http://ssl.gstatic.com/images/branding/googlelogo/2x/googlelogo_color_116x41dp.png')%7D>}</style><style
> type="text/css">body {background-color: #fff; font-family:
> Arial,sans-serif; font-size: 13px; margin: 0; padding: 0;}a, a:link,
> a:visited {color: #112ABB;}</style><style type="text/css">.errorMessage
> {font-size: 12pt; font-weight: bold; line-height:
> 150%;}</style></head><body><div style="margin: auto; max-width:
> 750px;"><div style="margin: 80px 40px 20px 40px; position:relative; "><div
> style="position: absolute; top: -80px;"><div id="drive-logo"><a
> href="/"><span class="docs-drivelogo-img" title="Google logo"></span><span
> class="docs-drivelogo-text">&nbsp;Drive</span></a></div></div>[0xe0][0xb6][0xb1][0xe0][0xb7][0x92][0xe0][0xb6][0xba][0xe0][0xb6][0xb8][0xe0][0xb6][0xba][0xe0][0xb7][0x92],
> [0xe0][0xb6][0xb8][0xe0][0xb7][0x99][0xe0][0xb6][0xb8]
> [0xe0][0xb6][0x9c][0xe0][0xb7][0x9c][0xe0][0xb6][0xb1][0xe0][0xb7][0x94][0xe0][0xb7][0x80]
> [0xe0][0xb6][0x87][0xe0][0xb6][0xad][0xe0][0xb7][0x8a][0xe0][0xb6][0xad][0xe0][0xb6][0xa7][0xe0][0xb6][0xb8]
> [0xe0][0xb6][0xa2][0xe0][0xb6][0xb1][0xe0][0xb6][0xb4][0xe0][0xb7][0x8a][0xe2][0x80][0x8d][0xe0][0xb6][0xbb][0xe0][0xb7][0x92][0xe0][0xb6][0xba][0xe0][0xb6][0xba][0xe0][0xb7][0x92]!
> [0xe0][0xb6][0xb4][0xe0][0xb7][0x92][0xe0][0xb6][0xbb][0xe0][0xb7][0x92][0xe0][0xb7][0x83]
> [0xe0][0xb6][0x89][0xe0][0xb7][0x80][0xe0][0xb6][0xad][0xe0][0xb7][0x8a]
> [0xe0][0xb7][0x80][0xe0][0xb7][0x99][0xe0][0xb6][0xb1][0xe0][0xb6][0x9a][0xe0][0xb6][0xb1][0xe0][0xb7][0x8a]
> [0xe0][0xb7][0x83][0xe0][0xb6][0xb8][0xe0][0xb7][0x84][0xe0][0xb6][0xbb]
> [0xe0][0xb6][0xb8][0xe0][0xb7][0x99][0xe0][0xb7][0x80][0xe0][0xb6][0xbd][0xe0][0xb6][0xb8][0xe0][0xb7][0x8a]
> [0xe0][0xb6][0xb1][0xe0][0xb7][0x90][0xe0][0xb6][0xad][0xe0][0xb7][0x92]
> [0xe0][0xb7][0x80][0xe0][0xb7][0x92][0xe0][0xb6][0xba]
> [0xe0][0xb7][0x84][0xe0][0xb7][0x90][0xe0][0xb6][0x9a]. <a
> href="">[0xe0][0xb6][0xb1][0xe0][0xb7][0x90][0xe0][0xb7][0x80][0xe0][0xb6][0xad]
> [0xe0][0xb6][0x8b][0xe0][0xb6][0xad][0xe0][0xb7][0x8a][0xe0][0xb7][0x83][0xe0][0xb7][0x8f][0xe0][0xb7][0x84]
> [0xe0][0xb6][0x9a][0xe0][0xb6][0xbb][0xe0][0xb6][0xb1][0xe0][0xb7][0x8a][0xe0][0xb6][0xb1]</a></div></div></body></html>*
>
>
>
> [1] https://drive.google.com/open?id=0BxOnD8A85gZoOWg2NHRtbUZmLVE
>
> Thank you.
>
>
>>> On Mon, Dec 7, 2015 at 2:21 PM, Riyafa Abdul Hameed <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> My use case is I get the column of project keys from a
>>>> google-spreadsheet and iterate through the project keys. Using the project
>>>> key I query the salesforce  using the salesforce connector and obtain the
>>>> invoice number. Then using the invoice number I find the invoice from. I
>>>> use the google spreadsheet connector to get the cell which is to be
>>>> updated--this is to get the cell version. Then I update the relevant cell
>>>> with the invoice from.
>>>>
>>>> Then in a different second iterator I get a different column and repeat
>>>> the procedure mentioned above to perform some more filtering.
>>>>
>>>> I need to update upto 6000 lines.
>>>>
>>>> As for logging I logged the 
>>>> *org.apache.synapse.core.axis2.SynapseCallbackReceiver
>>>> *and obtained the following result which gives no valuable indication:
>>>>
>>>>
>>>> *[2015-12-07 12:36:22,755] DEBUG - SynapseCallbackReceiver Synapse
>>>> received an asynchronous response message *
>>>>
>>>> *[2015-12-07 12:36:22,755] DEBUG - SynapseCallbackReceiver Received To:
>>>> null *
>>>>
>>>> *[2015-12-07 12:36:22,755] DEBUG - SynapseCallbackReceiver SOAPAction: *
>>>>
>>>> *[2015-12-07 12:36:22,755] DEBUG - SynapseCallbackReceiver WSA-Action: *
>>>>
>>>> *[2015-12-07 12:36:22,755] DEBUG - SynapseCallbackReceiver Body : *
>>>>
>>>> *<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>>> <http://schemas.xmlsoap.org/soap/envelope/>"><soapenv:Body/></soapenv:Envelope>
>>>> *
>>>>
>>>> *[2015-12-07 12:36:22,756] DEBUG - SynapseCallbackReceiver
>>>> FORCE_ERROR_ON_SOAP_FAULT is true, checking for SOAPFault *
>>>>
>>>> *[2015-12-07 12:36:22,758] ERROR - RelayUtils Error while building
>>>> Passthrough stream *
>>>>
>>>> *org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException:
>>>> DOCTYPE is not allowed *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:149)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:133)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:98)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:400)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:172)
>>>> *
>>>>
>>>> * at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) *
>>>>
>>>> * at
>>>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:247)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>>> *
>>>>
>>>> * at
>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>> *
>>>>
>>>> * at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>> *
>>>>
>>>> * at java.lang.Thread.run(Thread.java:745) *
>>>>
>>>> *Caused by: javax.xml.stream.XMLStreamException: DOCTYPE is not allowed
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:36)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
>>>> *
>>>>
>>>> * ... 14 more *
>>>>
>>>>
>>>> And
>>>>
>>>> *[2015-12-07 12:36:44,523] DEBUG - SynapseCallbackReceiver Synapse
>>>> received an asynchronous response message *
>>>>
>>>> *[2015-12-07 12:39:19,702] DEBUG - SynapseCallbackReceiver Received To:
>>>> null *
>>>>
>>>> *[2015-12-07 12:39:19,702] DEBUG - SynapseCallbackReceiver SOAPAction: *
>>>>
>>>> *[2015-12-07 12:39:19,702] DEBUG - SynapseCallbackReceiver WSA-Action: *
>>>>
>>>> *[2015-12-07 12:39:19,702] DEBUG - SynapseCallbackReceiver Body : *
>>>>
>>>> *<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>>> <http://schemas.xmlsoap.org/soap/envelope/>"><soapenv:Body/></soapenv:Envelope>
>>>> *
>>>>
>>>> *[2015-12-07 12:39:19,702] DEBUG - SynapseCallbackReceiver
>>>> FORCE_ERROR_ON_SOAP_FAULT is true, checking for SOAPFault *
>>>>
>>>> *[2015-12-07 12:36:44,520] DEBUG - SynapseCallbackReceiver Callback
>>>> added. Total callbacks waiting for : 165 *
>>>>
>>>> *[2015-12-07 12:36:44,518] DEBUG - SynapseCallbackReceiver Callback
>>>> added. Total callbacks waiting for : 164 *
>>>>
>>>> *[2015-12-07 12:36:44,500] DEBUG - SynapseCallbackReceiver Callback
>>>> removed for request message id :
>>>> urn:uuid:1275435f-896e-4ab1-93f5-3dffa4310215. Pending callbacks count :
>>>> 162 *
>>>>
>>>> *[2015-12-07 12:36:44,498] ERROR - RelayUtils Error while building
>>>> Passthrough stream *
>>>>
>>>> *org.apache.axiom.om.OMException:
>>>> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'I'
>>>> (code 73) in prolog; expected '<' *
>>>>
>>>> *at [row,col {unknown-source}]: [1,1] *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:149)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:133)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:98)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:400)
>>>> *
>>>>
>>>> * at
>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:172)
>>>> *
>>>>
>>>> * at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) *
>>>>
>>>> * at
>>>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:247)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>>> *
>>>>
>>>> * at
>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>> *
>>>>
>>>> * at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>> *
>>>>
>>>> * at java.lang.Thread.run(Thread.java:745) *
>>>>
>>>> *Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected
>>>> character 'I' (code 73) in prolog; expected '<' *
>>>>
>>>> *at [row,col {unknown-source}]: [1,1] *
>>>>
>>>> * at
>>>> com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:639) *
>>>>
>>>> * at
>>>> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2052)
>>>> *
>>>>
>>>> * at
>>>> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1134) *
>>>>
>>>> * at
>>>> org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:34)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
>>>> *
>>>>
>>>> * at
>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
>>>> *
>>>>
>>>> * ... 14 more *
>>>>
>>>>
>>>> Thank you,
>>>> Riyafa
>>>>
>>>>
>>>> On Mon, Dec 7, 2015 at 1:15 PM, Malaka Silva <[email protected]> wrote:
>>>>
>>>>> Riyafa seems like a builder error. Can you try enabling wire logs and
>>>>> analyse the response from the APIs.
>>>>>
>>>>> Also what is your use case?
>>>>>
>>>>> On Mon, Dec 7, 2015 at 12:08 PM, Riyafa Abdul Hameed <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I have a proxy service which I have attached with the mail which
>>>>>> makes several one call to the salesforce api using the salesforce 
>>>>>> connector
>>>>>> and two calls to the google spreadsheet api using the google-spreadsheet
>>>>>> connector in each iteration. When the number of rows I call (or the 
>>>>>> number
>>>>>> of iterations) increase beyond 35 the proxy service starts throwing the
>>>>>> following two exceptions:
>>>>>>
>>>>>>
>>>>>> *[2015-12-07 11:22:03,785] ERROR - RelayUtils Error while building
>>>>>> Passthrough stream *
>>>>>>
>>>>>> *org.apache.axiom.om.OMException:
>>>>>> javax.xml.stream.XMLStreamException: DOCTYPE is not allowed *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:149)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:133)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:98)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:400)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:172)
>>>>>> *
>>>>>>
>>>>>> * at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:247)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>>>> *
>>>>>>
>>>>>> * at java.lang.Thread.run(Thread.java:745) *
>>>>>>
>>>>>> *Caused by: javax.xml.stream.XMLStreamException: DOCTYPE is not
>>>>>> allowed *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:36)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
>>>>>> *
>>>>>>
>>>>>> * ... 14 more *
>>>>>>
>>>>>> And
>>>>>>
>>>>>>
>>>>>> *[2015-12-07 11:22:04,040] ERROR - RelayUtils Error while building
>>>>>> Passthrough stream *
>>>>>>
>>>>>> *org.apache.axiom.om.OMException:
>>>>>> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'I'
>>>>>> (code 73) in prolog; expected '<' *
>>>>>>
>>>>>> *at [row,col {unknown-source}]: [1,1] *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:149)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:133)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:98)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:400)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:172)
>>>>>> *
>>>>>>
>>>>>> * at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) *
>>>>>>
>>>>>> * at
>>>>>> org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:247)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>>>> *
>>>>>>
>>>>>> * at java.lang.Thread.run(Thread.java:745) *
>>>>>>
>>>>>> *Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected
>>>>>> character 'I' (code 73) in prolog; expected '<' *
>>>>>>
>>>>>> *at [row,col {unknown-source}]: [1,1] *
>>>>>>
>>>>>> * at
>>>>>> com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:639)
>>>>>>  *
>>>>>>
>>>>>> * at
>>>>>> com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2052)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1134) *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:34)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
>>>>>> *
>>>>>>
>>>>>> * at
>>>>>> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
>>>>>> *
>>>>>>
>>>>>> * ... 14 more *
>>>>>>
>>>>>>
>>>>>> I have tried the following which do not seem to work in this case:
>>>>>>
>>>>>>
>>>>>>    -  Redeclare the properties inside the proxy service so that any
>>>>>>    problem because of the properties being out of context inside the 
>>>>>> proxy is
>>>>>>    resolved.
>>>>>>    - Increase the http.socket.timeout in the
>>>>>>    wso2esb-4.9.0/repository/conf/passthru-http.properties file to a quite
>>>>>>    large value
>>>>>>    - Increase the synapse.global_timeout_interval in
>>>>>>    wso2esb-4.9.0/repository/conf/synapse.properties to 600000.
>>>>>>    - Run the two iterations in the proxies separately which made it
>>>>>>    possible to run up to 150 rows without any exceptions.
>>>>>>
>>>>>> The exceptions sometimes seem to reduce when  http.socket.timeout was
>>>>>> increased, but still continue to appear.
>>>>>>
>>>>>> What could be done to resolve this issue? Please help.
>>>>>>
>>>>>>
>>>>>> Thank you,
>>>>>>
>>>>>> Riyafa
>>>>>>
>>>>>> --
>>>>>> Riyafa Abdul Hameed
>>>>>> Software Engineering intern, WSO2
>>>>>>
>>>>>> Email: [email protected]
>>>>>> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
>>>>>> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
>>>>>> <http://twitter.com/Riyafa1>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Malaka Silva
>>>>> Senior Tech Lead
>>>>> M: +94 777 219 791
>>>>> Tel : 94 11 214 5345
>>>>> Fax :94 11 2145300
>>>>> Skype : malaka.sampath.silva
>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>
>>>>> WSO2, Inc.
>>>>> lean . enterprise . middleware
>>>>> http://www.wso2.com/
>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>> https://store.wso2.com/store/
>>>>>
>>>>> Save a tree -Conserve nature & Save the world for your future. Print
>>>>> this email only if it is absolutely necessary.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Riyafa Abdul Hameed
>>>> Software Engineering intern, WSO2
>>>>
>>>> Email: [email protected]
>>>> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
>>>> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
>>>> <http://twitter.com/Riyafa1>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Kathees
>>> Software Engineer,
>>> email: [email protected]
>>> mobile: +94772596173
>>>
>>
>>
>>
>> --
>> Riyafa Abdul Hameed
>> Software Engineering intern, WSO2
>>
>> Email: [email protected]
>> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
>> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
>> <http://twitter.com/Riyafa1>
>>
>
>
>
> --
> Riyafa Abdul Hameed
> Software Engineering intern, WSO2
>
> Email: [email protected]
> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
> <http://twitter.com/Riyafa1>
>
>
>
> --
> Riyafa Abdul Hameed
> Software Engineering intern, WSO2
>
> Email: [email protected]
> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
> <http://twitter.com/Riyafa1>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*S.Elilmatha*
Associate  Software Engineer,

WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile 0779842221.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to