[axis2-mtom file size]

2009-11-17 Thread Vaibhav Arya
Hi all, I want to know, what is the maximum file size that axis2 supports with MTOM.. Please suggest in this regard. Thanks Regards, Vaibhav Kumar Arya === Private,

[axis2-MTOM: Uploading Time-out]

2009-11-16 Thread Vaibhav Arya
Hi All, I'm using apache axis2 for uploading files though MTOM. When I tried to upload 3 MB zip file then I faced the problem of 'Timed-out' through .net client. However there is no time-out problem through JAVA client. But it takes so long. The user can not wait so long. 1. What is

RE: [axis2] MTOM Performance

2009-05-04 Thread Thallapragada, Sowmi
Hello All, With the lack of any response from the group, should I assume that there has been NO benchmarking done on Axis2/MTOM at all? If there has been some, can somebody please point me to it? Sowmi From: Thallapragada, Sowmi Sent: Sunday, May 03

RE: [axis2] MTOM Performance

2009-05-03 Thread Thallapragada, Sowmi
I'd appreciate any pointers regarding this. Thanks! From: Thallapragada, Sowmi Sent: Saturday, May 02, 2009 12:34 AM To: 'axis-user@ws.apache.org' Subject: [axis2] MTOM Performance Can anyone point me to recent performance metrics on Axis2 (1.4.x) /MTOM? - Sowmi

[axis2] MTOM Performance

2009-05-02 Thread Thallapragada, Sowmi
Can anyone point me to recent performance metrics on Axis2 (1.4.x) /MTOM? - Sowmi

Re: Axis2 MTOM and WSSecurity (encryption)

2009-03-28 Thread Andrei Ivanov
On Wed, Mar 25, 2009 at 6:13 PM, Erwin Reinhoud erwin.reinh...@ictu.nl wrote: Hello, I am wondering if more users need to use mtom and ws-security. There is an issue (3407) since dec 2007, but is still not fixed. Isn;t it one of the benefits that mtom supports ws-security? Kind regards,

Axis2 MTOM and WSSecurity (encryption)

2009-03-25 Thread Erwin Reinhoud
Hello, I am wondering if more users need to use mtom and ws-security. There is an issue (3407) since dec 2007, but is still not fixed. Isn;t it one of the benefits that mtom supports ws-security? Kind regards, Erwin winmail.dat

RE: Axis2 - MTOM Sample error

2008-05-02 Thread PR, Rajesh (GE Infra, Energy, Non-GE)
] Sent: Thursday, May 01, 2008 11:52 PM To: axis-user@ws.apache.org Subject: Re: Axis2 - MTOM Sample error That ant build uses wsdl2java... I'm not sure why it prints out wsdl2code options... Can you confirm that your are using axis2-1.3 binary distribution without any changes to the build script

Re: Axis2 - MTOM Sample error

2008-05-02 Thread Thilina Gunarathne
*Subject:* RE: Axis2 - MTOM Sample error Thanks a lot. i made a clean build from scratch again. i dont know what was causing the issue. Downloaded ant, axis2 1.3 fresh and set it up. am able to build now. Thanks a lot for the support - Rajesh -- *From

RE: Axis2 - MTOM Sample error

2008-05-02 Thread PR, Rajesh (GE Infra, Energy, Non-GE)
Subject: RE: Axis2 - MTOM Sample error Thanks a lot. i made a clean build from scratch again. i dont know what was causing the issue. Downloaded ant, axis2 1.3 fresh and set it up. am able to build now. Thanks a lot for the support - Rajesh From: Thilina

RE: Axis2 - MTOM Sample error

2008-05-02 Thread PR, Rajesh (GE Infra, Energy, Non-GE)
Subject: Re: Axis2 - MTOM Sample error Did you try the generate.client target in the build.. It is suppose to generate the client stubs.. Please log a jira if generate.client is not generating the client stubs.. thanks, Thilina On Fri, May 2, 2008 at 11:29 AM, PR, Rajesh (GE Infra, Energy, Non-GE

Axis2 - MTOM Sample error

2008-05-01 Thread PR, Rajesh (GE Infra, Energy, Non-GE)
Hi all, am getting the following error, when i try to build the mtom sample which comes with Axis2 - Version 1.3 Exception in thread main java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: Could not load resource xmime.xsd (network downloads disabled). at

Re: Axis2 - MTOM Sample error

2008-05-01 Thread Yogesh . Dhake
in JVM regards Yogesh PR, Rajesh (GE Infra, Energy, Non-GE) [EMAIL PROTECTED] 05/01/2008 05:09 PM Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Axis2 - MTOM Sample error Hi all, am getting the following error, when i try to build the mtom

RE: Axis2 - MTOM Sample error

2008-05-01 Thread PR, Rajesh (GE Infra, Energy, Non-GE)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 5:31 PM To: axis-user@ws.apache.org Cc: axis-user@ws.apache.org Subject: Re: Axis2 - MTOM Sample error 1)Try putting attached xmime.xsd local in you wsdl folder 2) put following import statement

Re: Axis2 - MTOM Sample error

2008-05-01 Thread Thilina Gunarathne
Hi, MTOM sample comes with XMIME.xsd and has a schema import to that from the wsdl... Are you using the standard ant build provided with the sample... The sample is supposed to be code generated using ADB as XMLBeans does not have full support for MTOM... The ant build is written to use the

Re: Axis2 - MTOM Sample error

2008-05-01 Thread Thilina Gunarathne
I suggested the following as your stacktrace shows it's using XMLBeans for data binding.. On Thu, May 1, 2008 at 9:05 PM, Thilina Gunarathne [EMAIL PROTECTED] wrote: Hi, MTOM sample comes with XMIME.xsd and has a schema import to that from the wsdl... Are you using the standard ant build

RE: Axis2 - MTOM Sample error

2008-05-01 Thread PR, Rajesh (GE Infra, Energy, Non-GE)
transfer using MTOM Thanks Rajesh From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 10:06 PM To: axis-user@ws.apache.org Subject: Re: Axis2 - MTOM Sample error Hi, MTOM sample comes with XMIME.xsd and has a schema import

Axis2 MTOM Response

2008-02-26 Thread Simon Steinacker
Hello, I have service that is also a client to other services. This service contains a method that is returning binary data. I want this data to be optimized over MTOM. BUT I cannot just use the parameter name=enableMTOM locked=falsetrue/parameter in the axis2.xml, because the service is

Re: Axis2 MTOM Response

2008-02-26 Thread Simon Steinacker
Thanks a lot, that worked out fine for me! best regards, Simon Thilina Gunarathne wrote: Hi, You can make enableMTOM false in the Axis2.xml and then enable it only for the service or only for a particular operation using the services.xml for the service. service operation name=xxx

Axis2 MTOM + module

2008-02-19 Thread Simon Steinacker
Hello! I have the following problem: I have a service that does MTOM. In a Module on the client side, i need to do some xslt transformation on the soap structure. But when I do that (I use Saxon9 for xslt transformation) I need to convert that SOAP message to a string to apply that xslt

Re: Axis2 MTOM + module

2008-02-19 Thread Thilina Gunarathne
Hello, I have the following problem: I have a service that does MTOM. In a Module on the client side, i need to do some xslt transformation on the soap structure. But when I do that (I use Saxon9 for xslt transformation) I need to convert that SOAP message to a string to apply that xslt

Re: Axis2 MTOM + module

2008-02-19 Thread Simon Steinacker
Thanks for the hint with setting the respective OMText node to binary and optimization. That works. What I do in particular is that I remove the large OMText nodes before xslt transformation to keep the string that is transformed within a reasonable length and afterwards add the OMText nodes

Re: Axis2 MTOM + module

2008-02-19 Thread Thilina Gunarathne
cool :).. On Feb 19, 2008 8:27 AM, Simon Steinacker [EMAIL PROTECTED] wrote: Thanks for the hint with setting the respective OMText node to binary and optimization. That works. What I do in particular is that I remove the large OMText nodes before xslt transformation to keep the string that

RE: [Axis2] MTOM Exception with Axis2 1.3 org.apache.axis2.databinding.ADBException: Unexpected subelement Buffer

2007-12-11 Thread Pantvaidya, Vishwajit
Resent as earlier attempt failed... From: Pantvaidya, Vishwajit Sent: Tuesday, December 11, 2007 5:00 PM To: axis-user@ws.apache.org Subject: RE: [Axis2] MTOM Exception with Axis2 1.3 org.apache.axis2.databinding.ADBException: Unexpected subelement Buffer I

RE: [Axis2] MTOM Exception with Axis2 1.3 org.apache.axis2.databinding.ADBException: Unexpected subelement Buffer

2007-12-07 Thread Pantvaidya, Vishwajit
. From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Thursday, December 06, 2007 9:53 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] MTOM Exception with Axis2 1.3 org.apache.axis2.databinding.ADBException: Unexpected subelement Buffer On Dec 7, 2007 10:49 AM, Pantvaidya

[Axis2] MTOM Exception with Axis2 1.3 org.apache.axis2.databinding.ADBException: Unexpected subelement Buffer

2007-12-06 Thread Pantvaidya, Vishwajit
I am using Axis2 1.3 to receive a pdf doc using MTOM from a .NET 2.0 WSE 3.0 C# client. I am already using an axiom jar from a nightly build that has Thilina's patch

Re: [Axis2] MTOM Exception with Axis2 1.3 org.apache.axis2.databinding.ADBException: Unexpected subelement Buffer

2007-12-06 Thread Amila Suriarachchi
On Dec 7, 2007 10:49 AM, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote: I am using Axis2 1.3 to receive a pdf doc using MTOM from a .NET 2.0 WSE 3.0 C# client. I am already using an axiom jar from a nightly build that has Thilina's patch (

[Axis2] MTOM Interoperability

2007-10-29 Thread Hoda, Nadeem [USA]
MTOM with Axis2, but seems to be more complicated than expected. Any pointers, guidance would be appreciated? Any details instructions/how-tos/simple guide beyond the Axis2 MTOM how-to (http://ws.apache.org/axis2/1_0/mtom-guide.html). Thanks, Nadeem .NET Errors: Error 1 Custom tool

Re: Axis2 SWA client communicating Axis2 MTOM service

2007-10-09 Thread Yogesh . Dhake
@ws.apache.org cc Subject Re: Axis2 SWA client communicating Axis2 MTOM service Hi Thanks for insight Sorry but two small question. 1) For enabling SWA do i need to do any changes on service code or Just changing axis conf file is ok parameter name=enableMTOM locked=falsefalse/parameter

Re: Axis2 SWA client communicating Axis2 MTOM service

2007-10-09 Thread Thilina Gunarathne
? regards Yogesh *Thilina Gunarathne [EMAIL PROTECTED]* 10/08/2007 01:22 PM Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: Axis2 SWA client communicating Axis2 MTOM service I have a web service running with AXIS2 with MTOM and I am trying

Axis2 SWA client communicating Axis2 MTOM service

2007-10-08 Thread Yogesh . Dhake
Hi I have a web service running with AXIS2 with MTOM and I am trying to communicate it with Axis2 Client with SWA enabled ( Soap with attachment). Is this possible to do ? Reason I need to do it as I am using ALSB 2.6 in between which does not support MTOM. If yes Can any one tell me

Re: Axis2 SWA client communicating Axis2 MTOM service

2007-10-08 Thread Thilina Gunarathne
I have a web service running with AXIS2 with MTOM and I am trying to communicate it with Axis2 Client with SWA enabled ( Soap with attachment). Is this possible to do ? Nope.. Not if you are going to use the MTOM binding features, such as automatic binding of bianry attachments to the XML

Re: Axis2 SWA client communicating Axis2 MTOM service

2007-10-08 Thread Yogesh . Dhake
Gunarathne [EMAIL PROTECTED] 10/08/2007 01:22 PM Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: Axis2 SWA client communicating Axis2 MTOM service I have a web service running with AXIS2 with MTOM and I am trying to communicate it with Axis2 Client

Re: Issue with Axis2 MTOM client

2007-10-03 Thread Yogesh . Dhake
Thilina Gunarathne [EMAIL PROTECTED] 10/02/2007 01:23 AM Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: Issue with Axis2 MTOM client Hi, When I use AXIS2 generated stub as clients to MTOM service I see my .att file grow indefinitely

Issue with Axis2 MTOM client

2007-10-01 Thread Yogesh . Dhake
Hi All Does any one has faced following issue with AXIS MTOM client When I use AXIS2 generated stub as clients to MTOM service I see my .att file grow indefinitely with following character get added. ÿÿÿ. And grow continuously till run out of space. Does Axis2 support as MTOM

Re: Issue with Axis2 MTOM client

2007-10-01 Thread Thilina Gunarathne
Hi, When I use AXIS2 generated stub as clients to MTOM service I see my .att file grow indefinitely with following character get added. ÿÿÿ. And grow continuously till run out of space. Which Axis2 version are you using... There was an issue where Axis2 did not wrote the terminating

Re: [axis2] mtom client sending data to an mtom server

2007-06-12 Thread Paul Fremantle
Anil Please register at http://issues.apache.org/jira Then provide as much detail as possible when you create the JIRA. For example, if you have a tcpmon trace or some code. There is no well defined standard for doing session-based services, but we want Axis2 to interoperate as well as

Re: [axis2] mtom client sending data to an mtom server

2007-06-11 Thread Paul Fremantle
Anil Please ensure (if you haven't already!) that there is a JIRA about your problem with the session management. Thanks Paul On 6/11/07, Anil Chukkapalli [EMAIL PROTECTED] wrote: Paul, I tried using the generated stub with setmanageSession(true) and it did not work, that prompted me to

[axis2] mtom client sending data to an mtom server

2007-06-08 Thread Anil Chukkapalli
Hi How can an MTOM client send data to an MTOM server, is there a tutorial that explains how to do this. I can send a data from an MTOM server to an MTOM client but i am not able to figure out how to do it the other way around, do we need to send an OMElement as an argument and does axis2

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Paul Fremantle
Anil http://ws.apache.org/axis2/1_2/mtom-guide.html Can you explain whether you are using the ServiceClient or a generated stub. That would help us explain. Paul On 6/8/07, Anil Chukkapalli [EMAIL PROTECTED] wrote: Hi How can an MTOM client send data to an MTOM server, is there a tutorial

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Thilina Gunarathne
Anil, You can also have a look at the MTOM sample bundled with the Axis2 distribution.. In there we have a MTOM client sending data to an axis2 server... Thanks, Thilina On 6/8/07, Paul Fremantle [EMAIL PROTECTED] wrote: Anil http://ws.apache.org/axis2/1_2/mtom-guide.html Can you explain

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Anil Chukkapalli
Hi Thilana In the example is Attachment request an Axis2 type or a user defined type, and i used a operation client instead of a generated stub. How does axis2 determine that the input arguments need to be transferred using MTOM? is it by sendding the argument of type OMElement. Thank you Anil

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Anil Chukkapalli
Hi Paul I am using an operation client Thank you Anil On 6/8/07, Paul Fremantle [EMAIL PROTECTED] wrote: Anil http://ws.apache.org/axis2/1_2/mtom-guide.html Can you explain whether you are using the ServiceClient or a generated stub. That would help us explain. Paul On 6/8/07, Anil

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Paul Fremantle
Anil The OperationClient is designed for pretty complex needs. Its not recommended except for Axis2 gurus. Most users can support their needs using ServiceClient. How does axis2 determine that the input arguments need to be transferred using MTOM? is it by sendding the argument of type

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Anil Chukkapalli
Paul I need the operation client cause i need to maintain session between a .NET client and Java service and vice versa (it was discussed in previous threads and we could find no other way except using an operation client). I was not able to accomplish this using either the generated stub or the

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Paul Fremantle
Anil Do you have a WSDL for this service? Paul On 6/8/07, Anil Chukkapalli [EMAIL PROTECTED] wrote: Paul I need the operation client cause i need to maintain session between a .NET client and Java service and vice versa (it was discussed in previous threads and we could find no other way

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Anil Chukkapalli
Paul I do have wsdl for this service, i used it before when i used the wsdl2java tool to create a stub to test my service. Thanks Anil On 6/8/07, Paul Fremantle [EMAIL PROTECTED] wrote: Anil Do you have a WSDL for this service? Paul On 6/8/07, Anil Chukkapalli [EMAIL PROTECTED] wrote:

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Paul Fremantle
I guess I meant can I see it :-) You have to create the XML payload to match the WSDL - that is what is going to be the OMElement. The OMElement is a tree structure. Somewhere in there is going to be the OMText containing the MTOM data. If we could see the WSDL we might be able to figure it out.

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Paul Fremantle
So I suggest you use a tool like SOAPUI to create a sample SOAP XML for this service. Then you need to make an OMElement which maps to the SOAP body XML: For example for this element: s:element name=CheckInItem s:complexType s:sequence s:element minOccurs=0 maxOccurs=1

Re: [axis2] mtom client sending data to an mtom server

2007-06-08 Thread Paul Fremantle
Anil Yes. Axiom (OMElement etc) is basically like DOM. You can read an intro to Axiom here: http://www.theserverside.com/tt/articles/article.tss?l=Axiom Paul PS are you certain that you cannot use a generated stub? It seems to me that you are suffering a lot here for using a stateful service.

Axis2: mtom and XMLBeans

2007-05-03 Thread alby
Hi all, I'm getting start with axis2 and I have a doubt...: is it possible to use MTOM with XMLBeans databinding or do I have to use ADB? I tried to adapt the MTOM guide example to XMLBeans but i wasn't able to make it work... dario -- View this message in context:

RE: [AXIS2] MTOM is not sending binary data as references for array of DataHandlers

2007-04-16 Thread Masin, Valerie
I submitted Jira 2541, with an attached wsdl and test client. Sorry it took so long. -- Valerie -Original Message- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 11:20 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] MTOM is not sending binary data

Re: [AXIS2] MTOM is not sending binary data as references for array of DataHandlers

2007-04-16 Thread Thilina Gunarathne
@ws.apache.org Subject: Re: [AXIS2] MTOM is not sending binary data as references for array of DataHandlers Sounds like a bug to me... Please log a JIRA.. If possible include your WSDL and a test case... Thilina On 4/12/07, Masin, Valerie [EMAIL PROTECTED] wrote: One of my datatypes is an array

[AXIS2] MTOM is not sending binary data as references for array of DataHandlers

2007-04-11 Thread Masin, Valerie
One of my datatypes is an array of DataHandlers (DataHandler[]). (I got the wsdl to generate this by setting my base64Binary's maxOccurs to unbounded) element name=documents nillable=false minOccurs=1 maxOccurs=unbounded type=base64Binary/ When I use MTOM I had expected to see each of these

Re: [AXIS2] MTOM is not sending binary data as references for array of DataHandlers

2007-04-11 Thread Thilina Gunarathne
Sounds like a bug to me... Please log a JIRA.. If possible include your WSDL and a test case... Thilina On 4/12/07, Masin, Valerie [EMAIL PROTECTED] wrote: One of my datatypes is an array of DataHandlers (DataHandler[]). (I got the wsdl to generate this by setting my base64Binary's maxOccurs

RE: [AXIS2] MTOM problems

2007-03-28 Thread Betsy Frey
@ws.apache.org Subject: Re: [AXIS2] MTOM problems Hi, 1. Sometimes 1 extra byte is received. This is a 255 (0xff). It would be great if you can isolate the failing scenario and log a Jira with a test case.. 2. When I set the client option CACHE_ATTACHMENTS to true, a client-side thread loops

Re: [AXIS2] MTOM problems

2007-03-28 Thread Thilina Gunarathne
Gunarathne [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 12:12 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] MTOM problems Hi, 1. Sometimes 1 extra byte is received. This is a 255 (0xff). It would be great if you can isolate the failing scenario and log a Jira with a test case

[AXIS2] MTOM problems

2007-03-27 Thread Betsy Frey
I have some MTOM sample code in which a client sends all files in its transfer directory to a service. The server sends the files back to the client, which stores them in its received directory, and does a byte-to-byte compare to make sure the files in the two directories match. 1. Sometimes 1

Re: [AXIS2] MTOM problems

2007-03-27 Thread Thilina Gunarathne
Hi, 1. Sometimes 1 extra byte is received. This is a 255 (0xff). It would be great if you can isolate the failing scenario and log a Jira with a test case.. 2. When I set the client option CACHE_ATTACHMENTS to true, a client-side thread loops, appending bytes of 0xff to a .ATT file in the

Re: [AXIS2] MTOM performance

2007-03-23 Thread Thilina Gunarathne
PROTECTED] Sent: Tuesday, March 20, 2007 4:16 AM To: axis-user@ws.apache.org Subject: Re: [AXIS2] MTOM performance Betsy, copying it. I continue to see it grow by about 3.7mb/minute. I did some testing after the 1.0 release and the numbers I got were ~20 mb/min... MAy be something went wrong

RE: [AXIS2] MTOM performance

2007-03-23 Thread Betsy Frey
Thilina - thanks for this information. Betsy -Original Message- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 2:18 AM To: axis-user@ws.apache.org Subject: Re: [AXIS2] MTOM performance I did a quick test against the snapshots and the results I got were

[Axis2] [MTOM Policy] Please help me

2007-03-20 Thread Binoy K Philip
Dear ..., I am facing problems can help me ? Where do I get a good document(totorial)? 1)I am trying to implement axis fault . 2)I have two methods ( one with return type string other with no return type (void) )which throws userException1 and userException2 respectively . 3)I

Re: [AXIS2] MTOM performance

2007-03-20 Thread Thilina Gunarathne
. Betsy -Original Message- From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 8:57 AM To: axis-user@ws.apache.org Subject: Re: [AXIS2] MTOM performance Several reasons :-) First, a file system copy can make use of low-level OS mechanisms to speed up transfers

RE: [AXIS2] MTOM performance

2007-03-20 Thread Betsy Frey
: [AXIS2] MTOM performance Betsy, copying it. I continue to see it grow by about 3.7mb/minute. I did some testing after the 1.0 release and the numbers I got were ~20 mb/min... MAy be something went wrong from 1.0 to 1.1... It would be really great if you can let us know the transfer rates you got

[AXIS2] MTOM performance

2007-03-19 Thread Betsy Frey
I've just made some measurements, transferring files using MTOM in Axis2 on tomcat. My client and servlet are on the same machine. Attachments are cached. For files of 1mb or more, the transfer rate, client-to-servlet, is about 3.7mb per minute. In contrast, a file system copy transfers at

Re: [AXIS2] MTOM performance

2007-03-19 Thread Rodrigo Ruiz
Several reasons :-) First, a file system copy can make use of low-level OS mechanisms to speed up transfers, and even in some cases, delegate the job to the disk manager chipset. You will never get these speeds with a web service, as it will never have direct access to the client file system.

RE: [AXIS2] MTOM performance

2007-03-19 Thread Betsy Frey
:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 8:57 AM To: axis-user@ws.apache.org Subject: Re: [AXIS2] MTOM performance Several reasons :-) First, a file system copy can make use of low-level OS mechanisms to speed up transfers, and even in some cases, delegate the job to the disk manager chipset

Re: [AXIS2] MTOM performance

2007-03-19 Thread Thilina Gunarathne
remains: why is MTOM performance so sluggish, and is there anything to be done about it? Thanks. Betsy -Original Message- From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 8:57 AM To: axis-user@ws.apache.org Subject: Re: [AXIS2] MTOM performance Several reasons

[Axis2] MTOM databinding using XMLBeans sample

2006-11-16 Thread Mariusz Woloncewicz
I ran sample code from http://ws.apache.org/axis2/1_1/mtom-guide.html#252 but a soap message sent to server was as following: soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Header / soapenv:Body sendData xmlns=http://myMtomNS/types;

Re: [Axis2] MTOM databinding using XMLBeans sample

2006-11-16 Thread robert lazarski
The mtom guide databinding section was one of the last things to get tested ... the adb section should be working but the code / documentation freeze happened before xmlbeans / mtom got tested, and I suspect there is some work needed to be done as issue AXIS2-1031 suggests. You could help us

Re: wsdl for axis2 mtom example

2006-09-28 Thread Thilina Gunarathne
with the axis2 mtom example (produced long error stacktrace). Nope... It will not work...Sample uses an Xml in/out approach... Thanks, Thilina Googling around it appears that I need to define the input and output datatypes in the wsdl by hand. A wsdl generation tool produces xs:element type=xs:anyType

wsdl for axis2 mtom example

2006-09-27 Thread Mike Whitman
messageReceiver class=org.apache.axis2.rpc.receivers.RPCMessageReceiver/ but that didn't seem to work with the axis2 mtom example (produced long error stacktrace). Googling around it appears that I need to define the input and output datatypes in the wsdl by hand. A wsdl generation tool produces xs:element

[axis2] MTOM attachments

2006-09-19 Thread Tony Dean
Hi, I have a question regarding MTOM attachments. I'm running with MTOMEnabled=true... Sometimes however, when I do not have an attachment (OMText(dataHandler, true) to return to the client, I would like to send the soap:Envelope response w/o using MIME attachments. But even in this case, my

Axis2 mtom example

2006-07-13 Thread Paweł Pustelnik
Hi, I checked Axis2 mtom example on my Windows machine. I checked it with simple axis server and it was working fine for the default file (small jpg image). However when I replace this file with a bigger one (45 Mb) then axis server uses 99% of my CPU and hangs...Is it normal? Pawel

Re: Axis2 mtom example

2006-07-13 Thread Samisa Abeysinghe
Paweł Pustelnik wrote: Hi, I checked Axis2 mtom example on my Windows machine. I checked it with simple axis server and it was working fine for the default file (small jpg image). However when I replace this file with a bigger one (45 Mb) then axis server uses 99% of my CPU and hangs

Re: Axis2 mtom example

2006-07-13 Thread Sahan Gamage
Hi, I tested this with 45Mb file in my Debian box with current svn HEAD. Resuls are as: Time : 08.22 seconds CPU usage: 95 % I am suspecting the problem is with windows file read/write methods we are using. - sahan Samisa Abeysinghe wrote: Paweł Pustelnik wrote: Hi, I checked Axis2 mtom

Re: Axis2 mtom example

2006-07-13 Thread Samisa Abeysinghe
suspecting the problem is with windows file read/write methods we are using. - sahan Samisa Abeysinghe wrote: Paweł Pustelnik wrote: Hi, I checked Axis2 mtom example on my Windows machine. I checked it with simple axis server and it was working fine for the default file (small jpg

Re: Axis2 mtom example

2006-07-13 Thread Paweł Pustelnik
not. Samisa... I am suspecting the problem is with windows file read/write methods we are using. - sahan Samisa Abeysinghe wrote: Paweł Pustelnik wrote: Hi, I checked Axis2 mtom example on my Windows machine. I checked it with simple axis server and it was working fine for the default file

Re: Axis2 mtom example

2006-07-13 Thread Samisa Abeysinghe
this is understandable as we have the file read loop. We need some optimizations here. But does it hang? I suppose not. Samisa... I am suspecting the problem is with windows file read/write methods we are using. - sahan Samisa Abeysinghe wrote: Paweł Pustelnik wrote: Hi, I checked Axis2

Re: [Axis2] MTOM client example

2006-07-11 Thread Andrew B
ndaryurn_uuid_F5DB3E419AAC78B0F011526347677814content-id:1.urn:uuid:[EMAIL PROTECTED]content-type:application/octet-streamcontent-transfer-encoding:binaryxœì�moÛF¶ÇßßOAì‹Û765ϹZ/ÆÔXbL‘*IYQ..Škt´IÑ [more binary .]--MIMEBoundaryurn_uuid_F5DB3E419AAC78B0F011526347677814--0Than

Re: [Axis2] MTOM client example

2006-07-11 Thread Thilina Gunarathne
ÆÃ"XbL‘*IYQ..Åkt´IÃ' [more binary .] --MIMEBoundaryurn_uuid_F5DB3E419AAC78B0F011526347677814--0Thanks,AndrewThilina Gunarathne [EMAIL PROTECTED] wrote: Hi Andrew,Axis2 MTOM should work out of the box without much hassel if you have enabled MTOM on client side as follows. options.setProperty(Constants.Configuration.

[Axis2] MTOM client example

2006-07-10 Thread Andrew B
Hi,Can anyone point me to an example of an Axis2 client that receives a byte array via MTOM? The Axis2 documentation shows how to get an image, not a byte array.Thanks,Andrew __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection

Re: [Axis2] MTOM client example

2006-07-10 Thread Martin Gainty
this email message in error, please notifythe sender immediately by telephone or email and destroy the originalmessage without making a copy. Thank you. - Original Message - From: Andrew B To: axis-user@ws.apache.org Sent: Monday, July 10, 2006 12:53 PM Subject: [Axis2

Re: [Axis2] MTOM client example

2006-07-10 Thread Andrew B
PM Subject: [Axis2] MTOM client example Hi,Can anyone point me to an example of an Axis2 clientthat receives a byte array via MTOM? The Axis2 documentation shows how to getan image, not a byte array.Thanks,Andrew __Do YouYahoo!?Tired

Re: [Axis2] MTOM client example

2006-07-10 Thread Martin Gainty
@ws.apache.org ; Martin Gainty Sent: Monday, July 10, 2006 3:29 PM Subject: Re: [Axis2] MTOM client example Martin,The stacktrace is:java.net.UnknownServiceException at javax.mail.internet.MimePartDataSource.getOutputStream(MimePartDataSourcejava:57) at ttaxis2client.TestClient.main

Re: [Axis2] MTOM client example

2006-07-10 Thread Andrew B
, please notifythe sender immediately by telephone or email and destroy the originalmessage without making a copy. Thank you. - Original Message -From:AndrewBTo: axis-user@ws.apache.org ; Martin Gainty Sent: Monday, July 10, 2006 3:29 PM Subject: Re: [Axis2] MTOM

Re: [Axis2] MTOM client example

2006-07-10 Thread Martin Gainty
a copy. Thank you. - Original Message - From: Andrew B To: axis-user@ws.apache.org ; Martin Gainty Sent: Monday, July 10, 2006 4:09 PM Subject: Re: [Axis2] MTOM client example Ah, you've got me there. I don't know what those things are - the MTOM documentation

Re: [Axis2] MTOM client example

2006-07-10 Thread Thilina Gunarathne
Hi Andrew,Axis2 MTOM should work out of the box without much hassel if you have enabled MTOM on client side as follows.options.setProperty(Constants.Configuration.ENABLE_MTOM, Constants.VALUE_TRUE); The way you are trying to receive the byte[] is correct. Can u post ur messsage snaphots. You can

Re: [Axis2] MTOM client error when getting attachment

2006-07-03 Thread Thilina Gunarathne
Hi, Code seems to be corect at firstglance Can you post the full error trace and the message snapshots... ~Thilina On 6/30/06, Andrew B [EMAIL PROTECTED] wrote: Hi,I have a client that needs to get an MTOM attachment as a byte array. The code I came up with is as follows: OMElement

[Axis2] MTOM client error when getting attachment

2006-06-30 Thread Andrew B
Hi,I have a client that needs to get an MTOM attachment as a byte array. The code I came up with is as follows: OMElement response = stub.getData(); if (response.getLocalName().equals("CompressedXML")) {OMText binaryNode = (OMText) response.getFirstOMChild();DataHandler dataHandler =

Re: [Axis2] MTOM question

2006-06-29 Thread Michele Mazzucco
Hi Ajith, I've got 2 machines, A and B. On A is running my handler (which runs before the transport phase) while on B is running a service. When the handler on A invokes the service on B, the replyTo field is set by Axis2 (B side) to

[Axis2] MTOM question

2006-06-27 Thread Michele Mazzucco
Hi all, is it possible to use MTOM from a handler? In other words, can a handler send a request (say, for a file) to a web service? It seems to me that the problem is the handler endpoint generated by Axis2, needed to receive the response, which is wrong. Thanks in advance, Michele

Re: [Axis2] MTOM question

2006-06-27 Thread Ajith Ranabahu
Hi Michele, This whole scenario is not very clear to me. Ofcourse a handler can invoke a web service call but I don't understand the part It seems to me that the problem is the handler endpoint generated by Axis2 Ajith On 6/27/06, Michele Mazzucco [EMAIL PROTECTED] wrote: Hi all, is it

Re: [Axis2] MTOM question

2006-06-27 Thread Michele Mazzucco
Hi Ajith , I'll try to clarify my scenario: service A.a() sends a request to B.foo(). The message is intercepted by a handler (on the B side) before it hits the target. If needed the handler sends a message to a service C.c() to get a file. After getting a file it allow the message sent by A to

Re: [Axis2] MTOM question

2006-06-27 Thread Saminda Abeyruwan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aha, it has the typical semantics of Synapse pass through scenario. Saminda Michele Mazzucco wrote: Hi Ajith , I'll try to clarify my scenario: service A.a() sends a request to B.foo(). The message is intercepted by a handler (on the B side)

Re: [Axis2] MTOM question

2006-06-27 Thread Michele Mazzucco
Saminda, I don't know how Synapse works, however I add some informations at any stage. Michele Saminda Abeyruwan wrote: Aha, it has the typical semantics of Synapse pass through scenario. Saminda Michele Mazzucco wrote: Hi Ajith , I'll try to clarify my scenario: service A.a() sends

Re: [Axis2] MTOM example wsdl generation fails

2006-06-13 Thread Thilina Gunarathne
: Thursday, June 08, 2006 5:27 PMTo: axis-user@ws.apache.org Subject: RE: [Axis2] MTOM example wsdl generation fails Hi Nadeem, I was told to change RawXMLINOutMessageReceiver to RPCMessageReceiver in the services.xml file of the service. The RawXMLINOutMessageReceiver is designed to not produce

RE: [Axis2] MTOM example wsdl generation fails

2006-06-12 Thread Hoda Nadeem
Thanks Jeff. That worked perfectly. Nadeem From: Scudder, Jeffrey W [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 5:27 PMTo: axis-user@ws.apache.orgSubject: RE: [Axis2] MTOM example wsdl generation fails Hi Nadeem, I was told to change RawXMLINOutMessageReceiver

[Axis2] MTOM sample WSDL fails on WSDL2Java

2006-06-12 Thread Hoda Nadeem
I took the following steps: 1. Change RawXMLINOutMessageReceiver to RPCMessageReceiver in Axis2 MTOM sample services.xml (per previous axis2 mailing list posting) 2. Deploy the MTOM sample in Weblogic 9.1 3. Save auto-generated WSDL from browser 4. Run WSDL2Java (with %WSDL% pointing

[Axis2] MTOM example wsdl generation fails

2006-06-08 Thread Hoda Nadeem
I'm running the MTOM sample in the Axis2 1.0 release, and I am able to deploy the service, and talk to the server using the sampleGUI web client successfully. But... when I try to go to the wsdl through the admin interface, I get the following error: url:

  1   2   >