freecwmp
[Top] [All Lists]

Friendly ACS integration problem

To: freecwmp@linux-mips.org
Subject: Friendly ACS integration problem
From: Ivan Drobyshevskyi <drobyshevskyi@gmail.com>
Date: Wed, 6 Feb 2013 12:13:58 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=FJjwz/gR+rUENGQavFyRIdqPd/Faoefoln6N/0GzWBc=; b=DCY4SJHOby4NaiOYCM/pTrOoPQ0JyP/GVVNKOESOw9swUoTX2kuNco8kRHbVxVWnL3 m5gicYFnfKTw1w0jK7B+vAVjnPcWKADz/q/O+rZ3BgHvffUtmnU/Ky3SaP5Ht3m51YXa Z4LSHWuTKk16Ez9ry7rwWcq4Pwwd4xh9vS9H2uL9oy2iBTRey1q9msSDFsOwpp9OrC6F M4CvQrwlSa6QjJdDkcGL/Od7oiAnLqT075gDvA5ah3r4mk9Z3joxrab3urY2rPYsao14 HDg0JZwBWkNJFR4j1tgbNuQaJo2mPiV10MnqzKDAaVP1QJplXGGoSYkooyclmOKG1OQj s1bw==
Original-recipient: rfc822;freecwmp@linux-mips.org
Sender: freecwmp-bounce@linux-mips.org
Hi,

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>

Thanks,

Ivan

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