[Top] [All Lists]

Friendly ACS integration problem

Subject: Friendly ACS integration problem
From: Ivan Drobyshevskyi <>
Date: Wed, 6 Feb 2013 12:13:58 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;

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=""><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>



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