Neuron ESB User Network

The Service Bus for the Connected Business

Not sure how to do this at all.  The Neuron Samples net.Tcp RequestReply doesn't seem to cover this.

I have and EndPoint in NeuronESB:  NetTCP Client Connector with simple address:  net.tcp://localhost:8000/MyCategory/GetDataList

I have a simple Business process connected to the Publisher that does a RequestReply scenario with the Cancel.

I want to call the net.tcp:// address, pass a message and receive the result.

I've researched TcpClient and keep getting an error back stating that it attempts 10 times and fails.

How do I do this?  I only want NeuronESB to expose this endpoint so I can have other apps call it and get data.  Very, very basic.  Keep it simple.

It needs to be net.Tcp so I can use full Integrated AD security.

I've read al the NeuronESB help that i can find and searched the articles and forum.

Please advise.

Views: 289

Replies are closed for this discussion.

Replies to This Discussion


Can you send me a copy of your solution so that I can look over your client connector? I just ran the sample provided with the Neuron ESB explorer and it all seems to work for me. I would like to see what you have configured so I can assist.

Steve Kardian|Solution Architect / Product Technical Specialist

Neudesic – The Trusted Technology Partner in Business Innovation

Direct: 602-419-2384 | Cell: 720-317-7129

mailto: |

Can you send/show me the sample TcpClient code you just now wrote to connect to the EndPoint?


I think that is where my problem lies.

The sample provided is complicated and doesn't show just the TcpClient functionality that I am trying to use to connect to the NeuronESB EndPoint.  It shows Client/Service app written in .NET and I need to have a remote .NET client (only) connecting to the Tcp endpoint (Client Connect Endpoint)

I didn't write code. I tested the process using the sample code. If you just need the client side of the equation then you can copy what was done in the sample for that interaction but not the service side. Without seeing your solution I can't really put together a solution for you. 

Thanks for the responses Steve.  I'll try to get you a copy of the solution later today.

Perhaps I need to also state that I cannot do this from a .NET solution.  It is c# code, but not a custom .NET application -- I can reference libraries and write C# code to call using the TcpClient() in .NET.

The sample solution does not seem to use TcpClient().  I tried separating the client from the server, but they are too tightly integrated and the code is complex - I can't figure it out.  It appears to use an App.config hard-coded entry.  I can't use this.

In a nutshell, here is what I'm trying to accomplish (at the above mentioned address - I need the above mentioned address to work with the additional ".../MyCategory/GetDataLIst" pieces.  I don't know how to reference the Tcp address with those.

I just need a stripped down sample of a basic call to net.tcp and get results.

This sample code was pulled from

using System; 
using System.IO;
using System.Net;
using System.Text;
using System.Net.Sockets;

public class clnt
public static void Main()
TcpClient tcpclnt = new TcpClient();
//how do I change the TcpClient call to connect
//to the NeuronESB address:

// use the ipaddress as in the server program

Console.Write("Enter the string to be transmitted : ");
String str=Console.ReadLine();
Stream stm = tcpclnt.GetStream();
ASCIIEncoding asen= new ASCIIEncoding();
byte[] ba=asen.GetBytes(str);

byte[] bb=new byte[100];
int k=stm.Read(bb,0,100);

for (int i=0;i<k;i++)

catch (Exception e)
Console.WriteLine("Error..... " + e.StackTrace);


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



© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service