User Profile
Collapse
-
SOAP with Attachmnets and real-time data
is there a possibility to send large binary data in realtime using SwA? -
first i would like to thank every viewer for their attention and r035198x in particular
I have been goggling around trying to figure out what might have been going wrong during the transmission? And I came up with some questions that might provide a hint as to where the problems might be coming from?
1- in old postings about SwA it is stated that the attachments are sent in a one-go fashion, is that still the case now or can some... -
the value that i gave it is 10000
here is a part of a unit test class that i used to test it
[CODE=java] package com.markit.soap attachments.cli ent;
import javax.activatio n.DataHandler;
import java.io.InputSt ream;
import java.io.ByteArr ayOutputStream;
import java.util.Array s;
public class AttachmentsServ ice_ServiceWern erTestCase extends junit.framework .TestCase {
...Leave a comment:
-
thxs for the quick reply
here is the code
[CODE=java] public javax.activatio n.DataHandler[] returnStreaming ByteArray(final int timeout) {
DataHandler ret = new DataHandler(new DataSource() {
private long start = System.currentT imeMillis();
private long end = start + timeout;
public String getContentType( ) {
return "text/plain";...Leave a comment:
-
streaming soap with attachments
dear all
this might be a piece of cake for some of you out there but it is causing me a lot of stress given the fact that there is not enogh documentation out there regarding this topic
I am writing a web service that uses soap with attachments to send a large streaming data,
The concept works quite well but when I started to test it I got this problem.
When my client program calls a method that should return... -
-
threading an poling in java
dear all i am quite new to java multithreading and i am trying to create a thread that read a byte array from a streaming thread that streams in an array of bytes withen 10 seconds my new thread should be able to read a data each secound and sleep for one secound and then read another deta and compare the them at the end
No activity results to display
Show More
Leave a comment: