Re: Attaching huge attachments in axis2

2011-07-15 Thread Jorge Medina
You may want to verify that the attachment is sent as SwA or MTOM and not as base64binary embedded into the XML. You may use TCPMon to verify what it is being sent. Try with a small file. On Fri, Jul 15, 2011 at 10:01 PM, Jorge Medina wrote: > Never mind, after looking at the Axis2 source code n

Re: Attaching huge attachments in axis2

2011-07-15 Thread Jorge Medina
Never mind, after looking at the Axis2 source code now it is clear to me that the error is coming from the server. You need to modify the server side. There is nothing you can do in the client side to prevent such error in the server. The server may be reading the whole attachment before processi

Re: Attaching huge attachments in axis2

2011-07-15 Thread Jorge Medina
I am not clear, Is the message " OutOfMemoryError " coming from the server? Or is it your client code running out of memory? I think it is your client code running out of memory because your stack trace contains: org.apache.axis2.description.OutInAxisOperationClient.send rather than org.apac

RE: Can an Axis Webservice be called just like a local method?

2011-07-15 Thread Caristi, Joe
Using our strategy, this would not happen, as we are bypassing Axis2 completely. You may want to consider the Axis2 local transport. I've never used it, but it seems like what you need. http://axis.apache.org/axis2/java/core/docs/Axis2ArchitectureGuide.html Fro

RE: Can an Axis Webservice be called just like a local method?

2011-07-15 Thread Yashwanth Rajaram -X (yrajaram - ZENSAR TECHNOLOGIES INC at Cisco)
Thanks Joe, Tony, In such case would the engaged module also be invoked? Say you have WSS/Rampart engaged for that webservice would hose be invoked when calling that webservice as a java method call? thanks, -- Yashwanth From: Caristi, Joe [mailto:[email protected]] Sent: F

RE: Can an Axis Webservice be called just like a local method?

2011-07-15 Thread Tony HEDOUX
Hi, You can call it like a local java method if your web service and your client application are in the same servlet. But why do you want to do this? Performance issue? Maintenance issue? Ressource sharing? Tony.From: [email protected] To: [email protected] Date: Fri, 15 Jul 201

RE: Can an Axis Webservice be called just like a local method?

2011-07-15 Thread Caristi, Joe
We have an application that exposes both web services and web pages. The web pages create request objects and call the service object directly, skipping the entire Soap/Rest/XML layer. We can do this easily, since we have deployed Axis2 with Spring, and our web page has access (via dependency

Can an Axis Webservice be called just like a local method?

2011-07-15 Thread Yashwanth Rajaram -X (yrajaram - ZENSAR TECHNOLOGIES INC at Cisco)
Hi All: We have implemented our own module which is engaged when invoking a Webservice. This Webservice serves its purpose for external clients. However for client applications that run within the same host, (to avoid network hop) we would like to invoke this Webservice as a local/Java metho

WstxIOException: Broken pipe

2011-07-15 Thread Balagopal R
Dear All, I am getting this exception randomly while writing the response back to the client. Could anyone please help on this. 13:08:18,871|ERROR|HttpConnection-4568-35|http.CommonsHTTPTransportSender:sendUsingOutputStream:367||Broken pipe org.apache.axis2.AxisFault: Broken pipe