Re: SSL support using other packages other than openSSL ?

2008-08-12 Thread Samisa Abeysinghe
Raymond Zhou wrote: Hi, All, I understand that AXIS2/c depends on openSSL to support SSL communication. I was wondering if it is possible, or if any other people have tried, to use other packages other than openSSL to do so. My company has licensed another product for support

Re: Out Of Memory issue in axis2 1.4

2008-08-12 Thread Thilina Gunarathne
Nope... It's not due to Axis2.. It might be vulnerable due to your implementation.. For an example, you said you are writing the whole OMElement to a DataBase. In such a case if you just did OMElement.toString(), it'll cause the attachment to get loaded in to memory. This will eventually cause a

Re: mtom file size

2008-08-12 Thread Thilina Gunarathne
I'm not sure whether Axis2 MTOM policy implementation supports such a scenerio.. Other than that, I cannot think of any.. thanks, Thilina On Mon, Aug 11, 2008 at 5:38 PM, Shehan Simen [EMAIL PROTECTED] wrote: Hi, I want to specify the maximum file size when using MTOM. The client should

Re: Seemingly strange result switching from Axis2 1.3 to 1.4

2008-08-12 Thread Amila Suriarachchi
Can you send your full wsdl, request and response messages? thanks, Amila. On Tue, Aug 12, 2008 at 4:02 AM, nate roe [EMAIL PROTECTED] wrote: I have a POJO service deployed on JBoss 4.05 under Axis2 v1.3. I have modified this service to instead use Axis2 v1.4. I then regenerated the

Re: useOriginalwsdl

2008-08-12 Thread Amila Suriarachchi
On Mon, Aug 11, 2008 at 6:59 PM, Oliver Braun [EMAIL PROTECTED]wrote: Hi to all. I am using Axis2 v1.3. and I want Axis2 to display the original WSDL-file, which I have putted into the META-INF-folder of the aar-file. My WSDL file contains a schema import to an external URL (e.g.

Re: Axis2 - Handler to log all messages without attachments

2008-08-12 Thread Thilina Gunarathne
You can try traversing the whole envelope looking for xop:include elements and then detach those elements from the tree.. But doing this will cause the attachment information in the SOAP envelope to be lost and ur services may not function properly. One other thing you can try is to access the

Re: Axis2 - Handler to log all messages without attachments

2008-08-12 Thread Thilina Gunarathne
Make sure you try the second method first :).. On Tue, Aug 12, 2008 at 12:01 AM, Thilina Gunarathne [EMAIL PROTECTED]wrote: You can try traversing the whole envelope looking for xop:include elements and then detach those elements from the tree.. But doing this will cause the attachment

RE: Out Of Memory issue in axis2 1.4

2008-08-12 Thread Shehan Simen
Hi Thilina, Thank you for the explanation. But if I loaded the OmElement from the method, OmElement = request.getOMElement, does not it mean that the whole request (with the attachment) loaded to memory? If it is the case, then there is no point of doing streaming to the already loaded

Re: Axis2 1.4 - Rampart 1.4 - Policy not applied - Axis WebService using Axis Stub for calling thirdparty webservice

2008-08-12 Thread gprovost
Ok, I asked the question because i've heard about wsp:PolicyReference. Anyway, is this possible to achieve the same thing using the programmatic way. For example by using the ServiceLyfeCycle, during the startUp phase : public void startUp(ConfigurationContext context, AxisService service)

Inheritance problems with Axis 1.4

2008-08-12 Thread Jacob Volstrup
Hi, I am experiencing some weird inheritance problems with Axis 1.4. I need to have my WSDL expose my whole class hierarchy, thus I have declared all my typemappings in the WSDD file. Unfortunately my WSDL is only exposing those classes which are directly returned by some of my methods or those

Re: Axis2 - Handler to log all messages without attachments

2008-08-12 Thread StrongSteve
Hi! Thanks for your quick reply. I already know how to get to the attachments, but what I want to do, is log everything EXCEPT the attachments! ;) Removing them from the message, does not work. I do not know why... :( And hints for me? Thanks in Advance! Greetings Stefan Thilina Gunarathne

How can I configure AXIS2 so that it does not ignore whitespace in element

2008-08-12 Thread Deepak Vishwakarma
Hi, I am trying to verify a signed SOAP request. But, somehow the digest created for Soap Body doesn't match the one present in the SOAP request for the SOAP Body. While signing the ignorable whitespace characters are taken into consideration. But, when the request is received at the server

Re: How can I configure AXIS2 so that it does not ignore whitespace in element

2008-08-12 Thread Samisa Abeysinghe
Could this be done at the AXIOM level, using an option? Samisa... Deepak Vishwakarma wrote: Hi, I am trying to verify a signed SOAP request. But, somehow the digest created for Soap Body doesn't match the one present in the SOAP request for the SOAP Body. While signing the ignorable

Re: Axis2 - Handler to log all messages without attachments

2008-08-12 Thread Samisa Abeysinghe
StrongSteve wrote: Hi! Thanks for your quick reply. I already know how to get to the attachments, but what I want to do, is log everything EXCEPT the attachments! ;) Removing them from the message, does not work. I do not know why... :( How did you remove them? Samisa... And hints for

Re: mtom file size

2008-08-12 Thread Samisa Abeysinghe
Thilina Gunarathne wrote: I'm not sure whether Axis2 MTOM policy implementation supports such a scenerio.. Other than that, I cannot think of any.. Does this mean that someone can send several large attachments concurrently and take down the server by making it go out of resources? Thanks,

Re: How can I configure AXIS2 so that it does not ignore whitespace in element

2008-08-12 Thread Deepak Vishwakarma
I have no idea how to do that. If you can put some light on how to achieve it at the AXIOM level, that would be perfectly fine. Thanks, Deepak. --- On Tue, 12/8/08, Samisa Abeysinghe [EMAIL PROTECTED] wrote: From: Samisa Abeysinghe [EMAIL PROTECTED] Subject: Re: How can I configure AXIS2 so

Re: Axis2 - Handler to log all messages without attachments

2008-08-12 Thread StrongSteve
Like this: Attachments attachments = arg0.getAttachmentMap(); String[] attachmentIds = attachments.getAllContentIDs(); for (int i = 0; i attachmentIds.length; i++) {

JMS timeout

2008-08-12 Thread Ihab EL-ALAMI
Hi everybody, I have set up my JMS transport, and I would like now to call a service via JMS. The problem is this service needs more than 20 seconds to answer back, and the timeout for this transport is set to 3ms. How can I modify the timeout? Thanks in advance Ihab

Re: Out Of Memory issue in axis2 1.4

2008-08-12 Thread Thilina Gunarathne
But if I loaded the OmElement from the method, OmElement = request.getOMElement, does not it mean that the whole request (with the attachment) loaded to memory? Nope... Loading of the attachment happens only when you do a OmElement.toString()... If it is the case, then there is no point of

Re: Axis2 - Handler to log all messages without attachments

2008-08-12 Thread Thilina Gunarathne
hmmm.. You need to read more carefully... One other thing you can try is to access the SOAP part data handler and log it's contents. You can do that by getting the soap part part content id using the Attachments.getSOAPPartContentID() and then using Attachments.getDataHandler(SOAPPartContentID)

Re: Axis2 - Handler to log all messages without attachments

2008-08-12 Thread Thilina Gunarathne
You cannot remove MTOM attachments like that... They are more bound to the XML object model.. Following works only for the SwA and only for the attachments you added... Not to the one's that came in the request.. thanks, Thilina On Tue, Aug 12, 2008 at 7:23 AM, StrongSteve [EMAIL PROTECTED]

Re: mtom file size

2008-08-12 Thread Thilina Gunarathne
I would say it's possible.. thanks, Thilina On Tue, Aug 12, 2008 at 6:01 AM, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Thilina Gunarathne wrote: I'm not sure whether Axis2 MTOM policy implementation supports such a scenerio.. Other than that, I cannot think of any.. Does this mean that

RE: JMS timeout

2008-08-12 Thread Martin Gainty
take a look at JMSEndpoint javadoc at http://ws.apache.org/axis/java/apiDocs/org/apache/axis/transport/jms/JMSEndpoint.html you can specfy timeout via 2nd parameter to call method byte[] call(byte[] message, long timeout) Anyone else? Martin

Re: Meaning of some services.xml parameters

2008-08-12 Thread Nadir Amra
Although the reference given gives a good explanation of the various parameters, it is not complete. We do need to create a document that fully describes the services.xml file. Please open a JIRA Nadir Amra Charitha Kankanamge [EMAIL PROTECTED] wrote on 08/11/2008 08:31:52 PM: Hi,

RE: Out Of Memory issue in axis2 1.4

2008-08-12 Thread Martin Gainty
perhaps you are constrained by the JVM heap what are the max heap params in JAVA_OPTS for your invoking JVM? here is a min suggestion that I configured via JAVA_OPTS -Xmx512m (and if you still get OOM bump to -Xmx1024m ) ? Martin __ Disclaimer and

Re: JMS timeout

2008-08-12 Thread Ihab EL-ALAMI
Thanks for your prompt reply, But actually I am not doing that programmatically. Is there a way to specify that statically from the axis2.xml file for instance? Ihab EL ALAMI Process Expert Intalio, The Open Source BPMS Company On Tue, Aug 12, 2008 at 8:46 AM, Martin Gainty [EMAIL PROTECTED]

Re: JMS timeout

2008-08-12 Thread Asankha C. Perera
Hi Ihab Please set the message context property JMS_WAIT_REPLY to what you desire (in ms). This will override the default timeout asankha Ihab EL-ALAMI wrote: Thanks for your prompt reply, But actually I am not doing that programmatically. Is there a way to specify that statically from the

Re: Give you a good website:goshopex.com

2008-08-12 Thread Ice_lim
SCAM ALERT, tried it just today and after I send the money they are asking again for additional payments. -- View this message in context: http://www.nabble.com/Give-you-a-good-website%3Agoshopex.com-tp18627422p18948367.html Sent from the Axis - User mailing list archive at Nabble.com.

Re: Give you a good website:goshopex.com___SCAM

2008-08-12 Thread Ice_lim
This a SCAM do not buy anything from this site They will ask additional payments WWW.GOSHOPEX.COM-SCAM -- View this message in context: http://www.nabble.com/Give-you-a-good-website%3Agoshopex.com-tp18627449p18948516.html Sent from the Axis - User mailing list archive at

Re: JMS timeout

2008-08-12 Thread Ihab EL-ALAMI
Thanks Asankha! But I did try that before and it did not work. Where should I put it exactly? in the Receiver or Sender? can you please give me an example with the modification just to make sure I am doing the correct thing? Thanks again Ihab EL ALAMI Process Expert Intalio, The Open Source BPMS

spring Axis2 integration question

2008-08-12 Thread scabbage
I've been struggling to understand how spring and Axis2 will work together. I have read the tutorial at http://ws.apache.org/axis2/1_4/spring.html#21. But still couldn't understand what it's talking about. As I'm new to webservice and Axis2, I hope you could kindly provide some pointers so that

Re: spring Axis2 integration question

2008-08-12 Thread robert lazarski
Putting all jars in WEB-INF/lib is easiest and recommended in most cases. - R On Tue, Aug 12, 2008 at 2:21 PM, scabbage [EMAIL PROTECTED] wrote: I've been struggling to understand how spring and Axis2 will work together. I have read the tutorial at

Re: spring Axis2 integration question

2008-08-12 Thread robert lazarski
Also, use the with a ServletContext options for use with WEB-INF/lib . - R On Tue, Aug 12, 2008 at 3:23 PM, robert lazarski [EMAIL PROTECTED] wrote: Putting all jars in WEB-INF/lib is easiest and recommended in most cases. - R On Tue, Aug 12, 2008 at 2:21 PM, scabbage [EMAIL PROTECTED]

RE: Meaning of some services.xml parameters

2008-08-12 Thread Shah, Sumit
Thanks for all the information. I will certainly create a new ticket in JIRA for the same. Deployment related detailed documentation will certainly help a lot of folks trying to work with Axis2. I had an additional question: Is an actionMapping element required if I am using my own wsdl file?

Axis2 array wrappers

2008-08-12 Thread Dan Leahu
Hi, I've an axis2 web service that has the following structure: 1. name 2. surname 3. Phone[] phone The problem here is that when I want to see a response from this service it always gives me something like this: ns:sayHelloWorldFromResponse ns:return

Please help - Embedded web service

2008-08-12 Thread Marc.Horvath
I've successfully embedded Axis in my web app and bring up happyaxis.jsp without a problem. My test web service code is in the following pkg: com.cpcus.jaru.webservices.calc3. This package contains the CalcIF interface and implemented code CalcImpl. I'm assuming the wsdl2java script will

Re: Seemingly strange result switching from Axis2 1.3 to 1.4

2008-08-12 Thread nate roe
Unfortunately, I can't easily provide all of this information. I understand if I've provided too little for a complete picture, but I'm hoping for an avenue of inquiry... I'm not sure where to look or how to diagnose the problem. On Mon, Aug 11, 2008 at 11:38 PM, Amila Suriarachchi [EMAIL

RE: Seemingly strange result switching from Axis2 1.3 to 1.4

2008-08-12 Thread Kraus, David
Just a wild guess but: The error Unexpected subelement typeId would lead me to want to investigate the handling of nil with anyType fields. It looks like the deserializer hit the typeId data, maybe while processing the previous nameList (anyType) field. Try substituting another specific type for

Re: Client handler tutorial

2008-08-12 Thread Franklin, Allen
I am having trouble figuring out how to add client-side handlers in axis2. I see the email reply, below, that there is no difference between client and server side. But the configuration must be different since on the client side there is no web container to put the axis2.xml configuration

RE: Client handler tutorial

2008-08-12 Thread Martin Gainty
yuo can deploy the client mar from the admin utility try http://localhost:8080/axis2/axis2-admin/ HTH Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This

RE: Out Of Memory issue in axis2 1.4

2008-08-12 Thread Shehan Simen
Hi Thilina, Could you please tell me how to stream the OmElement? If I can create a blob type from the OMelement, that would be great. I don't understand a way to save the OmElement without calling the toString() (or toStringWithConcume()) method. Please give me code snippet. Thank you.

RE: mtom file size

2008-08-12 Thread Shehan Simen
Hi Thilina, It is a big threat to the web service. :( I don't want to crash my web server by receiving large files. We cannot request from the clients to send small files and people are always willing to blame us by crashing the web server. There may be some settings in the tomcat configurations

Transport specification for web services

2008-08-12 Thread Kumar, Lokesh
Hi, I need to specify transport specification for some web services. The default for the axis2 is HTTP and I want to keep it like that. But I do want some of my web services to connect to their client with TCP. Is it possible to specify transport mechanism different from other services on the

RE: Transport specification for web services

2008-08-12 Thread Martin Gainty
AXIS supports a number of different transports If you want to implement AXIS via JMS take a look at IBM's JMS Tutorial http://www.ibm.com/developerworks/webservices/library/ws-jms/ Anyone ? Martin __ Disclaimer and confidentiality note Everything

maximum size of the axis2 request

2008-08-12 Thread Shehan Simen
Hi, In the tomcat server.xml, I set the maxPostSize to 1mb. But still my web service can receive 2mb size request. Is there a way in axis 2 to specify the maximum request size? Thank you.

RE: mtom file size

2008-08-12 Thread Martin Gainty
your SOAP response can be a URL to the file ..and hand the URL to FTP server for bulk of the heavy lifting another idea is to compress the file which will conserve bandwidth the question is which server has the necessary bandwidth to handle the transmission? if you're bogging down your webapp

RE: mtom file size

2008-08-12 Thread Shehan Simen
Hi Martin, Thanks for your ideas. But this is making life more complex. The web service client(the real users of the web service) can directly send large files to the web server. I have no control over that. I cannot ask them to send zip files or whatever. But from server side, I should restrict

Re: mtom file size

2008-08-12 Thread Thilina Gunarathne
Hi, There is a similar parameter setting in the tomcat service.xml as maxPostSize=in bytes , this will restrict the size of incoming POST request. But this does not work for axis web service requests, but that configuration is quite easier and no need to waste time on clustering and stuff.

RE: mtom file size

2008-08-12 Thread Shehan Simen
Hi Thilina, The maxPostSize attribute is working in tomcat only for the Post requests coming via the Forms. I searched a lot in google to try to find a solution. But seems no solution. Thanks. Regards, Simen From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Wednesday, 13 August 2008

Re: tcpmon in axis2?

2008-08-12 Thread Samisa Abeysinghe
Dini Omar wrote: You have to download it separately. Form here: http://ws.apache.org/commons/tcpmon/ Samisa... Regards Dini On Thu, Jul 31, 2008 at 11:20 PM, Naga Vijayapuram [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, No tcpmon in Axis2? Naga

Re: maximum size of the axis2 request

2008-08-12 Thread Samisa Abeysinghe
Shehan Simen wrote: Hi, In the tomcat server.xml, I set the maxPostSize to 1mb. But still my web service can receive 2mb size request. Is there a way in axis 2 to specify the maximum request size? No. Samisa... Thank you. -- Samisa Abeysinghe

RE: maximum size of the axis2 request

2008-08-12 Thread Shehan Simen
So how do I restrict large attachments creeping into the web service? I don't want to receive 1Gb size attachments coming in. :-( -Original Message- From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] Sent: Wednesday, 13 August 2008 3:11 PM To: axis-user@ws.apache.org Subject: Re: maximum