Problem with discovery example

84 views
Skip to first unread message

Narayan, Jyothirmai (SCR US EXT)

unread,
May 23, 2011, 4:13:21 PM5/23/11
to ws4d-gso...@googlegroups.com
Hi,
 
I’m new to WS4d-gSOAP.  I just tried the examples and I could not get the discovery example (acs_advanced_GetStatus_client) to work.  The device is found but I get the following error:
 
Device  offers AirConditionerService at (null)
(/home/jnarayan/ws4d-gsoap-0.8.src/src/libdpws/ws4d_epr.c:313) assertion failed: (epr)
 
I am running the acs_simple_device executable on the device.  Can anyone help me with this?  Thanks!
 
Regards,
 
Jyothi Narayan
 
Siemens Corporate Research
 
 
 

Elmar Zeeb

unread,
May 24, 2011, 3:58:06 AM5/24/11
to ws4d-gso...@googlegroups.com
Hi Jyothirmai,

can you post the command lines you used to start the device and the client?

Regards,
Elmar

Am 23.05.2011 22:13, schrieb Narayan, Jyothirmai (SCR US EXT):
> Hi,
> I�m new to WS4d-gSOAP. I just tried the examples and I could not get the


> discovery example (acs_advanced_GetStatus_client) to work. The device is
> found but I get the following error:
> Device offers AirConditionerService at (null)
> (/home/jnarayan/ws4d-gsoap-0.8.src/src/libdpws/ws4d_epr.c:313) assertion
> failed: (epr)
> I am running the acs_simple_device executable on the device. Can anyone
> help me with this? Thanks!
> Regards,

> /*J*//*yothi*//*Narayan*/
> *Siemens Corporate Research*
> *(609)734-6500 Ext 2348*
> *jyothirmai....@siemens.com*
>
> --
> You received this message because you are subscribed to the Google
> Groups "WS4D-gSOAP Users" group.
> To post to this group, send email to ws4d-gso...@googlegroups.com.
> To unsubscribe from this group, send email to
> ws4d-gsoap-use...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/ws4d-gsoap-users?hl=en.

--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik
Institut f. Angewandte Mikroelektronik und Datentechnik
University of Rostock, Faculty of CS and EE
Institute of Applied Microelectronics and Computer Engineering,
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252
Email: elmar...@uni-rostock.de
www : http://www.imd.uni-rostock.de/, http://www.ws4d.org/
*******************************************************************************

Narayan, Jyothirmai (SCR US EXT)

unread,
May 24, 2011, 9:50:35 AM5/24/11
to ws4d-gso...@googlegroups.com

Hi Elmar,

Thanks for your prompt response. Here are the command lines:

On the device:
./acs_simple_device -i 192.168.10.15 -u urn:uuid:Jotys-router

On the client:

./acs_GetStatus_client -i 192.168.10.101 -d urn:uuid:Jotys-router

I know that the uuid is unusual but it works for all the other examples. I'm using version 0.8 with gSOAP V2.7.13.

I have a deadline to meet so I would appreciate your quick response. Thanks!

Jyothi



-----Original Message-----
From: ws4d-gso...@googlegroups.com [mailto:ws4d-gso...@googlegroups.com] On Behalf Of Elmar Zeeb
Sent: Tuesday, May 24, 2011 3:58 AM
To: ws4d-gso...@googlegroups.com
Subject: Re: Problem with discovery example

Hi Jyothirmai,

can you post the command lines you used to start the device and the client?

Regards,
Elmar

Am 23.05.2011 22:13, schrieb Narayan, Jyothirmai (SCR US EXT):
> Hi,

> I'm new to WS4d-gSOAP. I just tried the examples and I could not get

> the discovery example (acs_advanced_GetStatus_client) to work. The
> device is found but I get the following error:
> Device offers AirConditionerService at (null)
> (/home/jnarayan/ws4d-gsoap-0.8.src/src/libdpws/ws4d_epr.c:313)
> assertion
> failed: (epr)
> I am running the acs_simple_device executable on the device. Can
> anyone help me with this? Thanks!
> Regards,
> /*J*//*yothi*//*Narayan*/
> *Siemens Corporate Research*
> *(609)734-6500 Ext 2348*
> *jyothirmai....@siemens.com*
>
> --
> You received this message because you are subscribed to the Google
> Groups "WS4D-gSOAP Users" group.
> To post to this group, send email to ws4d-gso...@googlegroups.com.
> To unsubscribe from this group, send email to
> ws4d-gsoap-use...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/ws4d-gsoap-users?hl=en.

--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universität Rostock, Fakultät f. Informatik und Elektrotechnik


Institut f. Angewandte Mikroelektronik und Datentechnik
University of Rostock, Faculty of CS and EE
Institute of Applied Microelectronics and Computer Engineering,
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252
Email: elmar...@uni-rostock.de
www : http://www.imd.uni-rostock.de/, http://www.ws4d.org/
*******************************************************************************

--

Elmar Zeeb

unread,
May 24, 2011, 10:24:48 AM5/24/11
to ws4d-gso...@googlegroups.com
Am 24.05.2011 15:50, schrieb Narayan, Jyothirmai (SCR US EXT):
>
> Hi Elmar,
>
> Thanks for your prompt response. Here are the command lines:
>
> On the device:
> ./acs_simple_device -i 192.168.10.15 -u urn:uuid:Jotys-router
>
> On the client:
>
> ./acs_GetStatus_client -i 192.168.10.101 -d urn:uuid:Jotys-router
>
> I know that the uuid is unusual but it works for all the other examples. I'm using version 0.8 with gSOAP V2.7.13.
I can't reproduce your problem.

Can you please send me the SENT.log and RECV.log and your CMakeCache.txt
files to see what's the problem here?

Regards,
Elmar

--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik

Narayan, Jyothirmai (SCR US EXT)

unread,
May 24, 2011, 10:31:03 AM5/24/11
to ws4d-gso...@googlegroups.com
Here's the actual command line for the client:

./acs_advanced_GetStatus_client -i 192.168.10.101

The line given below was for the simple client. Sorry for the error

Narayan, Jyothirmai (SCR US EXT)

unread,
May 24, 2011, 1:07:07 PM5/24/11
to ws4d-gso...@googlegroups.com
Elmar, here are the files that you asked for. Thanks for your help!

-----Original Message-----
From: ws4d-gso...@googlegroups.com [mailto:ws4d-gso...@googlegroups.com] On Behalf Of Elmar Zeeb
Sent: Tuesday, May 24, 2011 10:25 AM
To: ws4d-gso...@googlegroups.com
Subject: Re: Problem with discovery example

Am 24.05.2011 15:50, schrieb Narayan, Jyothirmai (SCR US EXT):
>
> Hi Elmar,
>
> Thanks for your prompt response. Here are the command lines:
>
> On the device:
> ./acs_simple_device -i 192.168.10.15 -u urn:uuid:Jotys-router
>
> On the client:
>
> ./acs_GetStatus_client -i 192.168.10.101 -d urn:uuid:Jotys-router
>
> I know that the uuid is unusual but it works for all the other examples. I'm using version 0.8 with gSOAP V2.7.13.
I can't reproduce your problem.

Can you please send me the SENT.log and RECV.log and your CMakeCache.txt files to see what's the problem here?

Regards,
Elmar

--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universität Rostock, Fakultät f. Informatik und Elektrotechnik


Institut f. Angewandte Mikroelektronik und Datentechnik
University of Rostock, Faculty of CS and EE
Institute of Applied Microelectronics and Computer Engineering,
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252
Email: elmar...@uni-rostock.de
www : http://www.imd.uni-rostock.de/, http://www.ws4d.org/
*******************************************************************************

--

TEST.log
CMakeCache.txt
RECV.log
SENT.log

Elmar Zeeb

unread,
May 25, 2011, 3:56:11 AM5/25/11
to ws4d-gso...@googlegroups.com
Hi Jyothirmai,

it's a small fix:
http://trac.e-technik.uni-rostock.de/projects/ws4d-gsoap/changeset/441

Regards,
Elmar

Am 24.05.2011 19:07, schrieb Narayan, Jyothirmai (SCR US EXT):
> Elmar, here are the files that you asked for. Thanks for your help!
>
> -----Original Message-----
> From: ws4d-gso...@googlegroups.com [mailto:ws4d-gso...@googlegroups.com] On Behalf Of Elmar Zeeb
> Sent: Tuesday, May 24, 2011 10:25 AM
> To: ws4d-gso...@googlegroups.com
> Subject: Re: Problem with discovery example
>
> Am 24.05.2011 15:50, schrieb Narayan, Jyothirmai (SCR US EXT):
>>
>> Hi Elmar,
>>
>> Thanks for your prompt response. Here are the command lines:
>>
>> On the device:
>> ./acs_simple_device -i 192.168.10.15 -u urn:uuid:Jotys-router
>>
>> On the client:
>>
>> ./acs_GetStatus_client -i 192.168.10.101 -d urn:uuid:Jotys-router
>>
>> I know that the uuid is unusual but it works for all the other examples. I'm using version 0.8 with gSOAP V2.7.13.
> I can't reproduce your problem.
>
> Can you please send me the SENT.log and RECV.log and your CMakeCache.txt files to see what's the problem here?
>
> Regards,
> Elmar
>

--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universit�t Rostock, Fakult�t f. Informatik und Elektrotechnik

Narayan, Jyothirmai (SCR US EXT)

unread,
May 25, 2011, 9:09:05 AM5/25/11
to ws4d-gso...@googlegroups.com
Elmar, thanks so much! I will try it out and let you know.

Hi Jyothirmai,

Regards,
Elmar

--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universität Rostock, Fakultät f. Informatik und Elektrotechnik


Institut f. Angewandte Mikroelektronik und Datentechnik
University of Rostock, Faculty of CS and EE
Institute of Applied Microelectronics and Computer Engineering,
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252
Email: elmar...@uni-rostock.de
www : http://www.imd.uni-rostock.de/, http://www.ws4d.org/
*******************************************************************************

--

Narayan, Jyothirmai (SCR US EXT)

unread,
May 25, 2011, 9:57:49 AM5/25/11
to ws4d-gso...@googlegroups.com
Elmar, it works! I tried it with a single device. I will not try with multiple devices.

Appreciate your very prompt responses and great help!

Regards,

Jyothirmai

Hi Jyothirmai,

Regards,
Elmar

--

*******************************************************************************
Dipl.-Inf. Elmar Zeeb
Universität Rostock, Fakultät f. Informatik und Elektrotechnik


Institut f. Angewandte Mikroelektronik und Datentechnik
University of Rostock, Faculty of CS and EE
Institute of Applied Microelectronics and Computer Engineering,
18051 Rostock
Deutschland/Germany
Tel. : ++49 (0)381 498 - 7262
Fax : ++49 (0)381 498 - 7252
Email: elmar...@uni-rostock.de
www : http://www.imd.uni-rostock.de/, http://www.ws4d.org/
*******************************************************************************

--

Narayan, Jyothirmai (SCR US EXT)

unread,
May 25, 2011, 10:01:14 AM5/25/11
to ws4d-gso...@googlegroups.com
My previous message should have read: Ï will NOW try with multiple devices.

-----Original Message-----
From: ws4d-gso...@googlegroups.com [mailto:ws4d-gso...@googlegroups.com] On Behalf Of Narayan, Jyothirmai (SCR US EXT)
Sent: Wednesday, May 25, 2011 9:58 AM
To: ws4d-gso...@googlegroups.com

Subject: RE: Problem with discovery example

Narayan, Jyothirmai (SCR US EXT)

unread,
May 25, 2011, 12:14:43 PM5/25/11
to ws4d-gso...@googlegroups.com
Elmar,

I tried the fix with multiple devices and it works. Thanks again!

I have a couple of questions:

* Can the time for probing for devices be reduced from 10 seconds? By how much can it be reduced and what are the factors affecting this.
* Do you have an example for peer mode? Or do you have a complete list of changes required to operate in peer mode? There are references to peer mode in different parts of the manual but I was wondering if there was a separate document or section describing all the changes required in the code for this mode.

Thanks!

Reply all
Reply to author
Forward
0 new messages