[esb-issues] [JBoss JIRA] Updated: (JBESB-1553) SOAPClient action remappes objects with null strings to empty strings

Jiri Pechanec (JIRA) jira-events at lists.jboss.org
Wed Mar 12 02:28:58 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBESB-1553?page=all ]

Jiri Pechanec updated JBESB-1553:
---------------------------------

    Attachment: LineItem.java

> SOAPClient action remappes objects with null strings to empty strings
> ---------------------------------------------------------------------
>
>                 Key: JBESB-1553
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1553
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web Services
>    Affects Versions: 4.2.1 CP1
>            Reporter: Jiri Pechanec
>         Assigned To: Tom Fennelly
>             Fix For: 4.2.1 CP2
>
>         Attachments: LineItem.java, Order.java
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list