New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
iOS Development Discussion on developing apps for the iOS platform.

How to send an xml as a string in iphone sdk?

Post Reply New Thread Subscribe

Thread Tools

Member Since: Oct 01, 2012
Posts: 27
manga is on a distinguished road

manga is offline
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap="">
<FullWomPrintsInsert xmlns="">
<xmlDoc><?xml version="1.0" encoding="utf-8"?><R><Root><CriteriaID>11</CriteriaID><Rating/></Root><Root><CriteriaID>10</CriteriaID><Rating/></Root><Root><CriteriaID>9</CriteriaID></Root><Root><CriteriaID>8</CriteriaID><Rating/></Root><Root><CriteriaID>7</CriteriaID><Rating/></Root><Root><CriteriaID>6</CriteriaID><Rating/></Root></R></xmlDoc></FullWomPrintsInsert>

i got bellow Error:
<Message>Data at the root level is invalid. Line 1, position 1.</Message>

Even if "stringByAddingPercentEscapesUsingEncoding" used for remove < And > characters.But i got same error.

Please help me out. how to resolve this issue.its urgent.

QUOTE Thanks

Post Reply New Thread Subscribe

« Retrive Apps name in iphone device | IOS 7 beta »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Doesn't anyone want an iPhone that works as a PHONE??? Crestwood330 iPhone Hardware and Accessories 31 01-04-2011 03:42 PM
Get an iPhone now or wait for Verizon?? 17MBPro iPhone Hardware and Accessories 7 10-20-2010 03:46 AM

All times are GMT -4. The time now is 04:51 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?