how change wsa2004 to wsa2005 in ws4d ?

23 views
Skip to first unread message

Maxim Akristiniy

unread,
May 5, 2012, 5:04:43 AM5/5/12
to WS4D-gSOAP Users
I have problem - to understand client requests device must support
wsa2005.
In gsoap it was simple - add #import "wsa5.h"
how I can do similar in ws4d ?

Elmar Zeeb

unread,
May 5, 2012, 5:44:37 AM5/5/12
to ws4d-gso...@googlegroups.com
ws4d-gsoap is an implementation of the devices profile for web services
(dpws). You have to switch dpws version in ws4d-soap. DPWS 1.0 uses wsa
2004, DPWS1.1 uses wsa2005. You can switch the DPWS_VERSION with cmake.
For example with ccmake .. (in your build configuration directory) you
can change the variable DPWS_VERSION from 2006_02 (DPWS Verion 1.0) to
2009_01 (DPWS Version 1.1)

Regards,
Elmar

--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
EXIST-Gr�nderstipendiat Projekt �PipesBox�
Institut f�r Angewandte Mikroelektronik und Datentechnik
Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252
Email: elmar...@googlemail.com
www : http://www.pipesbox.de/
*******************************************************************************

Maxim Akristiniy

unread,
May 11, 2012, 2:21:33 AM5/11/12
to WS4D-gSOAP Users
do I need to rebuild ws4d-gsoap for it ?

On May 5, 1:44 pm, Elmar Zeeb <elmar.z...@googlemail.com> wrote:
> Am 05.05.2012 11:04, schrieb Maxim Akristiniy:> I have problem - to understand client requests device must support
> > wsa2005.
> > In gsoap it was  simple - add #import "wsa5.h"
> > how I can do similar in ws4d ?
>
> ws4d-gsoap is an implementation of the devices profile for web services
> (dpws). You have to switch dpws version in ws4d-soap. DPWS 1.0 uses wsa
> 2004, DPWS1.1 uses wsa2005. You can switch the DPWS_VERSION with cmake.
> For example with ccmake .. (in your build configuration directory) you
> can change the variable DPWS_VERSION from 2006_02 (DPWS Verion 1.0) to
> 2009_01 (DPWS Version 1.1)
>
> Regards,
> Elmar
>
> --
>
> *******************************************************************************
>    Dipl.-Inf. Elmar Zeeb
>    EXIST-Gr nderstipendiat Projekt PipesBox
>    Institut f r Angewandte Mikroelektronik und Datentechnik
>    Universit t Rostock, Fakult t f. Informatik und Elektrotechnik
>    18051 Rostock
>    Deutschland/Germany
>    Tel. : ++49 (0)381 498 - 7262
>    Fax  : ++49 (0)381 498 - 7252
>    Email: elmar.z...@googlemail.com
>    www  :http://www.pipesbox.de/
> *******************************************************************************

Maxim Akristiniy

unread,
May 11, 2012, 3:27:47 AM5/11/12
to WS4D-gSOAP Users
there are problems with DPWS 1.1
1. I need to change gsoap from 2.7.17 to 2.7.13 (because 2.7.17
causing errors with DPWS 1.1)- and there are errors in work with MTOM
attachments in 2.7.13
2. seems onvif device manager and onvif conformance test not
supporting new WS-Discovery in DPWS 1.1, them can't find device.

result : ws4d-gsoap not for onvif devices with events support ?

On May 5, 1:44 pm, Elmar Zeeb <elmar.z...@googlemail.com> wrote:
> Am 05.05.2012 11:04, schrieb Maxim Akristiniy:> I have problem - to understand client requests device must support
> > wsa2005.
> > In gsoap it was  simple - add #import "wsa5.h"
> > how I can do similar in ws4d ?
>
> ws4d-gsoap is an implementation of the devices profile for web services
> (dpws). You have to switch dpws version in ws4d-soap. DPWS 1.0 uses wsa
> 2004, DPWS1.1 uses wsa2005. You can switch the DPWS_VERSION with cmake.
> For example with ccmake .. (in your build configuration directory) you
> can change the variable DPWS_VERSION from 2006_02 (DPWS Verion 1.0) to
> 2009_01 (DPWS Version 1.1)
>
> Regards,
> Elmar
>
> --
>
> *******************************************************************************
>    Dipl.-Inf. Elmar Zeeb
>    EXIST-Gr nderstipendiat Projekt PipesBox
>    Institut f r Angewandte Mikroelektronik und Datentechnik
>    Universit t Rostock, Fakult t f. Informatik und Elektrotechnik
>    18051 Rostock
>    Deutschland/Germany
>    Tel. : ++49 (0)381 498 - 7262
>    Fax  : ++49 (0)381 498 - 7252

Maxim Akristiniy

unread,
May 11, 2012, 3:58:20 AM5/11/12
to WS4D-gSOAP Users
It's strange onvif conformance test using for discovery wsa2004, but
later for actions in header using wsa2005.
Intresting, can I implement both in one application ?
Do I need to rebuild ws4d-gsoap to change from DPWS 1.0 to DPWS 1.1 ?

On May 5, 1:44 pm, Elmar Zeeb <elmar.z...@googlemail.com> wrote:
> Am 05.05.2012 11:04, schrieb Maxim Akristiniy:> I have problem - to understand client requests device must support
> > wsa2005.
> > In gsoap it was  simple - add #import "wsa5.h"
> > how I can do similar in ws4d ?
>
> ws4d-gsoap is an implementation of the devices profile for web services
> (dpws). You have to switch dpws version in ws4d-soap. DPWS 1.0 uses wsa
> 2004, DPWS1.1 uses wsa2005. You can switch the DPWS_VERSION with cmake.
> For example with ccmake .. (in your build configuration directory) you
> can change the variable DPWS_VERSION from 2006_02 (DPWS Verion 1.0) to
> 2009_01 (DPWS Version 1.1)
>
> Regards,
> Elmar
>
> --
>
> *******************************************************************************
>    Dipl.-Inf. Elmar Zeeb
>    EXIST-Gr nderstipendiat Projekt PipesBox
>    Institut f r Angewandte Mikroelektronik und Datentechnik
>    Universit t Rostock, Fakult t f. Informatik und Elektrotechnik
>    18051 Rostock
>    Deutschland/Germany
>    Tel. : ++49 (0)381 498 - 7262
>    Fax  : ++49 (0)381 498 - 7252
Reply all
Reply to author
Forward
0 new messages