Forum Discussion
Siemens__s_r_o_
12 years agoOccasional Contributor
Hi Markus,
Thanks for the suggestion.
With log.info(requestContent.getNodeValue("arg"));, I'm getting "Thu Dec 12 08:50:19 CET 2013:INFO:null".
log.info(requestContent.getXml()); prints whole incoming request:
So the content is really there.
What am I doing wrong?
Thanks,
Jakub
Thanks for the suggestion.
With log.info(requestContent.getNodeValue("arg"));, I'm getting "Thu Dec 12 08:50:19 CET 2013:INFO:null".
log.info(requestContent.getXml()); prints whole incoming request:
Thu Dec 12 08:47:01 CET 2013:INFO:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<Message xmlns="http://www.iec.ch/TC57/2008/schema/message">
<Header>
<Verb>CREATE</Verb>
<Noun>EndDeviceAssets</Noun>
<MessageID>507-MeterAdd-1372758778123</MessageID>
</Header>
<Payload>
<EndDeviceAssets:EndDeviceAssets xmlns:EndDeviceAssets="http://iec.ch/TC57/2009/EndDeviceAssets#" xmlns="http://iec.ch/TC57/2009/EndDeviceAssets#">
<EndDeviceAsset>
<arg>somestring</arg>
</EndDeviceAsset>
</EndDeviceAssets:EndDeviceAssets>
</Payload>
</Message>
</env:Body>
</env:Envelope>
So the content is really there.
What am I doing wrong?
Thanks,
Jakub