/[cwmp]/google/lib/CWMP/Response.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /google/lib/CWMP/Response.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (show annotations)
Mon Jun 18 20:07:17 2007 UTC (17 years ago) by dpavlin
File size: 582 byte(s)
a huge chunk of changes implementing skeleton for request and response as
well as some tests
1 package CWMP::Response;
2
3 use strict;
4 use warnings;
5
6 use XML::Generator;
7
8 my $X = XML::Generator->new(':pretty');
9
10 my $ns = [
11 encodingStyle => "http://schemas.xmlsoap.org/soap/encoding/",
12 ];
13
14 my $cwmp = [ cwmp => 'urn:dslforum-org:cwmp-1-0' ];
15 my $soap = [ soap => "http://schemas.xmlsoap.org/soap/envelope/" ];
16
17 print $X->Envelope( $soap, { 'soap:encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/" },
18 $X->Header( $soap,
19 $X->ID( $cwmp, { mustUnderstand => 1 }, 1234 ),
20 ),
21 $X->Body( $soap,
22 $X->InformResponse( $cwmp,
23 $X->MaxEnvelopes( $cwmp, 1 )
24 )
25 ),
26 );
27

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26