Thanks Isuru and Chanaka. That was the issue. Touched, not typed. Erroneous words are a feature, not a typo. On Feb 13, 2014 5:39 PM, "Chanaka Fernando" <chana...@wso2.com> wrote:
> Hi Udara, > > As Isuru mentioned above, you might not have enabled the response return > configuration in DSS. If you need to return a value for database update > statement, you need to set the following setting. > > <operation name="addEmployee" returnRequestStatus="true"> > <call-query href="addEmployeeQuery"> > <with-param name="employeeNumber" query-param="employeeNumber"/> > <with-param name="lastName" query-param="lastName"/> > <with-param name="firstName" query-param="firstName"/> > <with-param name="email" query-param="email"/> > <with-param name="salary" query-param="salary"/> > </call-query> > </operation> > > Thanks, > Chanaka > > > > On Thu, Feb 13, 2014 at 5:15 AM, Isuru Perera <isu...@wso2.com> wrote: > >> May be your data service is not returning any response. Can you check >> whether the callout service returns a proper response? >> >> >> On Thu, Feb 13, 2014 at 3:23 PM, Udara Liyanage <ud...@wso2.com> wrote: >> >>> Hi, >>> >>> I am getting the following error when I have the below callout mediator >>> in a proxy. The service is in DSS server. >>> <callout serviceURL="http://10.100.0.38:9764/services/IF0030/ " >>> action="urn:O_ProductCategory" >>> >>> >>> >>> useServerConfig="true"> >>> <source xmlns:ns="http://org.apache.synapse/xsd" >>> xpath="$body/child::*[fn:position()=1]"/> >>> <target xmlns:ns="http://org.apache.synapse/xsd" >>> xpath="$body/child::*[fn:position()=1]"/> >>> </callout> >>> >>> >>> >>> [2014-02-13 04:48:12,387] ERROR -* NativeWorkerPool Uncaught exception* >>> java.lang.NullPointerException >>> at >>> org.apache.axiom.om.impl.llom.OMNodeImpl.insertSiblingAfter(OMNodeImpl.java:203) >>> at org.apache.synapse.mediators.builtin.*CalloutMediator* >>> .mediate(CalloutMediator.java:193) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:196) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77) >>> at >>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47) >>> at >>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131) >>> at >>> org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166) >>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:403) >>> at >>> org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) >>> at >>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) >>> at java.lang.Thread.run(Thread.java:662) >>> >>> >>> -- >>> Udara Liyanage >>> Software Engineer >>> WSO2, Inc.: http://wso2.com >>> lean. enterprise. middleware >>> >>> web: http://udaraliyanage.wordpress.com >>> phone: +94 71 443 6897 >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Isuru Perera >> Senior Software Engineer | WSO2, Inc. | http://wso2.com/ >> Lean . Enterprise . Middleware >> >> about.me/chrishantha >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > -- > Chanaka Fernando > Technical Lead > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 773337238 > Blog : http://soatutorials.blogspot.com > LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 > Twitter:https://twitter.com/chanakaudaya > Wordpress:http://chanakaudaya.wordpress.com > > > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev