SOAPRPC and attachment

Hi,

I have jad client.class to get soapRPC, which I have got to work in an own package. The problem I have that I cannot figure out how to bind an attachment to this post:
<pre>
<?xml version=“1.0” encoding=“UTF-8”?>
<soapenv:Envelope xmlns:soapenv=“[url=“http://schemas.xmlsoap.org/soap/envelope/”]http://schemas.xmlsoap.org/soap/envelope/[/url]” xmlns:xsd=“[url=“XML Schema”]http://www.w3.org/2001/XMLSchema[/url]” xmlns:xsi=“[url=“http://www.w3.org/2001/XMLSchema-instance”]http://www.w3.org/2001/XMLSchema-instance[/url]”>
<soapenv:Body>
<ns1:recieveOrder soapenv:encodingStyle=“[url=“http://schemas.xmlsoap.org/soap/encoding/”]http://schemas.xmlsoap.org/soap/encoding/[/url]” xmlns:ns1=“ExtMessageProcessor”>
<source href=“cid:ED827B6C443078ABD4D044E9E711E925” xmlns:ns2=“C14_RecieveExtMessage”/>
</ns1:recieveOrder>
</soapenv:Body>
</soapenv:Envelope>
</pre>
How can I attach the document: ED827B6C443078ABD4D044E9E711E925 to the soap-message as an attachment?

Please help!

Thanks in advance! Best regards Dave

Any luck with this? I am looking at trying to attach documents to SOAP messages without the use of WM Glue.

Here is what worked for us (Test package attached). Basically, we use mime services to build the soap message with attachment. You will understand once you look at the code. But this one does http-post, but I am guessing you can easily modify it for RPC.

Test package contaning do_SoapWithAttachment
Test.zip (21.7 k)