This repository has been archived by the owner on May 9, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"Applied fix from trunk for revision: 1243026"
------------------------------------------------------------------------ r1243026 | jleroux | 2012-02-11 11:50:56 +0100 (sam., 11 févr. 2012) | 12 lines OFBiz SOAP implementation was not handling * null values in Map * BigDecimal * correctly TimeStamp format (we use xsd:dateTime in ModelService.getTypes()) So CXF was not able to unmarshall a List of Maps with those types in them. It does not introduce any regressions: * A new specific SOAP null type is introduced using ("nillable","true") and ("xsi:nil","true) attributes. I had also to set the http://www.w3.org/2001/XMLSchema-instance schema on the null node. Because it was impossible to add it in the envelope header, not a big deal anyway. * I introduced a 'T' in the TimeStamp format. It's is OK, the deserialisation handles it well (we use xsd:dateTime, see http://www.w3.org/TR/xmlschema-2/#dateTime)/. We don't handle TimeZone... * BigDecimal was missing and is now correctly handled. I used 10 decimals and half up rounding (ROUND_HALF_UP) Also improves the SOAPEventHandler.sendError() method by passing the serviceName in the message ------------------------------------------------------------------------ � git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release11.04@1384258 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
1 parent
2d546bc
commit fad892c
Showing
3 changed files
with
89 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters