Hi,
I've problem with convert SDO to XML when I use method save from XMLHelper.
Problem this oocure only on server (JBOSS) not in standalone application.
I init Data Object:
cjddo1 = DataFactory.INSTANCE.create("http://com.xyz",
"adapter_FindAccountInput");
And print this Data Object:
System.out.println(XMLHelper.INSTANCE.save(cjddo1,null,"FindAcc"));
------------------------------------------------------------------------------------------------------STANDALONE
IS
OK--------------------------------------------------------------------------------------------
And result:
<?xml version="1.0" encoding="ASCII"?>
<FindAcc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:adapter="http://com.xyz" xsi:type="adapter:adapter_FindAccountInput">
<header>
<errorCode>333</errorCode>
<functionName>search</functionName>
<offset>no i offset</offset>
<accessKey>key</accessKey>
</header>
<accountSearchQuery>
<productGroup>ZZX</productGroup>
</accountSearchQuery>
</FindAcc>
---------------------------------------------------------------------------------------------------SERVER-----------------------------------------------------------------------------------------------------------------------------
And result from server:
<?xml version="1.0" encoding="ASCII"?>
<findAcc href="root.xml#/"/>
Does anyone know how can i resolve this problem??