Sent the proxy config with wrong endpoint,
On Fri, Mar 28, 2014 at 10:09 AM, Lahiru Sandaruwan <lahi...@wso2.com>wrote: > Hi, > > $subject. > > Here is the proxy i try. Am i doing something wrong? > > > <?xml version="1.0" encoding="UTF-8"?> > <proxy > xmlns="http://ws.apache.org/ns/synapse<http://www.google.com/url?q=http%3A%2F%2Fws.apache.org%2Fns%2Fsynapse&sa=D&sntz=1&usg=AFQjCNHXEm-DVy-kXjma9HiDSOzvmv4DoA> > " > name="utTockenProxy" > transports="https" > statistics="disable" > trace="disable" > startOnLoad="true"> > <target> > <inSequence> > <log level="full"/> > <send> > <endpoint> > <address uri="https://localhost:8280/services/echo"/> > </endpoint> > </send> > </inSequence> > </target> > <parameter name="ScenarioID">scenario1</parameter> > <enableSec/> > <policy > key="conf:/repository/axis2/service-groups/utTockenProxy/services/utTockenProxy/policies/UTOverTransport"/> > <description/> > </proxy> > > > *Error,* > > [2014-03-28 10:05:23,262] INFO - LogMediator To: > /services/normalProxy.normalProxyHttpsSoap12Endpoint, WSAction: > urn:mediate, SOAPAction: urn:mediate, MessageID: > urn:uuid:fcc30644-4305-43d8-ae58-cb49694c3873, Direction: request, > Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope > xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><p:echoInt > xmlns:p="http://echo.services.core.carbon.wso2.org"><!--0 to 1 > occurrence--><in>23</in></p:echoInt></soapenv:Body></soapenv:Envelope> > [2014-03-28 10:05:23,322] ERROR - NativeWorkerPool Uncaught exception > org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have > children other than SOAP Header and Body > at > org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild(SOAPEnvelopeImpl.java:110) > at > org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.insertBefore(SOAPEnvelopeImpl.java:164) > at > org.apache.ws.security.util.WSSecurityUtil.prependChildElement(WSSecurityUtil.java:646) > at > org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:722) > at > org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:145) > at > org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:406) > at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61) > at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65) > at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) > at org.apache.axis2.engine.Phase.invoke(Phase.java:313) > at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) > at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426) > at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163) > at > org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:274) > at > org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488) > at > org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) > at > org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225) > at > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > > > Thanks. > -- > -- > Lahiru Sandaruwan > Software Engineer, > Platform Technologies, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > email: lahi...@wso2.com cell: (+94) 773 325 954 > blog: http://lahiruwrites.blogspot.com/ > twitter: http://twitter.com/lahirus > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- -- Lahiru Sandaruwan Software Engineer, Platform Technologies, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: lahi...@wso2.com cell: (+94) 773 325 954 blog: http://lahiruwrites.blogspot.com/ twitter: http://twitter.com/lahirus linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev