Neuron ESB User Network

The Service Bus for the Connected Business

Hi guys,

I have a process that invokes an external service through the "Service Endpoint" step. The property Throw Exception on Fault is set to yes.

The service is answering with the following Soap Fault

HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Content-Length: 711
Date: Mon, 28 Nov 2016 12:03:57 GMT
Connection: close

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>An error was detected while executing the Web Service request. (10893)</faultstring>
<detail>
<ns1:FaultDetail xmlns:ns1="urn:soap-fault:details"><errorMessage>Web Service application not found: uri:kamstrup.com/schemas/Contract (10858)</errorMessage><requestID>bf52b677bfc471d0:-4f08337:158a4443c5f:-7fff#34de</requestID></ns1:FaultDetail>
</detail>
</SOAP-ENV:Fault>

</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

the message is audit in the MessageHistory table with FaultType = Server, but not exception is thrown and no message is logged in the Failed Message table.

I do not recall this behavior, all the services developed until now rely on the previous property for catching the error, as I would expect an exception to be thrown.

Am I missing anything?

Thank you very much

Fabrizio

Views: 798

Reply to This

Replies to This Discussion

When using the service endpoint step to call a REST service, and you've configured the REST tab on the service policy that the service endpoint is configured to use, you have to set the property "Throw Exception on Fault" to true in order for the exceptions thrown due to the policy to be caught in an exception handler in the process.  If you set that property to false all exceptions will be ignored by the process.

what happens if I do not configure the rest tab on the service policy ? Does it throw an exception? For every error code?

Fabrizio

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