cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP adapter receives HTML response to original request

Former Member
0 Kudos

Hi,

I am using the HTTP adapter to post to a dynamic URL.

This works fine but the response will be in HTML format.

I would like to send this back through XI to the originating CRM system where the HTML will be attached to a business partner.

I guess I will need to somehow translate the HTML to XML to process through XI and then go the other way in the ABAP proxy from XML to HTML.

I need some help / advice on how to achieve this and whether this will be possible.

Kind regards

Colin.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

The HTML response was the default response. If we set a field in the original request then the response is XML.

former_member206604
Active Contributor
0 Kudos

Hi,

In the mapping you can using XSLT/Java/ABAP mapping to transform the HTML to a required XML strucutre.

Please post the final XML strucure that you need and also the HTML that you are receiving back.

Regards,

Prakash

Former Member
0 Kudos

HI,

I also need to convert back into HTML when it arrives at the destination system.

Kind regards

Colin.

Former Member
0 Kudos

Hi,

Maybe try to create such xsd structure on both sides (inbound, outbound)

html (occurs:1) type xsd:string

Then you should be able to send the content of html either using xslt or graphical mapping(this one I'm not sure, please check it).

Regards,

Wojciech