freecwmp
[Top] [All Lists]

xml handling failed

To: Luka Perkov <freecwmp@lukaperkov.net>
Subject: xml handling failed
From: w c <griscruf@gmail.com>
Date: Sun, 20 Jan 2013 09:01:19 -0500
Cc: freecwmp@linux-mips.org
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:cc :content-type; bh=Ugcohfy0zGu424crLCuU3F0xXvuYytFQEbDEFd0mDIQ=; b=GnVietkQosRDl3/8xZvfSpRJGNK+3Ko1dimFCD8wFnH7jAxpL9PIcQHXbhHZ6N4xpd muFbqk7EiJ8Y8jII7XdiV693LdICGEXPjxbkiGru5/EF4+GrMP6neQqQ/8b48Kf8frGe joej6VG1XheqyVbmhKuV8CCHD5nk3SzFmvZ4nLMeyGbBABSSzaLqerxtE53tCztaJMqp gShyJHp5oRhlrsORXqc3YWRJfPF+187xHKJBU7qgiAGhEaAyKPaetaiBY1wcun0XJYC9 28X+raUYSuK2QM2iZxRNsfImrU3MtZHXdjGPbAjb+9RHc2aX6OyF4H6fLEjSBMmHRq9j qFbQ==
Original-recipient: rfc822;freecwmp@linux-mips.org
Sender: freecwmp-bounce@linux-mips.org
Hi, when i use freecwmp/openWRT to connect to openACS, i do see the
Inform data, but when i script a GetParameterValues, then freecwmp
prints an error:

+++ RECEIVED HTTP RESPONSE +++
<SOAP-ENV:Envelope
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><SOAP-ENV:Header><cwmp:ID
SOAP-ENV:mustUnderstand="1">ID:intrnl.unset.id.GetParameterValues1358635296219.17036041</cwmp:ID><cwmp:NoMoreRequests>0</cwmp:NoMoreRequests></SOAP-ENV:Header><SOAP-ENV:Body><cwmp:GetParameterValues
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><ParameterNames
SOAP-ENC:arrayType="xsd:string[1]"><string>InternetGatewayDevice.DeviceInfo.Manufacturer</string></ParameterNames></cwmp:GetParameterValues></SOAP-ENV:Body></SOAP-ENV:Envelope>---
RECEIVED HTTP RESPONSE ---
cwmp_handle_messages(159): xml handling message failed
cwmp_inform(111): handling xml message failed

this works when i use freecwmp/fedora13.  so i thought maybe the
sources where old in openWRT, but i see this in the Makefiles:

PKG_SOURCE_URL:=git://dev.libfreecwmp.org/libfreecwmp
PKG_SOURCE_URL:=git://dev.freecwmp.org/freecwmp

so doesnt that mean its pulling the latest?

when i send a GetParameterValues from the perl-cwmp server to
freecwmp/OpenWRT, then i just get a crash:

+++ RECEIVED HTTP RESPONSE +++
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
               xmlns:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
               xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
  <soap:Header>
    <cwmp:NoMoreRequests>0</cwmp:NoMoreRequests>
  </soap:Header>
  <soap:Body>
    <cwmp:GetParameterValues>
      <ParameterNames encodingStyle:arrayType="xsd:string[1]">
        <string>InternetGatewayDevice.DeviceInfo.ProvisioningCode</string>
      </ParameterNames>
    </cwmp:GetParameterValues>
  </soap:Body>
</soap:Envelope>--- RECEIVED HTTP RESPONSE ---
Segmentation fault
root@OpenWrt:/#

any ideas on what is going on in these cases?

thanks!

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