Parse a response from the SOAP call

Six Stars

Parse a response from the SOAP call

When I call the SOAP service with cCXF component(RAW mode) I get back the respons in the log

...BodyType: sun.net.www.protocol.http.HttpURLConnection.HttpInputStream, Body: [Body is instance of java.io.InputStream], Out: null: ]

How can I see the response?

 

This is my setting

image.png


Accepted Solutions
Eight Stars

Re: Parse a response from the SOAP call

in a cProcessor,

 system.out.println(exchange.getIn().getBody(String.class))

All Replies
Eight Stars

Re: Parse a response from the SOAP call

in a cProcessor,

 system.out.println(exchange.getIn().getBody(String.class))
Six Stars

Re: Parse a response from the SOAP call

What Java object contains response and how can I retrieve it?
Eight Stars

Re: Parse a response from the SOAP call

The one I said in my previous comment : exchange

Six Stars

Re: Parse a response from the SOAP call

Can you write Java code?
Eight Stars

Re: Parse a response from the SOAP call

exchange.getIn().getBody(String.class).

 

This is very basic route stuff, I guess you should first take time to learn thoses basics

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch