WS4D-gSOAP and JMEDS

36 views
Skip to first unread message

ak08

unread,
Jan 7, 2011, 7:25:21 AM1/7/11
to WS4D-gSOAP Users
Hi,

i have a problem using WS4D-gSOAP and JMEDS together. I'd like to
implement the service/device with WS4D-gSOAP and the client with
JMEDS. Therefore i first build the Airconditioner example and started
it up, without experiencing any problems. Then i tried to connect to
the service with a simple JMEDS program and the DPWS-Explorer as well.
Both report a search timeout and can't find any devices/services while
the Airconditioner device always reports the following error:

SOAP 1.2 fault: SOAP-ENV:Sender [no subcode]
"Header line too long"
Detail: [no detail]

Is this related due to any DPWS-Version conflicts?

My setup is the following:
The device and the WS4D-gSOAP installation is running on an
ubuntu-10.04 64bit virtual machine. I installed gsoap 2.7.13 and ws4d
0.8.

The client part is running with th current jmeds 2.0.0-beta3 release
and a sun jre 1.6.0_23.

I also recognized the error when trying to run the DPWS-Explorer
within the same virtual machine as the Airconditioner device.

Thanks for your help,
andreas

Elmar Zeeb

unread,
Jan 7, 2011, 7:43:27 AM1/7/11
to ws4d-gso...@googlegroups.com
Am 07.01.2011 13:25, schrieb ak08:
> Hi,
>
> i have a problem using WS4D-gSOAP and JMEDS together. I'd like to
> implement the service/device with WS4D-gSOAP and the client with
> JMEDS. Therefore i first build the Airconditioner example and started
> it up, without experiencing any problems. Then i tried to connect to
> the service with a simple JMEDS program and the DPWS-Explorer as well.
> Both report a search timeout and can't find any devices/services while
> the Airconditioner device always reports the following error:
>
> SOAP 1.2 fault: SOAP-ENV:Sender [no subcode]
> "Header line too long"
> Detail: [no detail]
>
> Is this related due to any DPWS-Version conflicts?
Correct, thats the issue. JMEDS supports DPWS V1.1 (i think the beta
should support V1.0 also) and ws4d-gsoap supports V1.0 and V1.1 but V1.0
is activated by default. This is a compile time switch, and you can
change it by setting DPWS_VERSION to 2009_01 with ccmake or with cmake
-DDPWS_VERSION:STRING="2009_01"

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/
*******************************************************************************

Reply all
Reply to author
Forward
0 new messages