I see. It should be easy to to it in flash. If you can't you could just add
and extra method in you wsdl to get the data in the zip files. Like you call
getIncident(), the user selects the zip file and you call
getFile("blah.zip") and return the data in the shape files to flash.

Or you call unzipFiles(blah.zip) have the wsdl unzip the file and use
something like file.copy in the wsdl to create an unzipped version in a new
directory. Then return true when it is done so flash can get the shape
files.

To save resources you could add a method in your flex code that will check
if the file already exist in an unzipped state before you call unzipFiles().
If it returns false you unzip it. That way you would slowly unzip all the
files so you would have to unzip them more than once. Just a suggestion.

Out of curiosity, is there a reason they are in zip files. Wouldn't it be
easier to just have them in directories on the server instead of
uncompressing them everytime you need them. Maybe I'm missing something but
if you are going to be using them why archive them. Unless you are pulling
from the archive.
On Aug 9, 2011 6:52 PM, "kanak3" <[email protected]> wrote:
> No actually i need to do it in flash builder. the flow of my project
> is:
> There is a data (shapfiles) sitting on webserver.I need to connect to
> the web server thro' WSDL and call a method that includes list of
> Incidents.Each Indidents has multiple work products.Work Product has
> shapfile(.zip file).I need to call incidents list 1st then select 1
> from dropdown box then select a particular work product(multiple .zip
> files) after that select .shp file from a zip file.
>
> On Aug 9, 8:56 pm, Daniel <[email protected]> wrote:
>> Do they need to be stored in a zip file? You could also, probably, use a
web
>> service to un-zip the files and return the data inside if that doesn't
work
>> or is inefficient. Or make a server app that un-zips the files that are
on
>> the server and moves them into a folder. I can help you with a c# app. I
am
>> making one now ill share the code if you need it.
>> On Aug 9, 2011 5:50 PM, "kanak3" <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Thanks Daniel...let me go thro' it
>>
>> > On Aug 9, 7:31 pm, Daniel <[email protected]> wrote:
>> >>http://livedocs.adobe.com/flex/3/html/help.html?content=ByteArrays_3..
..
>> >> this will help. It is flex 3 but I'm sure it is a start
>> >> On Aug 9, 2011 3:51 PM, "kanak3" <[email protected]> wrote:>
Hi
>> All,
>> >> > we have many .zip files(shapfiles) on the web server.I need to list
>> >> > all the .zip files(in ComboBox) and select just a .zip file-->open
>> >> > it --->then select .shp file.
>> >> > I need help on this.
>> >> > Thanks
>>
>> >> > --
>> >> > You received this message because you are subscribed to the Google
>> Groups
>>
>> >> "Google Maps API For Flash" group.> To post to this group, send email
to
>>
>> >> [email protected].> To unsubscribe from this
>>
>> group, send email to
>>
>> >> [email protected].> For more
>>
>> options, visit this group at
>>
>> >>http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google
Groups
>>
>> "Google Maps API For Flash" group.> To post to this group, send email to
>>
>> [email protected].> To unsubscribe from this
group, send email to
>>
>> [email protected].> For more
options, visit this group at
>>
>> http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>>
>>
>>
>>
>>
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
> To post to this group, send email to
[email protected].
> To unsubscribe from this group, send email to
[email protected].
> For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to