From my CFMX7 application, I make a call to a Java Web service that returns me
the following SOAP message:

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:as="http://localhost:8080/ServerASAP/schemas/asap.wsdl"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<as:Response>
<as:SenderKey>
http://localhost:8080/ServerASAP/services/si</as:SenderKey>
<as:ReceiverKey>
FF</as:ReceiverKey>
<as:RequestID>
FF</as:RequestID>
</as:Response>
</env:Header>
<env:Body>
<as:CreateInstanceRs>
<as:InstanceKey>
http://localhost:8080/ServerASAP/services/instances/ik=47</as:InstanceKey>
</as:CreateInstanceRs>
</env:Body>
</env:Envelope>

This is a valid XML document, but CF gives me the following error message:

AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode:
faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a child
element, which is NOT expected, in something it was trying to deserialize.
faultActor: faultNode: faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
SimpleDeserializer encountered a child element, which is NOT expected, in
something it was trying to deserialize. at
org.apache.axis.encoding.ser.SimpleDeserializer.on StartChild(SimpleDeserializer.
java:144) at ......

The VERY STRANGE THING is that I made the webservice call from within a
<cftry> block like this:

<cftry>
<cfset my_result = ws.createInstance(param)>
<cfcatch>
<cfdump var="#getSOAPResponse(ws)#">
</cfcatch>
</cftry>

The CFDUMP of the getSOAPResponse() in <cfcatch> block displays the
correctly-parsed version of the returned SOAP message!!
Am I doing anything wrong?

Is a CF BUG???

Please help me
Thanks in advance

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:as="http://localhost:8080/ServerASAP/schemas/asap.wsdl"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<as:Response>
<as:SenderKey>
http://localhost:8080/ServerASAP/services/si</as:SenderKey>
<as:ReceiverKey>
FF</as:ReceiverKey>
<as:RequestID>
FF</as:RequestID>
</as:Response>
</env:Header>
<env:Body>
<as:CreateInstanceRs>
<as:InstanceKey>
http://localhost:8080/ServerASAP/services/instances/ik=47</as:InstanceKey>
</as:CreateInstanceRs>
</env:Body>
</env:Envelope>