Hi, I'm getting error messages from Synapse when configuring a SOAP service (company intern). The address URI contains a series of attached arguments (key=value pairs), but it seems that Synapse can't handle them. Not sure if the URI is valid, or whether it's a Synapse error.
I found something very similar about a JMS endpoint http://osdir.com/ml/dev-synapse.apache.org/2011-02/msg00119.html Thanks for any feedback. Peter ================================ Synapse Configuration <api name="Http2SoapAPI" context="/customerDelta"> <resource url-pattern="/put/*" methods="POST"> <inSequence> <send> <endpoint> <address uri="http://sczdsapxi01:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BC_FKIS&receiverParty=&receiverService=&interface=FkisCustomerListXml_Out&interfaceNamespace=http://six-group.com/Pi/Fkis/Customer" format="soap11"/> </endpoint> </send> </inSequence> </resource> </api> ============================== Synapse Error Messages 2012-06-29 08:28:11,154 [-] [main] INFO XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration 2012-06-29 08:28:11,162 [-] [main] ERROR SynapseConfigurationBuilder Could not initialize Synapse : com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'senderService' at [row,col {unknown-source}]: [94,101] org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'senderService' at [row,col {unknown-source}]: [94,101] at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:297) at org.apache.axiom.om.impl.llom.OMSerializableImpl.build(OMSerializableImpl.java:78) at org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:721) at org.apache.synapse.config.xml.XMLConfigurationBuilder.getConfiguration(XMLConfigurationBuilder.java:45) at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:91) at org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:465) at org.apache.synapse.ServerManager.start(ServerManager.java:177) at org.apache.synapse.SynapseServer.main(SynapseServer.java:68) Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'senderService' at [row,col {unknown-source}]: [94,101] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648) at com.ctc.wstx.sr.StreamScanner.parseEntityName(StreamScanner.java:1994) at com.ctc.wstx.sr.StreamScanner.fullyResolveEntity(StreamScanner.java:1496) at com.ctc.wstx.sr.BasicStreamReader.parseNormalizedAttrValue(BasicStreamReader.java:1943) at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:3037) at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2936) at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2848) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019) at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:682) at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:215) The content of this e-mail is intended only for the confidential use of the person addressed. If you are not the intended recipient, please notify the sender and delete this email immediately. Thank you.
