Summary | bad xml response returned by calendar.browse |
Queue | Kronolith |
Queue Version | 2.3.1 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | rpolli (at) babel (dot) it |
Created | 06/10/2009 (5865 days ago) |
Due | |
Updated | 06/16/2009 (5859 days ago) |
Assigned | 06/11/2009 (5864 days ago) |
Resolved | 06/11/2009 (5864 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
your are still only working with PEAR SOAP package, not the PHP soap
extension.
On which system (php/distro) do you run horde?
thx again,
R.
---
pear/soap is already installed and is the same as the released version 0.12.0
* PEAR Search Path (PHP's include_path):
/var/www/horde-webmail/lib:/var/www/horde-webmail/lib/../pear
* PEAR: Yes
* Recent PEAR: Yes
* Mail: Yes
* Mail_Mime: Yes
* Mail_mimeDecode: Yes
* Log: Yes
* DB: Yes
* MDB2: Yes
* Net_Socket: Yes
* Date: Yes
* Auth_SASL: Yes
* HTTP_Request: Yes
* HTTP_WebDAV_Server: Yes
* Net_SMTP: Yes
* Services_Weather: Yes
* Cache: Yes
* XML_Serializer: Yes
/usr/share/php instead?
the latest version? If yes, try installing the soap extension instead.
/var/www/horde-webmail/lib:/var/www/horde-webmail/lib/../pear
I'm using the released distributed with horde. Do I have to use
/usr/share/php instead?
latest version? If yes, try installing the soap extension instead.
backend.
the wsdl request in ./lib/Horde/RPC/soap.php the response is ok.
so, my fault..*sorry* :( anyway I'm still wondering if there's a way
to avoid that
Peace, R.
backend.
(Pdb) server.calendar.browse("user01",None)
*** Outgoing SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
<SOAP-ENV:Body>
<ns1:calendar.browse xmlns:ns1="urn:horde" SOAP-ENC:root="1">
<v1 xsi:type="xsd:string">user01</v1>
<v2 xsi:null="1"/>
</ns1:calendar.browse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
*** Incoming SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:horde"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns4:calendar.browseResponse>
<return xsi:type="ns4:hashHash">
<kronolith/user01/user01>
<name xsi:type="xsd:string">Events from user01's Calendar</name>
<icon
xsi:type="xsd:string">/horde-webmail/kronolith/themes/graphics/kronolith.png</icon>
<browseable xsi:type="xsd:boolean">true</browseable></kronolith/user01/user01>
<kronolith/user01/user01.ics>
<name xsi:type="xsd:string">user01's Calendar</name>
<icon
xsi:type="xsd:string">/horde-webmail/kronolith/themes/graphics/mime/icalendar.png</icon>
<browseable
xsi:type="xsd:boolean">false</browseable></kronolith/user01/user01.ics></return></ns4:calendar.browseResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
*** SAXParseException: <unknown>:12:11: not well-formed (invalid token)
the python call is:
R.
State ⇒ Feedback
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Milestone ⇒ 2.3.1
Queue ⇒ Kronolith
Summary ⇒ bad xml response returned by calendar.browse
Type ⇒ Bug
Priority ⇒ 3. High
maybe slashes can't be part of one tag..
<kronolith/user/cal>
...
</kronolith/user/cal>
<kronolith/user/cal.ics>
...
</kronolith/user/cal.ics>