Invoke workbench web service from any client

Posted by dnessapkota10 on 21-Mar-2012 07:02

I have developed ESB process using sonic workbench 8.0 and expose it as web service now how can I inoke this web service from any client (like java) ?

Thanks,

Dinesh

All Replies

Posted by testsoa on 21-Mar-2012 07:17

Dinesh,

as the first step I would recommend checking if the service is really accessible. The most simple way is to get the WSDL URL and try to open it in your web browser. If it will display the WSDL, you know that it might work.

Then you could install a SOAP test tool (for example, I use soapUI) and try to invoke the service from there.

And then you could try to invoke it from Java. There is a lot of tutorials concerning JAX-WS, e.g. this one. You can skip the first part concerning server, and do just the second one ("Developing WebService Client").

Regards,

Pavol

Posted by dnessapkota10 on 22-Mar-2012 01:25

Thanks for your help Pavol Mederly.

But how could I define SOAP address in my WSDL document and access it from web browser?

In other case of web services deployed using OE 10.2B progress explorer tool, it is possible to host this web service using sonic workbench? If so how to do this?

Thanks,

Dinesh

Posted by testsoa on 22-Mar-2012 03:25

If you expose your process using Sonic Connect (which I assume you do), you specify the address using Sonic Connect Editor, by editing the file SonicConnectService.scsvc.

There is a property called ".address", which is, by default, http://0.0.0.0:3580/connect/ (0.0.0.0 means any local interface at your host).

An example (see the third property) is shown in attachment. In my case, the process was called "Support.SoapUnicode.P1" (that's why the name of the service is such a wierd one; it can be customized within the wizard).

So, the "SOAP address" is http://0.0.0.0:3580/connect/Support.SoapUnicode.P1, and the WSDL is reachable at http://0.0.0.0:3580/connect/Support.SoapUnicode.P1?wsdl. (When accessing the service from another machine, replace 0.0.0.0 by your hostname - or you can do it directly in the Sonic editor shown in the screenshot.)

You can see the address in your container log as well. In this case (in the log of dev_ESBTest):

INFO: Setting the server's publish address to be http://0.0.0.0:3580/connect/Support.SoapUnicode.P1
22.3.2012 9:21:33 org.mortbay.log.Slf4jLog info

Hope this helps,

Pavol

Posted by dnessapkota10 on 22-Mar-2012 04:41

Thank a lot Pavol Mederly for your concern and help,

But I can't locate http://0.0.0.0:3580/connect/ in .esbsvc file but in container log i find Management connection (re)established (Socket[addr=/169.254.128.60,port=2506,localport=57454]) this info from log

file if the add is this I don't know how to change it. Can you please provide some steps.

On the other hand It is possible to host already deployed web service ( say OE) in ESB if so how to do it?

Thanks,

Dinesh

Posted by testsoa on 22-Mar-2012 05:02

Dinesh,

the URL is not in .esbsvc file (= ESB Java Service Type), but in .scsvc file (= Sonic Connect service).

Also, the line "Management connection (re)established..." in the container log does not belong to Sonic Connect, but it is a standard message produced by any Sonic container.

   Are you sure that you have used Sonic Connect to expose your process as a Web Service?

   And, have you deployed your Sonic Connect service into your container?

Relevant information how to do this is in this book, namely on page 20 (plus, do not forget to deploy the Sonic Connect service to a container). A nice tutorial how to expose ESB process as a Web Service is also here.

I would recommend you to have a look at these, especially at the tutorial.

Concerning your second question about OpenEdge - I'm sorry I have no experiences with OE. Sonic containers can host any JAX-WS web services, so if you would produce such a service with OE, it would probably run in the container. Again, there is a demo (number 4 at this page) saying how to do it.

Best regards,

Pavol

Posted by dnessapkota10 on 29-Mar-2012 00:32

Thank you Pavol Mederly,

Your reply help me lot. Now I can find the URL and also able to change it. I change it as "http://localhost:3580/wsdl/getCustomerFromOE". But when I'm trying to access the wsdl file from the web browser in order to test the web service using SOAP UI software using URL as "http://localhost:3580/wsdl/getCustomerFromOE/wsdl?" but it throws error as,

soap:Server

Fault occurred while processing.

Same error rises when I 'm trying to access wsdl file mentioned in the Sample Project as "http://localhost:9191/patientservice" but works well in Worbench JaxWSClient project.

What could be the solution for this? And how can I access this WSDL file from any other client using some URL?

Thanks in Advance.

Regards,

Dinesh

Posted by testsoa on 29-Mar-2012 02:23

Hello Dinesh,

the reason is simple - you have misspelled the WSDL link.

Instead of

    http://localhost:3580/wsdl/getCustomerFromOE/wsdl?

you should use

    http://localhost:3580/wsdl/getCustomerFromOE?wsdl

(i.e. published URL + "?wsdl")

Try this, it should work.

Posted by dnessapkota10 on 29-Mar-2012 03:43

Thanks a lot Pavol Mederly.

Dinesh

Posted by dnessapkota10 on 29-Mar-2012 05:53

On the other case I have sucessfully developed and tested ESB process using some WSDL file say "http://localhost:8080/wsa/wsa1/wsdl?targetURI=urn:NS3". Then I 'm trying to expose this esb process as web service using bottom up approach and I choose New WSDL option and finished exposing web service. Now the new WSDL URL is "http://localhost:3580/connect/ConsumeNExpose" whic I'm trying to run from web browser the following error will occur,

HTTP ERROR: 404

Problem accessing /connect/ConsumeNExpose. Reason:

    NOT_FOUND

Powered by Jetty://

What could be the solution?

Regards,

     Dinesh

Posted by testsoa on 29-Mar-2012 07:21

Are you sure you have upload the changed Sonic Connect service to your container?

If yes, it would be helpful if you would post your container log here; perhaps with zipped sonic project from workspace as well.

Remeber, also, that in the browser you have to add "?wsdl" to your URL. (However, the error you got is not caused by this.)

Best regards,

Pavol

Posted by dnessapkota10 on 02-Apr-2012 04:01

Hi Pavol,

When I'm going to test using some scenario. The container log file displayed as follows.

[12/04/02 14:40:30] (info) Reload ID=TESTContainer initiated...
[12/04/02 14:40:31] ID=TESTContainer (info) [ExposeWebServices] Stopped.
[12/04/02 14:40:31] ID=TESTContainer (info) Container suspended -- Status: offline
[12/04/02 14:40:31] ID=TESTContainer (info) [ExposeWebServices] Destroyed.
[12/04/02 14:40:31] (info) Unloaded ID=TESTContainer
[12/04/02 14:40:32] ID=TESTContainer (info) TESTContainer initializing...

    Sonic ESB Professional Developer Edition [Serial Number: 999999999]
    Release 8.0.0 Build Number 520
    Copyright (c) 2001-2010 Progress Software Corporation.
    All Rights Reserved.


[12/04/02 14:40:32] ID=TESTContainer (info) [ESBService] Initializing Service `ExposeWebServices`
[12/04/02 14:40:32] ID=TESTContainer (info) [ESBService] Initializing Service `dev.DBService`
[12/04/02 14:40:33] ID=TESTContainer (info) [ESBService] Service `ExposeWebServices` initialized: 1 thread(s) listening on Endpoint ExposeWebServices.Entry
[12/04/02 14:40:33] ID=TESTContainer (info) [ESBService] Service `dev.DBService` initialized: 1 thread(s) listening on Endpoint dev.DBService.Entry
[12/04/02 14:40:33] ID=TESTContainer (info)

    Sonic Connect
    Version 8.0 Build Number 604
    Copyright (c) 2010 Progress Software Corporation.
    All rights reserved.


[12/04/02 14:40:35] ID=TESTContainer (info) [ExposeWebServices] Initialized.
[12/04/02 14:40:35] ID=TESTContainer (info)

    Sonic Database Service
    Release 8.0.0 Build Number 491
    Copyright (c) 2005-2008 Progress Software Corporation.
    All Rights Reserved.


[12/04/02 14:40:35] ID=TESTContainer (info)
[12/04/02 14:40:35] ID=TESTContainer (info) Actional instrumentation is disabled for this container
[12/04/02 14:40:35] ID=TESTContainer (info) Initializing Mitigation context factory class: com.sonicsw.xqimpl.actional.lg.visitor.StabilizerHelper
[12/04/02 14:40:35] (info) Loaded ID=TESTContainer
[12/04/02 14:40:35] ID=TESTContainer (info) [ExposeWebServices] Started.
[12/04/02 14:40:35] ID=TESTContainer (info) Container's ESB (JMS) Connection: jms_defaultConnection
[12/04/02 14:40:35] ID=TESTContainer (info) Container's HTTP Routing Connection: http_defaultConnection
[12/04/02 14:40:35] (info) ...reload ID=TESTContainer complete
[12/04/02 14:40:36] ID=TESTContainer (info) Attempting to (re)establish connection: jms_defaultConnection
[12/04/02 14:40:38] ID=TESTContainer (info) Connection to endpoint 'ExposeWebServices.Entry' (re)established for connection 'jms_defaultConnection' at jv72-dinesh:2506

[12/04/02 14:42:19] ID=TESTContainer (severe) [Dispatch] Exception calling service ExposeWebServices: message rejected
[12/04/02 14:42:19] ID=TESTContainer (severe) Trace follows...
com.sonicsw.xq.XQServiceException:  (No bean named 'ConsumeNExposeService.ConsumeNExposePort.ConsumeNExpose' is defined) (No bean named 'ConsumeNExposeService.ConsumeNExposePort.ConsumeNExpose' is defined)
    at com.progress.sonic.esb.service.connect.ConnectService.service(ConnectService.java:243)
    at com.sonicsw.xqimpl.service.debug.DebugServiceInterceptor.intercept(DebugServiceInterceptor.java:118)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.intercept(XQServiceChain.java:487)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.service(XQServiceChain.java:476)
    at com.sonicsw.xqimpl.service.XQServiceChain.service(XQServiceChain.java:152)
    at com.sonicsw.xqimpl.service.ServiceMessageHandler.callService(ServiceMessageHandler.java:477)
    at com.sonicsw.xqimpl.service.ServiceMessageHandler.handleMessage(ServiceMessageHandler.java:204)
    at com.sonicsw.xqimpl.service.XQDispatcher.onMessage(XQDispatcher.java:434)
    at com.sonicsw.esb.itinerary.model.EsbStepNode.doExecute(EsbStepNode.java:232)
    at com.sonicsw.esb.itinerary.model.EsbStepNode.execute(EsbStepNode.java:144)
    at com.sonicsw.esb.process.model.impl.DefaultActivityNode.offerIncoming(DefaultActivityNode.java:139)
    at com.sonicsw.esb.itinerary.engine.ItineraryEngine.executeProcess(ItineraryEngine.java:325)
    at com.sonicsw.esb.itinerary.engine.ItineraryEngine.handleToken(ItineraryEngine.java:188)
    at com.sonicsw.esb.itinerary.engine.ItineraryEngine.handleMessage(ItineraryEngine.java:178)
    at com.sonicsw.xqimpl.endpoint.container.EndpointContextContainer.onMessage(EndpointContextContainer.java:94)
    at com.sonicsw.xq.connector.jms.JMSEndpoint$JMSEndpointListener.onMessage(JMSEndpoint.java:577)
    at progress.message.jimpl.Session.deliver(Session.java:3057)
    at progress.message.jimpl.Session.run(Session.java:2463)
    at progress.message.jimpl.Session$SessionThread.run(Session.java:2852)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ConsumeNExposeService.ConsumeNExposePort.ConsumeNExpose' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:387)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:971)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:246)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:238)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:238)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:238)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)
    at com.progress.sonic.esb.service.connect.ConnectService.getTargetEndpoint(ConnectService.java:367)
    at com.progress.sonic.esb.service.connect.ConnectService.service(ConnectService.java:209)
    ... 18 more

Regards,

Dinesh

Posted by wtam on 02-Apr-2012 11:02

Spring is complaining 'ConsumeNExposeService.ConsumeNExposePort.ConsumeNExpose' bean is not defined.   Is it possible to share your project?

Posted by dnessapkota10 on 03-Apr-2012 03:21

Hi William,

Please find the attachment.

Thank you,

Dinesh

Posted by wtam on 03-Apr-2012 13:38

It looks to me that you just need to re-build/re-upload the project/service.  Please try right click on the project and select "Progress Sonic" -> "Upload All".

Posted by andrew.thornton@redprairie.com on 03-Apr-2012 13:41

I will be out of the office until Thursday 5th April with little email access. If you need to contact someone within the office then please phone reception on 01904 727150, otherwise I will reply to your email as soon as I am able.

Thanks, Andrew.

Email Disclaimer

Posted by dnessapkota10 on 04-Apr-2012 05:48

Hi William,

I have sucessfully run the web service using some scenario. So I think it works. But while testing WSDL  using Test with web service explorer option then sometimes it works well but sometimes it throws error as "Unexpected error occured.

404 not found."

And while trying to access WSDL using web browser using URL http://localhost:3580/connect/ConsumeNExpose?wsdl sometimes it throws error as 404 not found , that i had mentioned in my previous post.

I didn't modify the project's any properties.

Why this problem occured?

And in addition, can you suggest any step by step video tutorial to define input output parameter for web service using wsdl?

Thank you,

Dinesh

Posted by wtam on 04-Apr-2012 10:06

Dinesh, I suspect your machine has mulitple network interfaces (e.g. multiple network card, VPN connection).  The web service address (http://localhost:3580/connect/ConsumeNExpose) may not be bounded to the network interface that the requests are accepted.   You can try changing the address to http://0.0.0.0:3580/connect/ConsumeNExpose   in the SC editor (see attached screen) and re-upload the project.  Thanks.

Posted by dnessapkota10 on 05-Apr-2012 02:53

Hi William,

When I am going to test the web services using some scenario. Sometimes it works fine but sometimes it throws error like,


    Fault String: HTTP request timed out., Fault Code: {http://schemas.xmlsoap.org/soap/envelope/}Server
    com.sonicsw.xqimpl.invkimpl.wsif.providers.common.UncheckedWSInvocationException
   
        at com.sonicsw.xqimpl.invkimpl.wsif.providers.axissoap.AxisFaultExceptionCreator.createException(AxisFaultExceptionCreator.java:74)
    at com.sonicsw.xqimpl.invkimpl.wsif.providers.axissoap.ESBWSIFOperation_ApacheAxis.invokeInvocation(ESBWSIFOperation_ApacheAxis.java:929)
    at com.sonicsw.xqimpl.invkimpl.wsif.providers.axissoap.ESBWSIFOperation_ApacheAxis.invokeRequestResponseOperation(ESBWSIFOperation_ApacheAxis.java:302)
    at com.sonicsw.xqimpl.invkimpl.wsif.providers.common.BaseEsbWsifOperation.invokeRequestResponseOperation(BaseEsbWsifOperation.java:289)
    at com.sonicsw.xqimpl.invkimpl.wsif.providers.common.BaseEsbWsifOperation.executeRequestResponseOperation(BaseEsbWsifOperation.java:338)
    at com.sonicsw.xqimpl.invkimpl.ESBOperationImpl.call(ESBOperationImpl.java:195)
    at com.sonicsw.xqimpl.service.wsinvk.WSInvocationScriptObject$WSInvocationScriptCommand.execute(WSInvocationScriptObject.java:498)
    at com.sonicsw.xqimpl.script.Command.executeScriptCommand(Command.java:326)
    at com.sonicsw.xqimpl.script.Command.execute(Command.java:282)
    at com.sonicsw.xqimpl.script.ScriptEngine.executeCommand(ScriptEngine.java:67)
    at com.sonicsw.xqimpl.service.wsinvk.WSInvocationComponent.service(WSInvocationComponent.java:37)
    at com.sonicsw.xqimpl.service.debug.DebugServiceInterceptor.intercept(DebugServiceInterceptor.java:118)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.intercept(XQServiceChain.java:487)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.service(XQServiceChain.java:476)
    at com.sonicsw.xqimpl.service.XQServiceChain.service(XQServiceChain.java:152)
    at com.sonicsw.xqimpl.service.ServiceMessageHandler.callService(ServiceMessageHandler.java:477)
    at com.sonicsw.xqimpl.service.ServiceMessageHandler.handleMessageImmediate(ServiceMessageHandler.java:422)
    at com.sonicsw.xqimpl.service.XQDispatcher.onMessageImmediate(XQDispatcher.java:866)
    at com.sonicsw.esb.itinerary.model.EsbStepNode.doExecute(EsbStepNode.java:230)
    at com.sonicsw.esb.itinerary.model.EsbStepNode.execute(EsbStepNode.java:144)
    at com.sonicsw.esb.process.model.impl.DefaultActivityNode.offerIncoming(DefaultActivityNode.java:139)
    at com.sonicsw.esb.process.model.impl.DefaultActivityEdge.place(DefaultActivityEdge.java:90)
    at com.sonicsw.esb.process.model.impl.DefaultActivityNode.offerOutgoing(DefaultActivityNode.java:191)
    at com.sonicsw.esb.itinerary.engine.ItineraryEngine.enqueueToken(ItineraryEngine.java:215)
    at com.sonicsw.esb.process.model.impl.DefaultActivityNode.offerIncoming(DefaultActivityNode.java:144)
    at com.sonicsw.esb.process.model.impl.DefaultMainProcess.initiate(DefaultMainProcess.java:80)
    at com.sonicsw.esb.itinerary.engine.ItineraryEngine.initiateProcess(ItineraryEngine.java:268)
    at com.sonicsw.xqimpl.service.MessageSendingHelper.sendToProcess(MessageSendingHelper.java:360)
    at com.sonicsw.xqimpl.service.MessageSendingHelper.sendToAddress(MessageSendingHelper.java:87)
    at com.sonicsw.xqimpl.service.XQDispatchImpl.dispatch(XQDispatchImpl.java:169)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQDispatchWrapper.dispatch(XQServiceChain.java:580)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQDispatchWrapper.dispatch(XQServiceChain.java:558)
    at com.sonicsw.xqimpl.service.debug.DebugServiceInterceptor.dispatch(DebugServiceInterceptor.java:361)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.dispatch(XQServiceChain.java:509)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQDispatchWrapper.dispatch(XQServiceChain.java:588)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQDispatchWrapper.dispatch(XQServiceChain.java:558)
    at com.progress.sonic.esb.camel.DefaultEsbMessageExchange.dispatchMessage(DefaultEsbMessageExchange.java:188)
    at com.progress.sonic.esb.camel.DefaultEsbMessageExchange.send(DefaultEsbMessageExchange.java:91)
    at com.progress.sonic.esb.camel.SonicEsbProducer.process(SonicEsbProducer.java:79)
    at org.apache.camel.processor.SendProcessor$1.doInProducer(SendProcessor.java:97)
    at org.apache.camel.processor.SendProcessor$1.doInProducer(SendProcessor.java:95)
    at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:146)
    at org.apache.camel.processor.SendProcessor.doProcess(SendProcessor.java:94)
    at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:82)
    at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:67)
    at org.apache.camel.processor.DelegateProcessor.processNext(DelegateProcessor.java:53)
    at org.apache.camel.processor.DelegateProcessor.proceed(DelegateProcessor.java:82)
    at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:93)
    at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:67)
    at org.apache.camel.processor.RedeliveryErrorHandler.processExchange(RedeliveryErrorHandler.java:223)
    at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:153)
    at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:91)
    at org.apache.camel.processor.DefaultErrorHandler.process(DefaultErrorHandler.java:49)
    at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:206)
    at org.apache.camel.processor.UnitOfWorkProcessor.processNext(UnitOfWorkProcessor.java:54)
    at org.apache.camel.processor.DelegateProcessor.process(DelegateProcessor.java:48)
    at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:67)
    at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:45)
    at com.progress.sonic.esb.camel.DirectSonicEsbProducer.process(DirectSonicEsbProducer.java:81)
    at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:179)
    at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:161)
    at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:146)
    at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:160)
    at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:98)
    at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:97)
    at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:83)
    at com.progress.sonic.esb.service.connect.ConnectService.sendMessage(ConnectService.java:382)
    at com.progress.sonic.esb.service.connect.ConnectService.service(ConnectService.java:209)
    at com.sonicsw.xqimpl.service.debug.DebugServiceInterceptor.intercept(DebugServiceInterceptor.java:118)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.intercept(XQServiceChain.java:487)
    at com.sonicsw.xqimpl.service.XQServiceChain$XQInterceptorServiceWrapper.service(XQServiceChain.java:476)
    at com.sonicsw.xqimpl.service.XQServiceChain.service(XQServiceChain.java:152)
    at com.sonicsw.xqimpl.service.ServiceMessageHandler.callService(ServiceMessageHandler.java:477)
    at com.sonicsw.xqimpl.service.ServiceMessageHandler.handleMessage(ServiceMessageHandler.java:204)
    at com.sonicsw.xqimpl.service.XQDispatcher.onMessage(XQDispatcher.java:434)
    at com.sonicsw.esb.itinerary.model.EsbStepNode.doExecute(EsbStepNode.java:232)
    at com.sonicsw.esb.itinerary.model.EsbStepNode.execute(EsbStepNode.java:144)
    at com.sonicsw.esb.process.model.impl.DefaultActivityNode.offerIncoming(DefaultActivityNode.java:139)
    at com.sonicsw.esb.itinerary.engine.ItineraryEngine.executeProcess(ItineraryEngine.java:325)
    at com.sonicsw.esb.itinerary.engine.ItineraryEngine.handleToken(ItineraryEngine.java:188)
    at com.sonicsw.esb.itinerary.engine.ItineraryEngine.handleMessage(ItineraryEngine.java:178)
    at com.sonicsw.xqimpl.endpoint.container.EndpointContextContainer.onMessage(EndpointContextContainer.java:94)
    at com.sonicsw.xq.connector.jms.JMSEndpoint$JMSEndpointListener.onMessage(JMSEndpoint.java:577)
    at progress.message.jimpl.Session.deliver(Session.java:3057)
    at progress.message.jimpl.Session.run(Session.java:2463)
    at progress.message.jimpl.Session$SessionThread.run(Session.java:2852)
]]>

What could be the solution?

Thanks,

Dinesh

Posted by wtam on 05-Apr-2012 13:06

It looks like the exposed ESB Process is calling an external Web Service using 7.x WS client but the 7.x WS client receives "HTTP request timed out".  You need to check the called WS and find out why it is timing out.

Posted by dnessapkota10 on 05-Apr-2012 22:54

Hi William,

While I'm going to run the external web services using an application SoapUI then it works fine but from sonic workbench this problem has occured. Is this is due to the problem of sonic workbench version?

Thanks,

Dinesh

Posted by wtam on 06-Apr-2012 10:50

You mentioned that the problem didn't happen all the time.  Is it possible that the server was fine when you ran SOAPUI?  I'd suggest you to log an issue with tech support.  Thanks.

Posted by wtam on 06-Apr-2012 10:53

Just wondering is there any reason you are using 7.x WS client as opposed to Sonic Connect WS client?

This thread is closed