Opened 13 years ago
Closed 13 years ago
#9646 closed Developer Task (Fixed)
MythXML Rewrite Tracking Ticket
Reported by: | Raymond Wagner | Owned by: | dblain |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | Bindings - XML/JSON | Version: | Master Head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description (last modified by )
This ticket is to serve as bug tracking for the rewrite of the XML interface committed at 856b61b5378c .
Change History (8)
comment:3 Changed 13 years ago by
Replying to wagnerrp:
In Guide/GetProgramDetails?, Programs is included as an empty child of Channel.
Channel data sould not have been a child of Program... Fixed in https://github.com/MythTV/mythtv/commit/30f26e095.
comment:4 Changed 13 years ago by
Updates XMLConnection and MythXML for support of the rewritten interface. The _query, _queryObject, and _queryTree methods have been removed in favor of a _request, which returns a modified urllib2.Request object. The Request object can accept additional headers or post data, and offers the following additional methods:
open() - return a file object to the response read() - return the response as a text string readXML() - return the response processed using XML etree readJSON() - return the response processed as JSON data
refs #9646
Changeset: c542f3f7cdb0ddf91982a79efcfa33497231e979
comment:5 Changed 13 years ago by
Fixes parameter name issue with GetPreviewImage?.
The methods prototype as defined in the header file is used to supply the parameter names (uses moc's metadata) for web service calls.
Changeset: 1eb47901d83f8912f94df47228c55084edd3254e
comment:6 Changed 13 years ago by
Only the Myth wsdl page works. All other pages cause a segmentation fault in the backend.
#0 0x000000080ce78480 in ?? () No symbol table info available. #1 0x0000000802b4c75a in Wsdl::CreateType (this=0x7fffff9fd0f0, pParent=0x0, sTypeName=@0x7fffff9fc520) at wsdl.cpp:400 oTypeNode = {<QDomNode> = {impl = 0x80d00c420}, <No data fields>} oSeqNode = {<QDomNode> = {impl = 0x802b4c4b0}, <No data fields>} pMetaObject = Variable "pMetaObject" is not available.
comment:7 Changed 13 years ago by
Fixes seg fault in wsdl methods, however it still produces incorrect WSDL.:
refs #9646
Changeset: e7aa67b01647d664b284530a7a702bd7ae0dff58
comment:8 Changed 13 years ago by
Resolution: | → Fixed |
---|---|
Status: | new → closed |
I am tentatively closing this as the initial issues all seem to have been ironed out (and the API is being used to great effect in various places-- thanks David!)
In Guide/GetProgramDetails?, Programs is included as an empty child of Channel.