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]