tESBConsumer - Error Unmarshalling Request - Able to get response using SoapUI

Four Stars

tESBConsumer - Error Unmarshalling Request - Able to get response using SoapUI

I need to call a web-service (looks like a special web service, of some compaque_nsk_oss, I have no control over upgrading/changing that WS).

The wsdl of that webservice looks like this: 

image.pngwsdl of DummyPinService

I could call the “DummyPinService” using soapUI

  • It has sections <soapenv:Header> and <soapenv:Body>
  • Soap ui could get the response:

image.pngSoapUI call works great

 

Expt1: tESBConsumer using tXmlMap for payload fails. Looks like the tXmlMap is not providing Headers to ESBConsumer . Repository metadata was used for soapRequest.

 

Error: Error Unmarshalling Request.

image.pngtESBConsumer - payload - ErrorUnmarshallingRequest

 

Also tried ..

Expt2:  Create tXmlMap-payload + tXmlMap-header =  tMap_request -> tESBConsumer

Observation: <Header> section seems correct . I do not see <Envelop>, <Body> in the logged request.

Error : Error Unmarshalling Request.

 

image.pngHeader+Payload -> ErrorUnmarshallingRequest

What should I do to get the same effect as payload supplied to soapUI?

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:compaq_nsk_oss_SoapHeader" xmlns:urn1="urn:cpq_tns_ODINITS-RETRIEVE-DUMMYPIN">
   <soapenv:Header>
   <dummyTag>1</dummyTag>
   </soapenv:Header>
   <soapenv:Body>
      <urn1:ODINITS-RETRIEVE-DUMMYPIN>
         <urn1:header_data>
            <urn1:table_type>07</urn1:table_type>
            <urn1:sql_error>0</urn1:sql_error>
            <urn1:guardian_error>0</urn1:guardian_error>
            <urn1:eda_error>0</urn1:eda_error>
            <urn1:occurs_count>0</urn1:occurs_count>
            <urn1:total_rec_count>0</urn1:total_rec_count>
            <urn1:more_to_come>Y</urn1:more_to_come>
         </urn1:header_data>
         <urn1:rec_create_timestamp>1900-01-01:00:00:00.000000</urn1:rec_create_timestamp>
         <urn1:key_data_dummypin>
            <urn1:dummypin>0</urn1:dummypin>
         </urn1:key_data_dummypin>
      </urn1:ODINITS-RETRIEVE-DUMMYPIN>
   </soapenv:Body>
</soapenv:Envelope>

Thanks

Espresso

Moderator

Re: tESBConsumer - Error Unmarshalling Request - Able to get response using SoapUI

Hello,

The structure of payload is not correct for you when import it in tXmlMap?

 Did you create Service -> Import Existing WSDL with 'Import WSDL schemas on finish' checkbox?

Best regards

Sabrina

 

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch 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