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,
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
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
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
Can anyone point me to recent performance metrics on Axis2 (1.4.x)
/MTOM?
- Sowmi
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,
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
]
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
*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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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 (
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
@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
?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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.
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
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.
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:
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
@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
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
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
@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
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
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
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
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
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
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
.
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
: [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
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
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.
:[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
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
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;
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
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
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
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
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
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
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
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
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
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
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
ÆÃ"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.
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
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
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
@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
, 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
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
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
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
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 =
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
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
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
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
-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)
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
: 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
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
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
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 - 100 of 129 matches
Mail list logo