Skip to content

Commit

Permalink
Added header elements to perl WS-Discovery proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
altaroca committed Apr 10, 2016
1 parent 1558353 commit 2125faa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ sub ProbeOp {

},
header => {

'use' => 'literal',
namespace => 'http://schemas.xmlsoap.org/ws/2004/08/addressing',
encodingStyle => '',
parts => [qw(WSDiscovery10::Elements::To WSDiscovery10::Elements::Action)],

},
headerfault => {

Expand Down
5 changes: 5 additions & 0 deletions onvif/proxy/lib/WSDiscovery10/Typemaps/WSDiscovery.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ our $typemap_1 = {
'ProbeMatches/ProbeMatch/EndpointReference' => 'WSDiscovery10::Types::EndpointReferenceType',
'ProbeMatches/ProbeMatch/EndpointReference/ReferenceProperties' => 'WSDiscovery10::Types::ReferencePropertiesType',
'ProbeMatches/ProbeMatch/EndpointReference/PortType' => 'WSDiscovery10::Types::AttributedQName'
'MessageID' => 'WSDiscovery10::Elements::MessageID',
'RelatesTo' => '__SKIP__',
'To' => '__SKIP__',
'Action' => '__SKIP__',
'AppSequence' => '__SKIP__',
};
;

Expand Down

0 comments on commit 2125faa

Please sign in to comment.