Problem: zope interprets POST requests with a Content-Type of "text/xml" to
be xmlrpc requests.
Work-around (requires Apache as a reverse proxy): use Apache to re-write the
Content-Type header of the incoming request before it gets to zope using the
following directives:
SetEnvIfNoCase Conten
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jonathan (dev101) wrote:
>> Just out of curiosity I ran a test using content-type of
>> 'application/xml'
>> and zope does not raise the xmlrpc error (as it does with content-type of
>> 'text/xml'), but the POST content is not available within
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan (dev101) wrote:
> Just out of curiosity I ran a test using content-type of 'application/xml'
> and zope does not raise the xmlrpc error (as it does with content-type of
> 'text/xml'), but the POST content is not available within the REQUEST
"Michael Haubenwallner" wrote in message
news:4a5898f5.8040...@d2m.at...
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jonathan (dev101) wrote:
>> I need to support a third party web service (which is not within my
>> control)
>> that wants to send xml data to my zope server (Zope 2
As a quick test I modified HTTPRequest.py to turn off the zope assumption
that all POST requests with content-type of text/xml are xmlrpc requests.
This had the effect of eliminating the xmlrpc error that zope was raising,
but a side effect is that the xml data is not available within the REQUES
- Original Message -
From: "Michael Haubenwallner"
To:
Sent: Saturday, July 11, 2009 9:51 AM
Subject: Re: [Zope] Problem with POST and text/xml
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jonathan (dev101) wrote:
>> I need to support a third par
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan (dev101) wrote:
> I need to support a third party web service (which is not within my control)
> that wants to send xml data to my zope server (Zope 2.9.2 running on Redhat
> linux).
>
> When Zope receives a POST request with a Content-Type
On 11.07.09 15:22, Jonathan (dev101) wrote:
>
> There were some differences between my Zope 2.9.2 installation and the patch
> instructions:
>
>
Zope 2.9 is pretty much out-of-date.
-aj
--
ZOPYX Ltd. & Co KG \ ZOPYX & Friends
Charlottenstr. 37/1 \ Das Expertennetzwerk für
>- Original Message -
>From: "Andreas Jung"
>To: "Jonathan (dev101)"
>Cc:
>Sent: Friday, July 10, 2009 4:30 PM
>Subject: Re: [Zope] Problem with POST and text/xml
>
> https://bugs.launchpad.net/zope2/+bug/373663
>
> -aj
>
>
Roughly because of this I ended up writing the web service part of the
app in Grok instead of Zope.
2009/7/10 Jonathan (dev101) :
> I need to support a third party web service (which is not within my control)
> that wants to send xml data to my zope server (Zope 2.9.2 running on Redhat
> linux).
>
https://bugs.launchpad.net/zope2/+bug/373663
-aj
On 10.07.09 21:24, Jonathan (dev101) wrote:
> I need to support a third party web service (which is not within my control)
> that wants to send xml data to my zope server (Zope 2.9.2 running on Redhat
> linux).
>
> When Zope receives a POST reque
I need to support a third party web service (which is not within my control)
that wants to send xml data to my zope server (Zope 2.9.2 running on Redhat
linux).
When Zope receives a POST request with a Content-Type of text/xml it assumes
that it is an xmlrpc call (which it is not - it is just p
12 matches
Mail list logo