I think there is no MTOM but Axis2 will support SOAP with attachments automatically. Please let us focus on the thread question "bad Content-UD".
I am trying to install Perl 5.10.1 on a Linux machine to see if this is a platform specific bug. This is going badly. SOAP::Lite won't install, as LWP won't install, because URI won't install.
Trying with "/usr/bin/curl -L -f -s -S --netrc-optional" to get
"http://www.perl.org/CPAN/authors/id/G/GA/GAAS/URI-1.40.tar.gz"
curl: (22) The requested URL returned error: 502
Function system("/usr/bin/curl -L -f -s -S --netrc-optional "http:
+//www.perl.org/CPAN/authors/id/G/GA/GAAS/URI-1.40.tar.gz" > /root/.c
+pan/sources/authors/id/G/GA/GAAS/URI-1.40.tar.tmp1885")
returned status 22 (wstat 5632)
Warning: expected file [/root/.cpan/sources/authors/id/G/GA/GAAS/URI-1
+.40.tar.gz.tmp1885] doesn't exist
Trying with "/usr/bin/wget -O /root/.cpan/sources/authors/id/G/GA/GAAS
+/URI-1.40.tar.tmp1885" to get
"http://www.perl.org/CPAN/authors/id/G/GA/GAAS/URI-1.40.tar.gz"
--05:06:45-- http://www.perl.org/CPAN/authors/id/G/GA/GAAS/URI-1.40.t
+ar.gz
=> `/root/.cpan/sources/authors/id/G/GA/GAAS/URI-1.40.tar.t
+mp1885'
Resolving www.perl.org... 207.171.7.63
Connecting to www.perl.org|207.171.7.63|:80... connected.
HTTP request sent, awaiting response... 502 Bad Gateway
05:06:45 ERROR 502: Bad Gateway.
|