SOAP attachments and WSDL

Hi all,

I’m doing a webservice that needs to transfer large files, so I’m using
the SOAP::Attachment class. It works fine. However I would like to
present a WSDL and I don’t know how to declare a function parameter as
an attachment. The only thing useful I have found in the web suggests
doing this

<xsd:schema targetNamespace=“
<xsd:simpleType name=“swaRef”>
<xsd:restriction base=“xs:anyURI” />


it says something about using the profile in

I don’t know what that is, but doing:


fails miserably as the URL

is forbidden for some reason.

Any suggestions?

Thanks for your time


I’m droping attachments altogether and passing the matrix as a string,
so don’t need this anymore. Seems like wsdl support for mime in soap4r
is lacking, so I thought: ‘if its a pain for me, it will probably be a
pain for the users’

Oh well…