Skip to main content
June 1, 2009
Question

ColdFusion webservice with SOAP attachments - is it possible?

  • June 1, 2009
  • 1 reply
  • 997 views

Hi,

Is it possible to build web services in ColdFusion that can accept SOAP attachments (such as DIME?)?

We are building a webservice that can accept an unknown number of attachments - hence using <cfargument type="binary"> might not work for us.

Thanks

Felix

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
June 1, 2009

I expect <cfargument type="xml"> to work for SOAP and <cfargument type="binary"> to work for DIME. What I suppose you've got to find out is how to adapt your WSDL to handle DIME.

June 10, 2009

Hi,

I don't think <cfargument type="binary"> will work with DIME.

I know this because I was building this webservice to be called by .NET code - and the .NET developer shows me the way he attaches an attachment using DIME. With DIME, the attachment is not one of the parameters of your webservice function.

Anyway we decided to go the non DIME way and just do it via the <cfargument type="binary"> which according to him is less efficient than using DIME.

Cheers.

Felix Tjandrawibawa