You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Nestor Urquiza <ne...@gmail.com> on 2011/01/21 15:26:41 UTC
[org.apache.axiom.soap] org.apache.axiom.soap.SOAPProcessingException:
Only Characters are allowed here
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.'.
</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 (
)? Is
there a way around this problem? I am just consuming the web service
owned by a third party.
Thanks!
-Nestor
Re: [org.apache.axiom.soap] org.apache.axiom.soap.SOAPProcessingException:
Only Characters are allowed here
Posted by Andreas Veithen <an...@gmail.com>.
Nestor,
Do you have the stack trace of the SOAPProcessingException?
Andreas
On Fri, Jan 21, 2011 at 15:26, Nestor Urquiza <ne...@gmail.com> 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.'.
</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 (
)? Is
> there a way around this problem? I am just consuming the web service
> owned by a third party.
>
> Thanks!
> -Nestor
>