SOAP Requests fail when URLBase is not set
Brought to you by:
skonno
The method setRequestHost() in
org.cybergarage.upnp.control.ControlRequest assignes
reqHost an empty string and reqPort -1 if there is no
URLBase specified in the description. This has the effect
that all requests fail due to having no host or port. I
have attached the patched code (from clink110d.jar),
however think this is the 'quick and dirty' solution.
Logged In: YES
user_id=416507
Hi Suzan,
I think the fix I submitted deal with the problem you are
seeing as well.
The same problem can be extended to situtation when
both baseURL and controlURL are specified where baseURL
and controlURL each having different port. My fix also deal
with this problem.
When you have time please take a look at it. The fix is
posted under the title "Sending Control to Linksys router".
Have fun.
best regards,
Steven
Logged In: YES
user_id=825516
Steven,
Yes, your fix seems to deal with the problem. Tnx!
Regards,
Suzan Foster.
Logged In: YES
user_id=559351
Thanks for your report.
I will check your code and merge my latest pakcages with
your comment :-)
Logged In: YES
user_id=559351
I added your codes with some modification, and released as
v1.1e. I am developing the C++ version of CyberLink now.
and your codes are included the version. So many thanks v
(^_^ v).
Logged In: YES
user_id=825516
sounds very good. i would be more than happy to test your
C++ implementation :)