You need to sign in to do that
Don't have an account?

SoapFault object not getting populated
The SoapFault object does not appear to be getting set correctly in all cases. I am seeing a SoapFault object returned from Create with a blank faultcode and faultstring, but the SOAP XML I get back is the following:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>java.lang.NumberFormatException: empty String</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Thanks!
Todd Breiholz
Meredith Corporation
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>java.lang.NumberFormatException: empty String</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Thanks!
Todd Breiholz
Meredith Corporation
Todd Breiholz
Meredith Corporation
Hi talanb,
Looks like a bug in the AJAX toolkit. I'll have a look and will get it fixed. Thanks for the heads up.
Well, I can't reproduce. Can you post the request (minus any sensitive info like session id)? When I create a soap fault using the code below, it seems to be populated ok.
ÂHi Todd,
Let me guess, this is happening in firefox right?
Ok, I did find a bug for the deserializer that prevented the SoapFault from being properly deserialized.
Until a patch is published you can paste the following code into your scontrol and it will override the toolkit version of this function:
Message Edited by DevAngel on 08-22-2005 12:30 PM