|
Hello, I was wondering if any of you has succeeded in calling web services with attachments from ColfFusion (MX7). Right now I'm even trying to use the Axis functions but I still can't get it done: <cfset wsObj = createObject("webservice", "http://10.0.200.73:8080/ccx/Test4Mihai?wsdl") /> <cfinvoke webservice="#wsObj#" method="withAttachment" returnvariable="vr1"> <cfset objCall = wsObj._getCall() /> <cfset objCall.addAttachmentPart(objAttach) /> <cfinvokeargument name="aString" value="simple string" /> <cfinvokeargument name="aLong" value="123" /> <cfinvokeargument name="aBoolean" value="false" /> <cfinvokeargument name="anInt" value="123" /> </cfinvoke> And I always get the error: Web service operation "withAttachment" with parameters {aBoolean={false},aLong={123},aString={simple string},anInt={123}} could not be found. 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. Thank you, Mihai ---------------------------------------------------------- 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] |
- [CFCDev] Web services with attached files Mihai Manuta
- Re: [CFCDev] Web services with attached files Thomas Chiverton
- Re: [CFCDev] Web services with attached files Mihai Manuta
- Re: [CFCDev] Web services with attached file... Thomas Chiverton
- Re: [CFCDev] Web services with attached ... Mihai Manuta
- Re: [CFCDev] Web services with atta... Thomas Chiverton
- Re: [CFCDev] Web services with ... Mihai Manuta
- Re: [CFCDev] Web services w... Mihai Manuta
- RE: [CFCDev] Web services w... Rob Munn
