Temporary file location when Streaming enabled in JAXWS?

View: New views
3 Messages — Rating Filter:   Alert me  

Temporary file location when Streaming enabled in JAXWS?

by mp.iworxs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://jax-ws.dev.java.net/issues/show_bug.cgi?id=29

Here it says that the when uploading files, it is stored in disk, so anybody know where the attached file is stored temporarily? So that i can check with that.

I have problem with large file upload, I have gone through this link (https://jax-ws.dev.java.net/guide/Large_Attachments.html) and tried with latest version 2.1.3, but the problem remains. I hope its because the entire file is held in memory.
Anybody got it working fine?
Regards, Manu Prathab.

Re: Temporary file location when Streaming enabled in JAXWS?

by Vivek Pandey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As mentioned in the guide at:
https://jax-ws.dev.java.net/guide/Large_Attachments.html, see the Server
side section on how to move the StreamingDataHandler contents in to the
file you want to move the data in to.

See
http://www.java2s.com/Open-Source/Java-Document/XML/stax-ex/org/jvnet/staxex/StreamingDataHandler.java.htm.

-vivek.

mp.iworxs wrote:

> https://jax-ws.dev.java.net/issues/show_bug.cgi?id=29
>
> Here it says that the when uploading files, it is stored in disk, so anybody
> know where the attached file is stored temporarily? So that i can check with
> that.
>
> I have problem with large file upload, I have gone through this link
> (https://jax-ws.dev.java.net/guide/Large_Attachments.html) and tried with
> latest version 2.1.3, but the problem remains. I hope its because the entire
> file is held in memory.
> Anybody got it working fine?
>
>
> -----
> Regards,
> Manu Prathab. =^D
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Temporary file location when Streaming enabled in JAXWS?

by Jitendra Kotamraju :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

mp.iworxs wrote:
> https://jax-ws.dev.java.net/issues/show_bug.cgi?id=29
>
> Here it says that the when uploading files, it is stored in disk, so anybody
> know where the attached file is stored temporarily? So that i can check with
> that.
>
> I have problem with large file upload, I have gone through this link
>  
There is sample "large_upload" with 2.1.3 distribution that uploads a
large file. Let me know if it is not working.

Jitu

> (https://jax-ws.dev.java.net/guide/Large_Attachments.html) and tried with
> latest version 2.1.3, but the problem remains. I hope its because the entire
> file is held in memory.
> Anybody got it working fine?
>
>
> -----
> Regards,
> Manu Prathab. =^D
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price!