Neuron ESB User Network

The Service Bus for the Connected Business

Hi,

I have a service connector which I am using multiple times in a workflow to call our Third Party Vendor.The call always works when I test the workflow individually, however, fails intermittently when I run an E2E scenario.

This is the error that gets logged from the service connector errors- 

FailureDetail - Message Receive to Party failed. Exception Type: System.Reflection.TargetInvocationException
Exception Message: Exception has been thrown by the target of an invocation.
Exception Trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Neuron.Esb.Channels.ESBClientContext.invoke(InvokeParams p)
at Neuron.Esb.Channels.ESBClientContext.invoke(String name, Delegate d, EventArgs args)
at Neuron.Esb.Channels.ESBClientContext.RaiseMessageReceivedEvent(ESBMessage message, CommittableTransaction tx)
at Neuron.Esb.Channels.ESBChannelManager.ReceiveMessagePart(ESBMessage message, CommittableTransaction tx)

Inner Exception Type: System.ArgumentNullException
Inner Exception Message: A REST Method must be provided.
Parameter name: Method
Inner Exception Trace: at Neuron.Esb.EsbService.ESBServiceConnector.process(MessageEventArgs e, Action`1 reply)
at Neuron.Esb.EsbService.ESBServiceConnector.Receive(Object sender, MessageEventArgs e)

FailureType - TargetInvocationException

Any idea why this would be?

Thanks.

Views: 347

Reply to This

Replies to This Discussion

what build of Neuron are you using?

3.5.4.1090

also, are you calling a SOAP or REST endpoint?

if the call is REST, we always check if the method is set i.e. ESBMessage.Http.Method property.  if its null, we throw that error

The call is REST, and I am setting the Method to "GET" in a CSharp method before making the service endpoint call. It works every alternate time. I am now using a topic and subscriber to call the service instead of the service connector and it seems to work every time.  

so you were seeing it intermittently fail when using the service endpoint Workflow Activity?

Yes, it happened every alternate time.

but can you confirm that you experienced this when using the Service Endpoint Workflow Activity and not through messaging i.e. sending out through a Topic?

Yes, when I used the service endpoint workflow activity I got this error. The call works now when using topics.

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service