Skip to content

Commit

Permalink
Added WSDL addPrefixes to add application specific Namespaces instead fo
Browse files Browse the repository at this point in the history
adding SOAP12ENV
  • Loading branch information
Sheeju Alex committed Aug 9, 2018
1 parent 58b3f34 commit 77aa3c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/psgi/calculator.psgi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use XML::Compile::SOAP11;
use XML::Compile::SOAP12;

use XML::Compile::Util 'pack_type';
use XML::Compile::SOAP::Util 'SOAP11ENV';
use XML::Compile::SOAP::Util qw/XC_DAEMON_NS SOAP11ENV/;

use Log::Report;

Expand All @@ -24,6 +24,7 @@ dispatcher PERL => 'default', mode => 'VERBOSE';
my $wsdl_filename = 'calculator.wsdl';

my $wsdl = XML::Compile::WSDL11->new($wsdl_filename);
$wsdl->addPrefixes(xcd => XC_DAEMON_NS);

my $daemon = XML::Compile::SOAP::Daemon::PSGI->new(
preprocess => sub {
Expand Down

0 comments on commit 77aa3c5

Please sign in to comment.