Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

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
Highlighted
Eight Stars

Re: Parse a response from the SOAP call

in a cProcessor,

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

View solution in original post


All Replies
Highlighted
Eight Stars

Re: Parse a response from the SOAP call

in a cProcessor,

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

View solution in original post

Highlighted
Six Stars

Re: Parse a response from the SOAP call

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

Re: Parse a response from the SOAP call

The one I said in my previous comment : exchange

Highlighted
Six Stars

Re: Parse a response from the SOAP call

Can you write Java code?
Highlighted
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

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read