synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-876) Sample 158: Exposing a SOAP Service Over JSON; jsonclient Error!!!
Date Wed, 08 Aug 2012 17:58:20 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen updated SYNAPSE-876:
------------------------------------

    Summary: Sample 158: Exposing a SOAP Service Over JSON; jsonclient Error!!!  (was: Sample
440: Exposing a SOAP Service Over JSON; jsonclient Error!!!)

In the current trunk, sample 440 was renumbered to 158.
                
> Sample 158: Exposing a SOAP Service Over JSON; jsonclient Error!!!
> ------------------------------------------------------------------
>
>                 Key: SYNAPSE-876
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-876
>             Project: Synapse
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>         Environment: linux 64 bit
>            Reporter: Dushan Sachinda Abeyruwan
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: FUTURE
>
>         Attachments: synapse_json_client.txt
>
>
>  [java] [2012-05-27 14:55:21,359] INFO - BuilderUtil OMException in getSOAPBuilder 
>     [java] org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException:
Unexpected character '{' (code 123) in prolog; expected '<' 
>     [java] at [row,col {unknown-source}]: [1,1] 
>     [java] at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)

>     [java] at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)

>     [java] at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:154)

>     [java] at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:140)

>     [java] at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:688)

>     [java] at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:197)

>     [java] at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)

>     [java] at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)

>     [java] at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)

>     [java] at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)

>     [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)

>     [java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)

>     [java] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

>     [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)

>     [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)

>     [java] at samples.userguide.JSONClient.executeClient(Unknown Source) 
>     [java] at samples.userguide.JSONClient.main(Unknown Source) 
>     [java] Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character
'{' (code 123) in prolog; expected '<' 
>     [java] at [row,col {unknown-source}]: [1,1] 
>     [java] org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException:
Unexpected character '{' (code 123) in prolog; expected '<' 
>     [java] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648)

>     [java] at [row,col {unknown-source}]: [1,1] 
>     [java] at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430 
>     [java] at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069) 
>     [java] 
>     [java] at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)

>     [java] at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)

>     [java] at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)

>     [java] ... 16 more 
>     [java] at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)

>     [java] [2012-05-27 14:55:21,406] INFO - BuilderUtil Remaining input stream :[] 
>     [java] at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)

>     [java] at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)

>     [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)

>     [java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)

>     [java] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)

>     [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)

>     [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)

>     [java] at samples.userguide.JSONClient.executeClient(Unknown Source) 
>     [java] at samples.userguide.JSONClient.main(Unknown Source) 
>     [java] Caused by: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException:
Unexpected character '{' (code 123) in prolog; expected 
> <' 
>     [java] at [row,col {unknown-source}]: [1,1] 
>     [java] at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)

>     [java] at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)

>     [java] at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:154)

>     [java] at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:140)

>     [java] at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:688)

>     [java] at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:197)

>     [java] at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)

>     [java] at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)

>     [java] ... 9 more 
>     [java] Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character
'{' (code 123) in prolog; expected '<' 
>     [java] at [row,col {unknown-source}]: [1,1] 
>     [java] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648)

>     [java] at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)

>     [java] at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069) 
>     [java] at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)

>     [java] at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)

>     [java] at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)

>     [java] ... 16 more 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message