Menu

#6 Namespaces

v1.0_(example)
open
nobody
None
5
2016-08-24
2016-08-23
No

Hello!

I'm developing custom onvif device and try to implement WS-discovery. When I send 'hello' or 'probeMathes' with namespace xmlns:wsa5="http://www.w3.org/2005/08/addressing" Device manager don't understand them. when I'm changing namespace to "http://schemas.xmlsoap.org/ws/2004/08/addressing" - all works well. Is it right or am I missing something?

I use gsoap 2.8.33 and generate ws-discovery code with import/wsdd5.h (ws-discovery 1.0 with ws-addressing 2005/08 - wsdd5 uncommented in typemap.dat) + wsddapi plugin for gsoap.
namespace mapping table for addressing and discovery:
{"wsa5", "http://www.w3.org/2005/08/addressing", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL},
{"wsdd", "http://schemas.xmlsoap.org/ws/2005/04/discovery", NULL, NULL},

Discussion

  • Andrey Vrana

    Andrey Vrana - 2016-08-23

    Please contact me by skype: andreyvrana

     
  • Maxim Kuklin

    Maxim Kuklin - 2016-08-23

    sorry, I have no skype. May be email or viber?

     
  • Andrey Vrana

    Andrey Vrana - 2016-08-23

    Ok.
    my phone (Viber): +375295002069
    email: andrey.vrana@gmail.com

     
  • Maxim Kuklin

    Maxim Kuklin - 2016-08-24

    It looks like gSOAP bug.

    Workaround: change namespace mapping table to

    {"wsa5", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL, NULL},
    {"wsdd", "http://schemas.xmlsoap.org/ws/2005/04/discovery", NULL, NULL},
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.