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