For now it is only a test. However I will not have access to the web
service code that I'm supposed to call. So... I cannot change the
parameters...
Here is the WSDL concerning the method:
<wsdl:message name="withAttachment">
<wsdl:part name="attachment" type="swa:swaRef"/>
<wsdl:part name="aString" type="xsd:string"/>
<wsdl:part name="aLong" type="xsd:long"/>
<wsdl:part name="aBoolean" type="xsd:boolean"/>
<wsdl:part name="anInt" type="xsd:integer"/>
</wsdl:message>
and the input section concerning the attachment.
<wsdl:operation name="withAttachment">
<soap:operation soapAction=""/>
<wsdl:input>
<mime:multipartRelated>
<mime:part>
<mime:content part="attachment" type="*/*"/>
</mime:part>
</mime:multipartRelated>
<soap:body/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
*Best regards,
Mihai*
Thomas Chiverton wrote:
On Wednesday 19 April 2006 11:02, Mihai Manuta wrote:
Is there a way to just use the cfinvokeargument tag to add the
attachment? It's a binary file that I want to attach to the SOAP message.
I *imagine* you will need to base64 encode it as a string ?
What does the WSDL say ?
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]