|
|
 |
RE: FN-FORUM: SOAP & Web Services Help
date posted 1st March 2007 15:24
Thanks for the reply but I am literally passing the string 'TEST' so there=
is no special characters=2E I've tried serializing the string, encoding it=
to
base64 & tried it within CDATA tags and the same error is returned=2E
Original Message:
-----------------
From: Andy Henderson [EMAIL REMOVED]
Date: 1 Mar 2007 15:24:00 -0000
To: [EMAIL REMOVED]
Subject: RE: FN-FORUM: SOAP & Web Services Help
[EMAIL REMOVED] wrote:
> I have written a PHP client which generates a valid SOAP message to
> send to our web services server=2E However I am getting the error back:=20=
>=20
> "An exception occurred while processing the internal request handler
> call:=20
> com=2Epercussion=2Eerror=2EPSException: org=2Ew3c=2Edom=2EDOMException:
> INVALID=5FCHARACTER=5FERR: An invalid or illegal XML character is
> specified=2E"=20
>=20
> 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=2E e=2Eg=2E something like has
> been used before and works but TEST hasn't=2E =20=
>=20
> I think this is where the failure is=2E Does the text need to be
> encoded in a special way to send across HTTP=3F I have tried base64 &
> url encoding=2E =20
>=20
>=20
> Any help would be great,
> Thanks
> Mark=2E
>=20
>=20
> --------------------------------------------------------------------
> mail2web LIVE - Free email based on MicrosoftR Exchange technology -
> http://link=2Email2web=2Ecom/LIVE=20
It sounds like you might be trying to pass &, < or > in the 'TEST' part of=
your message=2E Is that right=3F If so, you'll need to pass those charac=
ters
in a different way because they confuse the XML parser=2E
Translate:
& to &
< to <
> to >
Or place the content inside
Andy
--=20
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www=2Eprosperity4=2Ecom
and benefit from Inland Revenue approved expenses today=2E
To advertise here: http://www=2Efreelancers=2Enet/advertising=2Ehtml
Unsubscribe: http://www=2Efreelancers=2Enet/rm/9E8657990F1C7BE4FDA1
To Post a New Message: [EMAIL REMOVED]
Forum Homepage: http://www=2Efreelancers=2Enet/forum=2Ephp
http://www=2Efreelancers=2Enet - freelancers and freelance jobs
--------------------------------------------------------------------
mail2web=2Ecom =96 What can On Demand Business Solutions do for you=3F
http://link=2Email2web=2Ecom/Business/SharePoint
|
 |
|