Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.4K Intelligent Advisor
- 75 Insurance
- 537.7K On-Premises Infrastructure
- 138.7K Analytics Software
- 38.6K Application Development Software
- 6.1K Cloud Platform
- 109.6K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.3K Infrastructure Software
- 105.4K Integration
- 41.6K Security Software
Can OSB call a external service that response html text?

KP The Middle Man
Member Posts: 42 Blue Ribbon
Recently come across a service that response a media type text/html when error.
We have a rest proxy and a rest business proxy, what we came across was the response come as binary when check in the pipeline and we are still finding a proper way to encode the binary become a string content in an XML element.
Also some research shows a workaround,
- using a java call out
- service call out a proxy that receive binary and response text.
I would like to know is there a better way that OSB platform itself have the way or function to be used.
Answers
-
In OSB XQuery, there are service bus functions - binary-to-text() and binary-to-xml(), you can use one of them and convert.