hello martin,
thx for your reply. i have posted this question
one week ago, but no reply - maybe cause i
said i am using a C# wse3 client.
on serverside i have caching enabled and of cause
i can see, that mtom is faster than base64 ;-)
when i played around with asi2c some time ago
(version 0.96) i had the same problem, that
i am forcing today. my download is much quicker
than my upload, so i wanted to know if this is a
known problem with java technics.
.. but i think it isn't - anyway i think i have to
implement my tests with a java client too, to track
times during up- and download.
thx derMark
Martin Gainty schrieb:
Hi Mark-
//The only configurable options I see from org.apache.axis2.client.Options
are
options.setTimeOutInMilliSeconds(SomeLargeValue); //default is 30 seconds
//and of course the property configuration constants (those which are
declared in org.apache.axis2.Constants)
options.setProperty(Constants.Configuration.ENABLE_SWA,
Constants.VALUE_TRUE);
options.setProperty( Constants.Configuration.ENABLE_MTOM,
Constants.VALUE_TRUE);
//as well as the mostly unused constants
public static final String CACHE_ATTACHMENTS = "cacheAttachments";
public static final String ATTACHMENT_TEMP_DIR = "attachmentDIR";
public static final String FILE_SIZE_THRESHOLD = "sizeThreshold";
public static final String MIME_BOUNDARY = "mimeBoundary";
public static final String MM7_COMPATIBLE = "MM7Compatible";
public static final String MM7_INNER_BOUNDARY = "MM7InnerBoundary";
public static final String MM7_PART_CID = "MM7PartCID";
if the message is optimised (MTOM enabled) you should see quicker throughput
have you considered sprinkling debug statements with the date to determine
deltas?
Viel Gluck!
Martin--
Options options = new Options();
options.setTo(targetEPR);
options.setProperty(Constants.Configuration.ENABLE_SWA,
Constants.VALUE_TRUE);
options.setSoapVersionURI(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
// Increase the time out when sending large attachments
options.setTimeOutInMilliSeconds(10000);
options.setTo(targetEPR);
options.setAction("urn:uploadFile");
// assume the use runs this sample at
// <axis2home>/samples/soapwithattachments/ dir
ConfigurationContext configContext = ConfigurationContextFactory
.createConfigurationContextFromFileSystem("../../repository",
null);
ServiceClient sender = new ServiceClient(configContext, null);
sender.setOptions(options);
----- Original Message -----
From: "Mark Nüßler" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 06, 2008 2:20 PM
Subject: mtom speed again
hello users,
who of have tracked times when sending files with mtom ?
is the upload-time und download time the same ?
thx derMark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]