#7 SOAP Requests fail when URLBase is not set

closed-fixed
Satoshi Konno
None
9
2003-09-10
2003-08-22
Suzan Foster
No

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.

Discussion

  • Suzan Foster
    Suzan Foster
    2003-08-22

     
    Attachments
  • Steven Yen
    Steven Yen
    2003-08-25

    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

     
  • Suzan Foster
    Suzan Foster
    2003-08-25

    Logged In: YES
    user_id=825516

    Steven,

    Yes, your fix seems to deal with the problem. Tnx!

    Regards,
    Suzan Foster.

     
  • Satoshi Konno
    Satoshi Konno
    2003-08-31

    • assigned_to: nobody --> skonno
     
  • Satoshi Konno
    Satoshi Konno
    2003-08-31

    • priority: 5 --> 9
     
  • Satoshi Konno
    Satoshi Konno
    2003-08-31

    Logged In: YES
    user_id=559351

    Thanks for your report.

    I will check your code and merge my latest pakcages with
    your comment :-)

     
  • Satoshi Konno
    Satoshi Konno
    2003-09-10

    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).

     
  • Satoshi Konno
    Satoshi Konno
    2003-09-10

    • status: open --> closed-fixed
     
  • Suzan Foster
    Suzan Foster
    2003-09-10

    Logged In: YES
    user_id=825516

    sounds very good. i would be more than happy to test your
    C++ implementation :)