Vishnu,
Do you already have any current code that you are using? Your request is
not completely clear, but based on what I am 'assuming', you want to know
how you can invoke the java web service and retrieve the attachment from the
soap response.
I *think* you could do this with CFHTTP. CFHTTP can retrieve binary data by
specifying getAsBinary="yes" in the CFHTTP call. So your call might look
something like this:
<cfhttp url="{url to web service here}" getAsBinary="yes" path="{path to
folder where you want to store binary file here}" filename="{filename you
want for image}" ...any other attributes you need >
....your cfhttpparam tags, if needed ....
</cfhttp>
After you do that, you should then be able to retrieve the file a number of
ways:
1. if you just want to display the file, and it is in your web root:
<img src="{path and filename of the image you retrieved}">
2. If you want to display the file, and it is not in your web root:
<cfcontent ...> (can't remember the parameters right now, but you can check
the docs)
3. If you want to move the file somewhere, then use:
<cffile action="move" source="{path and filename of image you retrieved}"
destination="{new destination}">
If this is not what you are looking for, please describe in more detail
exactly what you are trying to do with the data returned from the web
service and post any code you may already be using.
Sincerely,
Dave Phillips
-----Original Message-----
From: vishnu prasad [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2008 9:01 PM
To: CF-Talk
Subject: Re: Web Service Issue , pls help
how to get the attachment from soap response and use it in coldfusion
Could you please provide with a code snippet?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311243
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4