Skip to Main Content
Integration


This is an IBM Automation portal for Integration products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Future consideration
Workspace API Connect
Created by Guest
Created on Jan 16, 2023

Need to implement UTF-16 while converting xml to Json and vice versa

As per the customers special requirement, need to implement UTF-16 while converting xml to JSON and vice versa.

Idea priority Medium
  • Guest
    Reply
    |
    Apr 3, 2023

    Thank you for submitting the Enhancement request. Even though DataPower is a supporting program of API Connect we do not support all the same features and capabilities that standalone product. We will continue to evaluate this and all other RFE requests for future product releases.

  • Guest
    Reply
    |
    Feb 10, 2023

    Hi Team,


    We have attached a screenshot for UTF-16 request payload, request header, response header, and error message.

    In this error message we are referring to the flow like

    Request flow -

    Customer Portal(UTF-8) -> API Gateway(parse through UTF-8) -> Backend system(Trackwizz)

    Response flow -

    Backend system(Trackwizz)(UTF-16) -> API Gateway (convert XML to JSON using UTF-16 encoding) -> Customer Portal (JSON response)


    In a response flow why API gateway converting XML to JSON using UTF-16 encoding. We are getting an error message "500 Internal Server Error". Also in response header content type showing as "text/xml".


    Please help on this and let us know if you need more details.


    Thanks,

    Anant


  • Guest
    Reply
    |
    Feb 9, 2023

    Hi Team,


    Customer wants to apply UTF-16 encoding for their future transactions.

    Curruntly the transaction hapens using UTF-8 encoding. As per the business requriment both request and response are using UTF-16 encoding.

    While we are implementing the same UTF-16 encoding in datapower we are getting error as "500 Internal Error".

    And unable to get any successful response.

    So requesting your help to know the implementation of UTF-16 encoding in datapower.

    Currently we are using datapower version 10.0.1.


    Thanks,

    Anant

  • Guest
    Reply
    |
    Feb 3, 2023

    UTF-16 error screenshot for the same

  • Guest
    Reply
    |
    Feb 3, 2023

    Hello Team,

    We tried to convert XML data to JSON format. We have successfully convert data XML to JSON when we used namespace as "<?xml version="1.0" encoding="UTF-8"?>" in XML data but when we changed the encoding type as "UTF-16" then we are getting the error.

    Please find below sample payload of UTF-16 to need to convert in application/json

    XML Payload:

    <?xml version="1.0" encoding="UTF-16"?>

    <Numbers>

    <Fno>25</Fno>

    <Sno>30</Sno>

    </Numbers>

    Please find attached screenshot which we are getting error from UTF-16 payload.