Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Invalid XML character' in web service response
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01352953
Message ID:
01353027
Views:
22
OIC thanks...it's just one tag in the whole xml in this case, but that should do it...

Thanks
Jaime

>Hi,
>
>Sorry, should have been more detailed. You need to send the full XML but the element containing the compressed string needs to be something like:
><CompressedString>
><![CDATA[compressedstuffgoeshere]]>
></CompressedString>
>However it's not foolproof. If the CDATA section content happens to include the ']]>' end marker sequence then the XML is screwed. The only way around that is to use something like Base64 encoding - but then you'd lose a lot of the compression you were after in the first place
>:={
>
>
>
>
>>can i just return
<CDATA>adfadfadfadfadfad</CDATA>
or do i have to create full xml (ie root node etc...)
>>
>>Jaime
>>
>>>Hi,
>>>
>>>Put it in a CDATA tag
>>>
>>>>Hi all
>>>>I have a web service that returns back a very big string. I improved it by compressing the string before sending it, and now i get at the client the error message in Title. Is there a setting i have to change for it to send the binary data? It's a plain vanilla VFP web service.
>>>>
>>>>Thanks
>>>>Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform