Neuron ESB User Network

The Service Bus for the Connected Business

Hi,

does anyone have any experience on setting up a Relay on AzureServiceBus to bridge a neuron on-premise service?

I successfully connected Neuron with an Azure queue, but I don't know where to start to setup the relay.

Thank you 

Fabrizio

Views: 336

Reply to This

Replies to This Discussion

Ok….so if you want to use azure auth….then you end up having to use the relay binding.  And a custom behavior to configure auth.     Here’s a sample behavior I used about 6 years ago..

 

 

<endpointBehaviors>

      <behavior name="clientCredentials">

        <transportClientEndpointBehavior credentialType="SharedSecret">

          <clientCredentials>

            <sharedSecret issuerName="owner" issuerSecret="KOOTYjT35qUsxgdOWY7Gpq6E0tGP1o3+QO0vkGGinIY="/>

          </clientCredentials>

        </transportClientEndpointBehavior>

      </behavior>

</endpointBehaviors>

 

 

Just add this into the Neuron ESB explorer so that you can configure our client connector with it

Hi Marty,

thanks for the reply.

I've used the following and now it works. I've might be due to the change in the authentication model on Azure few years ago.

Neuron is creating the relay automatically on Azure, no need to set it up in advance, otherwise it will fail.

The call is routed to Neuron correctly. Still need some tuning but it might be a way to go..

<endpointBehaviors>

   <endpointBehaviors>

         <behavior name="clientCredentials"> <transportClientEndpointBehavior> <tokenProvider>               <sharedAccessSignature keyName="keyname" key="keyvalue"/>

</tokenProvider>

</transportClientEndpointBehavior>

</behavior>

</endpointBehaviors>

Fabrizio

Hi guys,

I've set this up.

Does anybody know whether it is possible to return a json body through the WebHttpRelay.

I get an error that it's expecting an xml... or at least trying to parse an xml message

Event Info: ClientConnector_AzureServiceBusWebRelayService

Exception: The XmlReader used for the body of the message must be positioned on an element.
Parameter name: reader

Thanks

Fabrizio

experiment with checking the checkbox for Raw Body

Hi Marty,

thanks for the quick reply.

I've tried to set the RawBody property but it fails

Event Info: ClientConnector_AzureServiceBusWebRelayService

Exception: Text cannot be written outside the root element.


Method: VerifyWhitespace

Stack: at System.Xml.XmlBaseWriter.VerifyWhitespace(String s)
at System.Xml.XmlBaseWriter.WriteRaw(String value)
at Neuron.Esb.EsbService.RawBodyWriter.OnWriteBodyContents(XmlDictionaryWriter writer)
at System.ServiceModel.Channels.BodyWriterMessage.OnWriteBodyContents(XmlDictionaryWriter writer)
at System.ServiceModel.Channels.Message.OnGetReaderAtBodyContents()
at Microsoft.ServiceBus.RelayedHttpUtility.ConvertWebResponseToSoapResponse(Message webResponse, String responseAction)
at Microsoft.ServiceBus.RelayHttpTransportReplyChannel.RelayHttpTransportRequestContext.Reply(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.Reply(MessageRpc& rpc)

ok...I'll hand this over to Joe.  I'm sure he'll know the right settings..

Hi Marty / Joe,

any update on this?

Thanks

Fabrizio

Joe is looking now

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