I have a problem with setting up an SOAPserver.
I have included how I set up my soapserver.
#!/usr/bin/perl -w
use strict;
use Carp ();
local $SIG{__WARN__} = \&Carp::cluck;
$|++;
use SOAP::Transport::HTTP;
my $daemon = SOAP::Transport::HTTP::Daemon
-> new (LocalAddr => 'queueitsoapserver.local', LocalPort => 8001,
Reuse => 1)
-> dispatch_to ('Server');
print "Contact SOAP server at ", $daemon->url, "\n";
$daemon->handle;
BEGIN {
package Server;
use base qw(SOAP::Server::Parameters);
(Here comes all the methods)
}
This is the error message I get when requesting the method createPDF
http://200.0.1.153:8001/Server got an error: SOAPAction shall match
'uri#method' if present (got 'http://200.0.1.153:8001/
Server#createPDF', expected 'http://
queueitservices.ppcbpe.loqutus.com#createPDF'
I think there is something with the namespace that is sended by the
client.
why do I get a message that the SOAPServer is explecting 'http://
queueitservices.ppcbpe.loqutus.com#createPDF'.?
Can I set up a namespace when creating the SOAPServer or overide it?
--
.·€¨)
¸.·´¸.·´¨) ¸.·*¨) ¸.·´¨)
(¸.·´ Thanks .·´ .·´
(_¸.·* (¸.·* (¸.·*´¯`*·€»
Bjorn Van Blanckenberg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>