. Sorry I am vague but this didn't happen directly to
me so I don't know the exact particulars.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Michele Amoretti
Sent: Thursday, April 19, 2007 8:50 AM
To: axis-user@ws.apache.org
Subject: Re: using MTOM
stub._getServiceClient().getOptions().setProperty(
HTTPConstants.CHUNKED,
Constants.VALUE_FALSE);
But doing this forces the message to be buffered in the client side
this might make large attachments to fail..
Now I managed to transfer a file from the service
Subject: Re: using MTOM in a AXIOM-based WS
Ok, it is setProperty()
Now I managed to transfer a file from the service to the client, but if
I try to transfer a file 23963 Bytes, the file is cut.
Should I make some adjustments in axis2.xml, or in Tomcat configuration?
I tried to enable caching
I have question about the WSDL for the MTOM-based service... For the
operation which has a parameter which is a binary file, which type
should I declare for the parameter? string?
base64Binary..
You may refer to here[1] as a guide...
Thanks,
Thilina
[1]
Yes I read the guide but I need a more complete example.
In my MTOM implementation I did not used a base64 encoded string.. I simply
did:
public OMElement getPriceFile(OMElement element) throws XMLStreamException {
element.build();
element.detach();
OMElement
Yes I read the guide but I need a more complete example.
You can have a look at the MTOM Sample in the Axis2 dist.. It contains
a complete WSDL first sample...
In my MTOM implementation I did not used a base64 encoded string.. I simply
did:
You do not necessarily need to use base64 strings...
\uc1\pard\f0\fs20 I'm
the default document for importation.\par}
-Original Message-
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
Sent: Friday, April 20, 2007 4:38 AM
To: axis-user@ws.apache.org
Subject: Re: using MTOM in a AXIOM-based WS
Yes I read the guide but I need a more
Hi,
In the MTOM tutorial unfortunately there are only parts of code (I
cannot find a complete example in axis2-1.1.1 - the mtom sample is not
based on AXIOM)
You can find a rather complicated deprecated MTOM Sample based on
Axiom in here[1].
options.set(Constants.Configuration.ENABLE_MTOM,
Thank you, please read the comments below:
On 4/19/07, Thilina Gunarathne [EMAIL PROTECTED] wrote:
Hi,
In the MTOM tutorial unfortunately there are only parts of code (I
cannot find a complete example in axis2-1.1.1 - the mtom sample is not
based on AXIOM)
You can find a rather complicated
Ok, it is setProperty()
Now I managed to transfer a file from the service to the client, but
if I try to transfer a file 23963 Bytes, the file is cut.
Should I make some adjustments in axis2.xml, or in Tomcat configuration?
I tried to enable caching both at the server side and at the client
] On Behalf Of Michele Amoretti
Sent: Thursday, April 19, 2007 8:50 AM
To: axis-user@ws.apache.org
Subject: Re: using MTOM in a AXIOM-based WS
Ok, it is setProperty()
Now I managed to transfer a file from the service to the client, but if I try
to transfer a file 23963 Bytes, the file is cut.
Should I
I believe it is setProperty(), not set() on the options object
-Original Message-
From: Michele Amoretti [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 18, 2007 1:24 PM
To: axis-user@ws.apache.org
Subject: using MTOM in a AXIOM-based WS
Hello,
I am trying to create a new version of
12 matches
Mail list logo