[Zope] Problem with POST and text/xml

Michael Haubenwallner michael at d2m.at
Sat Jul 11 09:51:49 EDT 2009


-----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 of text/xml it assumes 
> that it is an xmlrpc call (which it is not - it is just passing xml data 
> within the POST request).
> 
> Is there a way to get Zope to turn off this "xmlrpc assumption" so that my 
> zope external method can process the xml data that is being passed?
> 

Did you think of using 'application/xml' instead of 'text/xml' ?
Everything should work as expected.

Regards
Michael

- --
http://blog.d2m.at
http://planetzope.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKWJj1l0uAvQJUKVYRAlZDAJ9a6wbEnRafVew2jPUttRmNjQKAtQCgh98/
kPSyOmTTHGBUSPmPy0V6Trw=
=s15f
-----END PGP SIGNATURE-----



More information about the Zope mailing list