Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

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




Messages by Day
March 31st 2007
March 30th 2007
March 29th 2007
March 28th 2007
March 27th 2007
March 26th 2007
March 25th 2007
March 24th 2007
March 23rd 2007
March 22nd 2007
March 21st 2007
March 20th 2007
March 19th 2007
March 18th 2007
March 17th 2007
March 16th 2007
March 15th 2007
March 14th 2007
March 13th 2007
March 12th 2007
March 11th 2007
March 10th 2007
March 9th 2007
March 8th 2007
March 7th 2007
March 6th 2007
March 5th 2007
March 4th 2007
March 3rd 2007
March 2nd 2007
March 1st 2007


Messages by Month
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000