Hi,
I have a problem with deserializing an object that was serialized correct.
The classes looks like this:
public class Remark
{
private String text;
private String airline;
private String officeId;
private CheckRemarkType _Type;
... getter/setter ...
}
public class CheckRemarkType
{
private String _CheckRemarkType;
... getter/setter ...
}
The WSDD file:
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="CRSBridgeWebService" provider="java:RPC">
<requestFlow>
<handler type="soapmonitor"/>
</requestFlow>
<responseFlow>
<handler type="soapmonitor"/>
</responseFlow>
<parameter name="className" value="CRSBridgeWebService" />
<parameter name="allowedMethods" value="*" />
<beanMapping qname="ns:local"
xmlns:ns="someNamespace8"
languageSpecificType="java:com.tietoenator.crsbridge.xml.classes.Remark" />
<beanMapping qname="ns:local" xmlns:ns="someNamespace12"
languageSpecificType="java:com.tietoenator.crsbridge.xml.classes.CheckRemarkType" />
Now I have sent the Remark Object to my WebService. The WebService only returns the send Remark Object. But both SOAP documents are different. In the request I have an xsd:array with many items. But in the reply I have an xsd:array with no items in it.
Does anybody know what I have done wrong? Should I use an ArrayDeserializer?
thanks in advance,
Bjoern Klatt