Hi Akila, Most probably you may not be sending SoapAction.
You can verify this by directly invoking the service and via ESB and comparing the wire logs. [1] http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html On Fri, Aug 14, 2015 at 4:40 PM, Akila Nimantha [IT/EKO/LOITS] < [email protected]> wrote: > Hi all, > > > > I have created a API using soap service which is hosted in another wso2 > ESB. But when I trying to access the service, it gives below error every > time(used soapui rest service tester). > > > > <soapenv:Reason xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> > > <soapenv:Text xml:lang="en-US">The service cannot be found for the > endpoint reference (EPR) > /browns/send?UN=xxxxxxxxxx&PW=xxxxxxxx&dest_number=xxxxxxxxxx&message=xxxxxxxxxx</soapenv:Text> > > </soapenv:Reason> > > > > Api URL is below, > > > > > http://xxx.xxx.xxx.xxx:8282/browns/send?UN=xxxxxxx&PW=xxxxxxx&dest_number=xxxxxxxx&message=xxxxxxxxx > > > > below is the errorlog when I trying to access created API, > > > > TID: [0] [ESB] [2015-08-14 15:57:14,314] ERROR > {org.apache.axis2.engine.AxisEngine} - The service cannot be found for the > endpoint reference (EPR) > /browns/send?user=xxxxxxxx&pass=xxxxxxx&reci=xxxxxxxxxxxx&msg=xxxxxxxxxxx > {org.apache.axis2.engine.AxisEngine} > > org.apache.axis2.AxisFault: The service cannot be found for the endpoint > reference (EPR) > /browns/send?user=xxxxxx&pass=xxxxxxxx&reci=xxxxxxxx&msg=xxxxxxxxxxxxx > > at > org.apache.axis2.engine.DispatchPhase.validateTransport(DispatchPhase.java:251) > > at > org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:109) > > at org.apache.axis2.engine.Phase.invoke(Phase.java:329) > > at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) > > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) > > at > org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:344) > > at > org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:168) > > at > org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > > at java.lang.Thread.run(Thread.java:745) > > > > But when I create same API in another ESB server with same settings it > works fine without any problems. > > > > Also I have attached the axis2.xml for more information regarding axis > settings I used. > > > > I spend whole day to solve this but still I can’t understand why this is > happening. > > > > Regards, > > Akila Rathnayake > > > > > > > > > > This message (including any attachments) is intended only for the use of > the individual or entity to which it is addressed and may contain > information that is non-public, proprietary, privileged, confidential, and > exempt from disclosure under applicable law or may constitute as attorney > work product. If you are not the intended recipient, you are hereby > notified that any use, dissemination, distribution, or copying of this > communication is strictly prohibited. If you have received this > communication in error, notify us immediately by telephone and (i) destroy > this message if a facsimile or (ii) delete this message immediately if this > is an electronic communication. Thank you. > > _______________________________________________ > 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/> Save a tree -Conserve nature & Save the world for your future. Print this email only if it is absolutely necessary.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
