Created
July 17, 2013 08:07
-
-
Save Qkyrie/6018671 to your computer and use it in GitHub Desktop.
make a web service send the data chunked. This will tell the host it will send it chunked before sending it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
private static final int STREAMING_CHUNK_SIZE = 4096; | |
... | |
Map<String, Object> ctxt = ((BindingProvider)service.getUploadVisitorInformationImplPort()).getRequestContext(); | |
ctxt.put(com.sun.xml.ws.client.BindingProviderProperties.HTTP_CLIENT_STREAMING_CHUNK_SIZE, STREAMING_CHUNK_SIZE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment