List Info

Thread: Updated: (JBWS-2122) XmlElementWrapper + XmlElement annotations do not




Updated: (JBWS-2122) XmlElementWrapper + XmlElement annotations do not
country flaguser name
United States
2008-04-10 01:00:54
     [ 
http://jira.jboss.com/jira/browse/JBWS-2122?page=all ]

Thomas Diesler updated JBWS-2122:
---------------------------------

    Priority: Major  (was: Critical)

Please let us set the priority

> XmlElementWrapper + XmlElement annotations do not work
on incoming SOAP
>
------------------------------------------------------------
-----------
>
>                 Key: JBWS-2122
>                 URL: http://ji
ra.jboss.com/jira/browse/JBWS-2122
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>         Environment: WIndowsXP / FreeBSD
>            Reporter: Sergey Abramov
>         Assigned To: Thomas Diesler
>
> I am using document based web services on top of EJB3
and I recently upgraded from 4.0.5.GA to 4.2.2.GA. 
> After the upgrade the following method stopped working
when I was sending data to the JBoss from my Flex
application:
> XmlElementWrapper(name="ids")
> XmlElement(name="id")
> public Set<Long> getIds() {
>     return ids == null ? new HashSet<Long>() :
ids;
> }
> Here is the SOAP that was sent across:
> <?xml version="1.0"
encoding="utf-8"?>
> <SOAP-ENV:Envelope xmlnssd=&q
uot;http://www.w3.
org/2001/XMLSchema" xmlns:SOAP-ENV="http:
//schemas.xmlsoap.org/soap/envelope/" xmlnssi=&q
uot;http://www.w3
.org/2001/XMLSchema-instance"><SOAP-ENV:Body>&
lt;ns0:executeDeleteLabels xmlns:ns0="ht
tp://com.coldcore/diva2/main-service"><arg0>&l
t;site>ac1</site><ids><id>62653</id&
gt;</ids></arg0></ns0:executeDeleteLabels>
</SOAP-ENV:Body></SOAP-ENV:Envelope>
> "ids" set in the method above was always null
on 4.2.2.GA, and worked as expected on 4.0.5.GA
> After trying to find a solution in the internet I found
that this might be caused by JBossXB, so I replaced all the
"jboss-xml-binding.jar" in 4.2.2.GA with older
versions from 4.0.5.GA (I also replaced all the jaxb-xxx.jar
just in case). And it worked! The method returned
"ids" as expected. I assume that
"jboss-xml-binding.jar" under 4.2.2.GA is bugged.

-- 
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.atl
assian.com/software/jira

        
_______________________________________________
jbossws-issues mailing list
jbossws-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossws-issues

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )