Hello, we call a WS with a Axis 2 nodes that returns the following XML structure:
<?xml version='1.0' encoding='utf-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getEquipmentInfoResponse xmlns:ns2="http://ws.krms.com/">
<return>
<equipmentNumber>10000001</equipmentNumber>
<sapEquipmentNumber>000000000010000001</sapEquipmentNumber>
<serialNumber>0000007</serialNumber>
</return>
</ns2:getEquipmentInfoResponse>
</S:Body>
</S:Envelope>
We created a complex variable with 3 fields with the same name and assigned it as output variable. But everything is messed up in the variables !
05/11/2013 16:51:59 DEBUG - 3CCBCA596E4ACC025B6C9BFB98D27DEB:/AlarmTest : Storing [000000000010000001] to: GetEquipmentInfoResponse:equipmentNumber
05/11/2013 16:51:59 DEBUG - 3CCBCA596E4ACC025B6C9BFB98D27DEB:/AlarmTest : Storing [0000007] to: GetEquipmentInfoResponse:sapEquipmentNumber
05/11/2013 16:51:59 DEBUG - 3CCBCA596E4ACC025B6C9BFB98D27DEB:/AlarmTest : Storing [0000007] to: GetEquipmentInfoResponse:serialNumber
When we look at the java code we don't see how it's suppose to work as it seems there is no real mapping between the xml fields and the variable fields.
Are we suppose to create custom java objects ? If yes, have you got a simple example ?
Bye,
Julien