Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-2556

Character corruption using SOAPClient (SOAPUI)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5
    • Fix Version/s: 4.9
    • Component/s: Web Services
    • Labels:
      None

      Description

      When using SOAPUI using International characters can lead to character corruption.

      How to reproduce:

      Send chinese characters in the WS request to a webservice endpoint using the SOAPUI integration in JBossESB.

      Fix:

      In class org.jboss.soa.esb.actions.soap.SOAPClient change line 462:

      post.setRequestEntity(new StringRequestEntity(request));

      to

      StringRequestEntity requestEntity = new StringRequestEntity(request,"text/xml","UTF-8");
      post.setRequestEntity(requestEntity);

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dward David Ward
                Reporter:
                TheodoreS Theodore S
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: