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

SOAPClient action remappes objects with null strings to empty strings

    Details

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

      Description

      Use webservice_consumer2 quickstart and use the attached files - contains enhanced equals and toString defintions. Make sure that option1 is used.
      The object with following contents is sent to processing to ivoke web service
      id = 101 lineItems = [Line Item ID= 1 Price=10.0 Ship To=aname, Line Item ID= 2 Price=20.0 Ship To=aname2] shipTo = null

      But in the web service processing method the contents is
      id = 101 lineItems = [Line Item ID= 1 Price=10.0 Ship To=aname, Line Item ID= 2 Price=20.0 Ship To=aname2] shipTo =

      The difference is in shipTo property which was set tu null on the input but comes to web service as empty string.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kconner Kevin Conner
                  Reporter:
                  jpechanec Jiri Pechanec
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: