• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tSOAP response on wrong input

#1 2011-10-27 11:40:10

saukema
Member
Company: XSed
Registered: 2011-09-14
Posts: 127
Website

tSOAP response on wrong input

Hi,

I am trying to handle exceptions from a SOAP Call. Most of the time this process works great, but sometimes there is a malicious input.  So there are 2 kind of exceptions I would like to handle:
- exception responses by the webservice
- technical error 0responses

In the screenshot below I have entered a non-SOAP xml file in the message to produce this error.

It seems that there is no valid XML generated by the component. How should I handle this?


Uploaded Images

Last edited by saukema (2011-10-27 11:50:20)

Offline

#2 2011-10-31 09:05:43

shong
Talend team
Registered: 2007-08-29
Posts: 10350
Website

Re: tSOAP response on wrong input

Hi
For the exception response, using tLogCatcher component to capture the exception and log them into file or database.
For the technical error, is there any message printed on console if there is 0 response?

Best regards
Shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2011-11-03 09:44:10

saukema
Member
Company: XSed
Registered: 2011-09-14
Posts: 127
Website

Re: tSOAP response on wrong input

Hi, Thanks for your respons.

When the input in the XML looks like (for example):

Code:

<?xml version="1.0" encoding="UTF-8"?>
<header>
</header>

(invalid SOAP message, but correct XML Syntax)
The respons will be:

Code:

<Header /><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:VersionMismatch</faultcode><faultstring>Version Mismatch</faultstring><faultactor>http://schemas.xmlsoap.org/soap/actor/next</faultactor></env:Fault>

(invalid XML)
I would like to have valid XML, so I can map the faultstring to an e-mail or whatever.

Version used is 4.23

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » tSOAP response on wrong input

Board footer

Powered by FluxBB