home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
SOAP Help
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jameson_uk" data-source="post: 566405" data-attributes="member: 11220"><p>I am trying to use Gemx's webservices for TV but it has been a while since I programmed and SOAP is bit new to me....</p><p></p><p>Request and Response below but I can not figure out what I am missing (the service is working with Gemx's default TvServiceWebServices.asmx?op=GetChannelsInTvGroup call to group 11 so not sure what I am missing here...)</p><p></p><p>Someone point out the error I have made?</p><p></p><p>[code]POST /TvServiceWebServices.asmx HTTP/1.0</p><p>Host: 192.168.1.3:8080</p><p>User-Agent: NuSOAP/0.7.3 (1.114)</p><p>Content-Type: text/xml; charset=ISO-8859-1</p><p>SOAPAction: "http://tempuri.org/GetChannelsInTvGroup"</p><p>Content-Length: 530</p><p></p><p><?xml version="1.0" encoding="ISO-8859-1"?></p><p><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" </p><p> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" </p><p> xmlns:xsd="http://www.w3.org/2001/XMLSchema" </p><p> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" </p><p> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"></p><p> <SOAP-ENV:Body></p><p> <ns9347:GetChannelsInTvGroup xmlns:ns9347="http://tempuri.org"></p><p> <idGroup xsi:type="xsd:int">11</idGroup></p><p> </ns9347:GetChannelsInTvGroup></p><p> </SOAP-ENV:Body></p><p></SOAP-ENV:Envelope>[/code]</p><p></p><p>And getting a respone of this (ie. no data)</p><p>[code]HTTP/1.1 200 OK</p><p>Server: Microsoft-Cassini/1.0.0.0</p><p>Date: Sun, 24 Jan 2010 14:45:24 GMT</p><p>X-AspNet-Version: 2.0.50727</p><p>Cache-Control: private, max-age=0</p><p>Content-Type: text/xml; charset=utf-8</p><p>Content-Length: 365</p><p>Connection: Close</p><p></p><p><?xml version="1.0" encoding="utf-8"?></p><p><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" </p><p> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" </p><p> xmlns:xsd="http://www.w3.org/2001/XMLSchema"></p><p> <soap:Body></p><p> <GetChannelsInTvGroupResponse xmlns="http://tempuri.org/"></p><p> <GetChannelsInTvGroupResult /></p><p> </GetChannelsInTvGroupResponse></p><p> </soap:Body></p><p></soap:Envelope>[/code]</p></blockquote><p></p>
[QUOTE="jameson_uk, post: 566405, member: 11220"] I am trying to use Gemx's webservices for TV but it has been a while since I programmed and SOAP is bit new to me.... Request and Response below but I can not figure out what I am missing (the service is working with Gemx's default TvServiceWebServices.asmx?op=GetChannelsInTvGroup call to group 11 so not sure what I am missing here...) Someone point out the error I have made? [code]POST /TvServiceWebServices.asmx HTTP/1.0 Host: 192.168.1.3:8080 User-Agent: NuSOAP/0.7.3 (1.114) Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "http://tempuri.org/GetChannelsInTvGroup" Content-Length: 530 <?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 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/"> <SOAP-ENV:Body> <ns9347:GetChannelsInTvGroup xmlns:ns9347="http://tempuri.org"> <idGroup xsi:type="xsd:int">11</idGroup> </ns9347:GetChannelsInTvGroup> </SOAP-ENV:Body> </SOAP-ENV:Envelope>[/code] And getting a respone of this (ie. no data) [code]HTTP/1.1 200 OK Server: Microsoft-Cassini/1.0.0.0 Date: Sun, 24 Jan 2010 14:45:24 GMT X-AspNet-Version: 2.0.50727 Cache-Control: private, max-age=0 Content-Type: text/xml; charset=utf-8 Content-Length: 365 Connection: Close <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetChannelsInTvGroupResponse xmlns="http://tempuri.org/"> <GetChannelsInTvGroupResult /> </GetChannelsInTvGroupResponse> </soap:Body> </soap:Envelope>[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
SOAP Help
Contact us
RSS
Top
Bottom