|
|
 |
RE: FN-FORUM: SOAP & Web Services Help
date posted 1st March 2007 15:18
[EMAIL REMOVED] wrote:
> I have written a PHP client which generates a valid SOAP message to
> send to our web services server. However I am getting the error back:
>
> "An exception occurred while processing the internal request handler
> call:
> com.percussion.error.PSException: org.w3c.dom.DOMException:
> INVALID_CHARACTER_ERR: An invalid or illegal XML character is
> specified."
>
> Other web services have worked but this is the first one which
> requires plain text within the body of the SOAP message rather than
> as an attribute. e.g. something like has
> been used before and works but TEST hasn't.
>
> I think this is where the failure is. Does the text need to be
> encoded in a special way to send across HTTP? I have tried base64 &
> url encoding.
>
>
> Any help would be great,
> Thanks
> Mark.
>
>
> --------------------------------------------------------------------
> mail2web LIVE - Free email based on MicrosoftR Exchange technology -
> http://link.mail2web.com/LIVE
It sounds like you might be trying to pass &, < or > in the 'TEST' part of
your message. Is that right? If so, you'll need to pass those characters
in a different way because they confuse the XML parser.
Translate:
& to &
< to <
> to >
Or place the content inside
Andy
|
 |
|