my $packager = SOAP::Lite::Packager::MIME->new; my $cmdService = SOAP::Lite ->packager($packager) ->parts([$entity]) ->uri($cmdNamespace) ->proxy($cmdEndpoint); my $cmdResponse = $cmdService->call( @argumentList #### SOAP::Transport::HTTP::Client::send_receive: POST https://localhost:9843/services/CLITunnelService HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 1664 Content-Type: Multipart/Related; type="text/xml"; start=""; boundary="----------=_1257541705-5420-0"; charset=utf-8 SOAPAction: "http://mycompanyname.com/webservices/skeleton/clitunnel#executeCommandUsingAttachments" This is a multi-part message in MIME format... ------------=_1257541705-5420-0 Content-Type: text/xml Content-Disposition: inline Content-Location: /main_envelope Content-ID: urn:uuid:F72A714A5C6621242B1257541698211ServerbulkAddServersC:/tempservers.csvUTF-8false ------------=_1257541705-5420-0 Content-Type: text/plain; name="C:\temp\servers.txt" Content-Disposition: attachment; filename="C:\temp\servers.txt" MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Location: /cid_0 Content-ID: Content-Transfer-Encoding: base64 TmFtZQphMTcKCgoKCgoKCg== ------------=_1257541705-5420-0--