Neuron ESB User Network

The Service Bus for the Connected Business

Attached are 2 files. XML.txt is a request/response that works fine in the ESB Test Client. Object.txt represents the same r/r but through code. The action for the service as shown by the ESB Explorer is: StationCasinos.Services.Messaging/IMessaging/ProcessRequest.

What has to be done to get the object method to work? Also there has been some discussions on using the service pass-through features for this. What are the various methods for accomplishing this and what are the benefits of each?

Please let me know if you need any additional information.

Thanks!

Views: 85

Attachments:

Reply to This

Replies to This Discussion

Hi Ray,

I imagine when you send with the test client and it works you are specifying action. I don't see action in the code..Or is it being set in a pipeline?
I was thinking that was the issue - we found the overload that lets you specify an action but it didn't seem to work and there is no overload that has an action and a SendOptions (we are specifying SendOptions.Request).

With action:
ESBMessage replyMessage2 = publisher.Send("EnterpriseServices", request, "StationCasinos.Services.Messaging/IMessaging/ProcessRequest", string.Empty);

Thanks
Tell you what Ray,

I'll work up a working sample and attach it here.
Here you go.
Attachments:
Hopefully almost there...

I was able to specify the correct action but the message still isn't being formatted correctly for the service to process it. I have tried various strings for the schema but isn't working. Attached are some messages received by a test client to illustrate the differences.

Thanks
Attachments:
BTW, I should mention in real life instead of just echoing with the original message reader you'll probably want to copy the contents of the original message to some other object and then explicitly call Close on the original message instance.
I will refer to the examples for this ;-)

Any ideas on our current issue? This web service is currently being by several consumers but directly (i.e. scMessage response = service.ProcessRequest(result);) When Curt was here we were getting similar errors/results with the xml/test client until we decorated the XML with the namespace.
Hey Ray,

So you still get the format error?

Is that error from the Service Connector log?

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