@Korbinian. I agree with Alexander - I am successfully using base64 
encode/decode to pass all kinds of XML data to OXID, including jpg images. This 
is a reliable way to ensure data fidelity across the internet, even between 
very different operating systems. In my case the XML is transferred inside a 
SOAP envelope (I've written a very simple SOAP server PHP module for CE) and 
originates in a C# + MS-SQL program on a Windows server, but the principle is 
the same for any XML RPC, HTTP GET / POST or REST source / destination pair.

CPJ



________________________________
From: Alexander Kludt <[email protected]>
To: [email protected]
Sent: Thu, May 27, 2010 12:06:16 PM
Subject: Re: [oxid-dev-general] Using POST to send data to Oxid Module

or you could base64 encode the xml before sending it there
-- 

mit freundlichen Grüßen
Alexander Kludt
__________________________


[email protected] schrieb:
> How about converting the "htmlspcialchars" (<>) to their HTML-entities 
> (&lt;&gt;...) before sending, and reconverting them before processing?
>
> So OXID would not see any XML?
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] 
> [mailto:[email protected]] Im Auftrag von Korbinian Ober
> Gesendet: Donnerstag, 27. Mai 2010 11:35
> An: [email protected]
> Betreff: [oxid-dev-general] Using POST to send data to Oxid Module
>
> Hi everyone,
>
> we are currently trying to create a new way to upload to stock to Oxid shops 
> with our interface connector. Usually we sent data with GET method and 
> appended XML with stock. We want to change this to POST so we can actually 
> update more items in one go. But when I try to POST data to our module, Oxid 
> somehow tries to interpret the XML I've sent and I get a lot of strange 
> errors.
> Can someone help me how I can send POST data to a special Oxid Module?
>
> Thanks a lot,
>
> Korbinian
>
> _______________________________________________
> dev-general mailing list
> [email protected]
> http://dir.gmane.org/gmane.comp.php.oxid.general



      
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to