Nestor,

Do you have the stack trace of the SOAPProcessingException?

Andreas

On Fri, Jan 21, 2011 at 15:26, Nestor Urquiza <[email protected]> wrote:
> Hello,
>
> I am getting the subject exception:
>
> 2011-01-20 17:14:56,195 DEBUG
> [org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder] - Build the
> OMElement faultcode by the StaxSOAPModelBuilder
> 2011-01-20 17:14:56,199 ERROR [com.nestorurquiza] -
> org.apache.axiom.soap.SOAPProcessingException: Only Characters are allowed 
> here
>
> For the below SOAP fault message:
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
>    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>    xmlns:nsg="http://geneva.advent.com";>
>    <SOAP-ENV:Body id="_0">
>        <SOAP-ENV:Fault>
>            <faultcode>SOAP-ENV:Client</faultcode>
>            <faultstring>Login attempt by user 'user' failed. Status =
>                'Attempt to get the lock timed out.'.&#xA;</faultstring>
>            <detail>Monitor Error</detail>
>        </SOAP-ENV:Fault>
>    </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> I am logging with TRACE level so I assume Axiom is complaining about
> <faultstring> element. Is it because of the HTML entity (&#xA;)? Is
> there a way around this problem? I am just consuming the web service
> owned by a third party.
>
> Thanks!
> -Nestor
>

Reply via email to