freecwmp
[Top] [All Lists]

Re: Friendly ACS integration problem

To: Ivan Drobyshevskyi <drobyshevskyi@gmail.com>
Subject: Re: Friendly ACS integration problem
From: Luka Perkov <freecwmp@lukaperkov.net>
Date: Wed, 6 Feb 2013 17:30:03 +0100
Cc: freecwmp@linux-mips.org
In-reply-to: <CADAXeK0jkyqFskWWDrA3PM=efaSkvLym97U9+w0Sf9HTbB6Dtw@mail.gmail.com>
Mail-followup-to: Ivan Drobyshevskyi <drobyshevskyi@gmail.com>, freecwmp@linux-mips.org
Original-recipient: rfc822;freecwmp@linux-mips.org
References: <CADAXeK0jkyqFskWWDrA3PM=efaSkvLym97U9+w0Sf9HTbB6Dtw@mail.gmail.com>
Sender: freecwmp-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
Hi Ivan,

On Wed, Feb 06, 2013 at 12:13:58PM +0200, Ivan Drobyshevskyi wrote:
> I'm trying to do some initial integration and sanity testing of freecwmpd
> with Friendly ACS server. However freecwmpd reports error during initial
> communication, the problem seems to be that it expects <soapEnv:Body> tag
> while it actually receives <env:Body>. As a quick fix I replaced "if
> (asprintf(&c, "%s:%s", ns.soap_env, "Body") == -1)" line in xml.c with
> just "if (asprintf(&c, "%s:%s", "env", "Body") == -1)" and the problem
> disappeared.
> 
> Not sure if this is a bug in freecwmpd or ACS deviating from standards but
> hope it will be useful.
> 
> P.S. this is received HTTP response:
> 
> <env:Envelope xmlns:cwmp="urn:dslforum-org:cwmp-1-0" xmlns:env="
> http://schemas.xmlsoap.org/soap/envelope/";><env:Header></env:Header><env:Body><cwmp:InformResponse
> xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></env:Body></env:Envelope>

Please send me .pcap capture so I can take a look. Thank you.

Luka

<Prev in Thread] Current Thread [Next in Thread>