in reply to Caturing incoming XML from SOAP server

See SOAP::Server/ACCESSING-ATTRIBUTE-VALUES of SOAP::SOM, you can use womething like
use vars qw(@ISA); @ISA = qw(SOAP::Server::Parameters); sub sendMsg2Vbs { my $self = shift; my $envelope = pop;

$envelope is a SOAP::SOM object

you can get the raw xml with  $envelope->context->request->content

Replies are listed 'Best First'.
Re^2: Caturing incoming XML from SOAP server
by gackles (Novice) on Feb 26, 2016 at 21:05 UTC

    Thank you for your response! I tried your example and I received this error: Can't call method "context" on unblessed reference at /var/www/soap/vbsservice.pm line 55. I get this 'unblessed' error whenever I try accessing the data or som object. Any help would be appreciated. Thanks again.

      I tried your example and I received this error: Can't call method "context" on unblessed reference at /var/www/soap/vbsservice.pm line 55.

      Then you didn't try what I suggested, you probably left out the @ISA stuff

        Thanks. I did use your code exactly. I just trapped the actual message coming into my server from the client with WireShark. The client is using a POST to send me the message. Apparently this changes how I should handle the message on my end since my test client that uses a soap 'call' method works fine. Can anyone shed light on this? It seems that all attributes are missing from the message once it gets to my soap server.