#1 2012-06-27 13:47:21

yashwanth_n
Member
Registered: 2012-05-29
Posts: 10

invoke ESB service from url

Hi,

I have an ESB service exposed as a web service.It was built on Talend ESB studio 5. I am able to invoke it via SOAP UI. I would like to invoke the job through the browser. For this I have tried hitting it as
http://hot:port/services/DummyService?method=runJob&args=--context_param%20testid=123

but I get SOAP fault. When I check the logs it gives
11:42:55,751 | INFO  | ram%20testid=123 | ernal.GenericServiceProviderImpl   72 |  -  -  | Invoke operation 'null'
.
.
.
Caused by: java.lang.NullPointerException
        at org.talend.esb.job.controller.internal.GenericServiceProviderImpl.invoke(GenericServiceProviderImpl.java:74)
        at org.talend.esb.job.controller.internal.GenericServiceProviderImpl.invoke(GenericServiceProviderImpl.java:42)

I think it was not able to find the operation to invoke. Hence I tried to add the operation as well in the url like
http://host:port/services/DummyService/DummyServiceOperation?method=runJob&args=--context_param%20testid=123

I get a soap fault as
<soap:Fault><faultcode>soap:Server</faultcode><faultstring>Parameter should be ordered in the following sequence: [testid]</faultstring></soap:Fault>


Could someone please guide me on how to invoke the service. Its a simple service which creates a log file.

Offline

Board footer

Powered by FluxBB