Hi,
I have a problem with xerces library.
I have a SOAP WS, that WS send among other things, date type data in weblogic 11 looks like this:
<birthday class="com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl"> <year>1952</year> <month>4</month> <day>17</day> <timezone>-360</timezone> <hour>0</hour> <minute>0</minute> <second>0</second> <fractionalSecond>0.000</fractionalSecond> </birthday>
EAP6 JBoss, however, looks like this:
<birthday class="org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl"> <orig__year>1944</orig__year> <orig__month>3</orig__month> <orig__day>1</orig__day> <orig__hour>0</orig__hour> <orig__minute>0</orig__minute> <orig__second>0</orig__second> <orig__fracSeconds>0.000</orig__fracSeconds> <orig__timezone>-300</orig__timezone> <year>1944</year> <month>3</month> <day>1</day> <timezone>-300</timezone> <hour>0</hour> <minute>0</minute> <second>0</second> <fractionalSecond>0.000</fractionalSecond> </birthday>
My config file looks like this:
<?xml version="1.0" encoding="UTF-8"?> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2"> <deployment> <exclusions> <module name="org.apache.xerces" /> </exclusions> <dependencies> <module name="sun.jdk" > </module> <system> <paths> <path name="com/sun/org/apache/xerces/internal/jaxp/datatype"/> </paths> </system> </dependencies> </deployment> </jboss-deployment-structure>
But the answer is still the same (the second case), I need the class comes internal jdk package(like the first case),
not the default implementation containing the Jboss(like the first case)
Any idea?
Thanks in advance for reading.