Jar/Mar files in temp directory are not getting deleted

2010-02-18 Thread Matthias.Gaiser
Hi all, after using Axis2 for about a year, I have discovered that Axis2 creates a lot of temporary jar/mar/aar copies on my temp folder. That way in the last 7 months 1256 folders with 18722 files were created which now use about 4GB of my disk space. It seems to me that every time I restart m

AW: OutOfMemoryError at WS call client side

2009-11-10 Thread Matthias.Gaiser
Hi, I like to share the solution I have so far. I am involved in implementing a middleware which has to perform lots of web service calls, also in parallel. This means we cannot just share a service client for all our requests. I've found through debugging axis2 code that calling serviceClient

AW: [Axis 2.1.5] Addressing module not found on Websphere

2009-10-21 Thread Matthias.Gaiser
Hello again, it turned out that the error came from installating WebSphere Application Server with administration security on. So I deinstalled it and installed it again without administration security. It could be switched on after the installation without any problem. Hope it helps anyone

[Axis 2.1.5] Addressing module not found on Websphere

2009-10-14 Thread Matthias.Gaiser
Hello, we are using Axis2 1.5 on WebSphere Application Server 6.1.0.13 on Windows XP. While it works on one machine it doesn't work on another machine with the same configuration. The only difference is that we installed the Websphere with administration security on the machine where it is not

Custom module in serviceGroup

2009-07-09 Thread Matthias.Gaiser
Hi group, I have had the same problem like Florian described here (http://markmail.org/message/apoieprt4bz7teyd) that my custom module was activated for every service although I configured it only for a single operation. I've found the same solution like he did: public InvocationResponse in

AW: Provider com.bea.xml.stream.MXParserFactory not found & stax-1.2.0

2009-06-03 Thread Matthias.Gaiser
Thanks a lot for your fast answers. It is still weird that it works for my colleagues and not for me. I think I got the same jars in my classpath, but I'm probably missing something out I cannot find.. I think I'm done for today.. :o) Thank you, Andreas & Martin!! Matthias. -Ursprünglich

Provider com.bea.xml.stream.MXParserFactory not found & stax-1.2.0

2009-06-03 Thread Matthias.Gaiser
Hi group, I am encountering some curious problem. I am developing an application with axis2 v1.4.1. I develop the client and the server side. I use eclipse for programming. Last week I had to create a new eclipse workspace, but with the same sources. I also created therefore a new server in ecl

AW: AW: Receiving swa attachments

2009-05-18 Thread Matthias.Gaiser
Martin, Bitteschön, I'm happy that I can contribute a little bit back to Axis since it helped me so much in implementing web services. Thanks also for clarifying once more that DIME is not supported by Axis2. I had this already in mind somewhere and a search in the mailing list convinced me

AW: AW: Receiving swa attachments

2009-05-14 Thread Matthias.Gaiser
Hi Martin, I have now this code which works fine for me for receiving SwA attachments. Feel free to include this code into the mtom-user-guide (which should maybe named attachment-user-guide). List attList = new ArrayList(); MessageContext mctx = MessageContext.getCurrentMessageContext();

Attachments are incomplete

2009-05-14 Thread Matthias.Gaiser
Hi group, I am receiving attachments via MTOM and SwA. I could watch via tcpmon that the complete files were being transferred. But when I saved the files on the receiver side, in the middle of the file data was lost. I tested this also without tcpmon because I know that tcpmon does something w

AW: Receiving swa attachments

2009-05-14 Thread Matthias.Gaiser
Hi Chinmoy, thanks for your answer. It gave me a hint into the right direction. Now it is working. Yes, I did enable the SwA property, but it is only necessary to enable it on the client side, not on the server side as other tutorials mention as well. My problem was that I tried to get the

Receiving swa attachments

2009-05-13 Thread Matthias.Gaiser
Hi group, I am getting a bit frustrated with swa attachments. For reason of compatibility I have to support them. I am trying to upload a file with swa to a service. I can see via tcpmon that my file is being sent, but on the server side I can't see the file in the attachments map. It is just n

TypeDesc in Axis2 and ADB

2009-04-27 Thread Matthias.Gaiser
Hi all, I am currently involved in migrating Axis1 code to Axis2. In our Axis1 code, we used the TypeDesc class to analyze the complex classes to check for e.g. the minOccurs or maxOccurs settings in order to do something specific in our Java code. Now we are using Axis2 with ADB and we fou

AW: Axis2 consumer within Axis2 provider classpath issue

2009-02-03 Thread Matthias.Gaiser
Hi group, I am jumping in as well.. I got the same question what the recommended way is in such a case? I got problems that the handlers were used for my service and my stub communications which confused me. Any standard ways here? Matthias. Von: Paul French [mailto:paul.fre...@kiro

AW: Large xml response

2008-12-19 Thread Matthias.Gaiser
I probably should have invested more time into research myself. I have found an option in the tomcat configuration. I haven't tried it yet, but it looks promising. You can configure the HTTP connector of your tomcat (or similar server) to use HTTP compression. For more details on HTTP compression

AW: Large xml response

2008-12-18 Thread Matthias.Gaiser
I thought into the same direction that not the SOAP framework but the underlying transport framework should take care of this, e.g. like the tomcat my webapp is running on. Is there somehow an option to do this? With such an option I then might run into interoperability issues on the other hand

Large xml response

2008-12-18 Thread Matthias.Gaiser
Hi group, I have read some earlier threads but haven't found an answer there. I want to implement a web service which will forward large xml strings which it receives via backend services. I have a few points where I want to ask if there is a standard solution. - Does Axis offer some stand

AW: soapUI and Apache Axis

2008-09-24 Thread Matthias.Gaiser
Hi Frank, I use soapUI regularly to test my Axis web services and it works really good. I can recommend this tool to everyone for testing. You can get it here http://www.soapui.org Matthias. > -Ursprüngliche Nachricht- > Von: Chen, Lizhao [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch,

AW: soap headers not present in handler

2008-09-23 Thread Matthias.Gaiser
I solved it and it is just a stupid fault. I forgot to declare the wsa namespace and just used the prefix. The usual copy&paste- problem. :) Maybe there could be an error message from Axis telling me that a prefix isn't declared in the request message. That would be very helpful. Hope this help

AW: soap headers not present in handler

2008-09-18 Thread Matthias.Gaiser
Thanky you for your answer Deepal. I understand this. That's why I add the wsa-headers before the wsa-headers are handled which works quite good. But my problem is that when my client sends the wsa-headers, I cannot access the headers from my handler. It is just like I won't send it, but I defin

soap headers not present in handler

2008-09-17 Thread Matthias.Gaiser
Hi group, I have a weird phenomenon. I have implemented a compatibility header which adds the ws-adressing headers to non-ws-adressing-requests. I need this in order to use the soapsession id (servicegroupid) for my soapsession based service. Now I can call my service with a request without t

AW: Axis 1.4 and MTOM

2008-08-15 Thread Matthias.Gaiser
Hi Aki, I am using Axis 1.4 (not Axis2) for the client and the server and I am wondering if it is possible at all to implement the scenario to transmit attachments using MTOM? You said you have some scenarios.. could you point me to them? > I don't know how you captured the message (response.t

AW: SOAP-Session management; terminate session.

2008-08-15 Thread Matthias.Gaiser
Hi group, I've found this old message in the mailing list about a topic which I also have to think about again. Is there a nicer, maybe standard, way to end a soapsession? What is the best way to destroy a session and all related resources, like eg. licenses? Hoping for your help, Ma

AW: Websphere MQ configuration

2008-07-22 Thread Matthias.Gaiser
Hi Upul, Thanks a lot for the fast answer. I tried out the Synapse JMS Listener, which somehow solved one part of the problem, but I still get another error message, I am not sure about how to resolve it. [INFO] JMS Transport Receiver/Listener initialized... [INFO] Connected to the JMS con

Websphere MQ configuration

2008-07-22 Thread Matthias.Gaiser
Hi, I am trying to publish a web service via WebSphere MQ and I am encountering some problems. My steps so far included: 1. Created a WebService named "TestService". 2. Added in the axis2.xml the section: org.apache.naming.java.javaURLContext Factory java:comp

AW: service language

2008-06-06 Thread Matthias.Gaiser
Hi Christian, I would also go the same way of the solution. I am a German as well and we had the same thing to do with one of our services. I just changed the existing service by renaming the classes and methods and every language specific part. And in the future, I would try to produce always

AW: [Axis 2.1.3] Session gets destroyed in soapsession scope

2008-05-28 Thread Matthias.Gaiser
Hi Mikelantonio, Thanks for answering. I am sending a SOAP message (with a WS-Adressing header) to the server and it returns me a service group id in the WS-Adressing-SOAP-Header. That is how I retrieve the service group id and I send it then with the following messages. The actual retrieval

[Axis 2.1.3] Session gets destroyed in soapsession scope

2008-05-19 Thread Matthias.Gaiser
Hi group, I am currently implementing a stateful web service based on the soapsession scope configuration. Now, I can call my webservice and it returns a sessionid. When I call the webservice a second time with this session id. Then at first the current session (the one I want to get) is de

RE: [Axis2][1.3] soapsession management with serviceGroup

2008-04-03 Thread Matthias.Gaiser
Thanks for the fast answer, Deepal. > > Hi all, > > > > I have read different mailings in this list, but they did not answer my > > questions about soapsessions. > > > > > Here is my scenario. I have two services deployed in a single > > servicegroup. I now have setup a client which calls the serv

[Axis2][1.3] soapsession management with serviceGroup

2008-04-03 Thread Matthias.Gaiser
Hi all, I have read different mailings in this list, but they did not answer my questions about soapsessions. Here is my scenario. I have two services deployed in a single servicegroup. I now have setup a client which calls the services and I can see that the ServiceGroupContext stays the same in

[Axis2] Renaming ServiceGroupId

2008-03-27 Thread Matthias.Gaiser
Hi all, I am currently getting started in the session handling with axis2. When I am using the soapsession approach, axis2 generates the following header in the SOAP response. http://ws.apache.org/namespaces/axis2";>... Now what I want to do is customizing this tag in order to reflect that

RE: How do I learn which Axis2 JARs have which classes?

2008-03-20 Thread Matthias.Gaiser
If it is still valuable to anyone. If you use eclipse as your developing IDE. It has a nice feature how you can lookup classes. Just press the keys Strg+Shift+T (alternatively open the Menu "Navigate" --> "Open Type") and eclipse opens a "Open Type" dialog. There you can start typing your classn

AW: [Axis2] Problem with handler and services.xml

2008-03-11 Thread Matthias.Gaiser
Hello, I just want to post the solution of my issue. I configured everything in the right places, but my module.xml was incorrect. I did not pay enough attention to the case sensitivity of the tag names for "InFlow", "OutFlow", "InFaultFlow" and "OutFaultFlow". I followed the axis2 1.2 module gu

AW: [Axis2] Problem with handler and services.xml

2008-03-10 Thread Matthias.Gaiser
Hello again, I now created an issue in JIRA with my module to try and the axis2.xml configuration. https://issues.apache.org/jira/browse/AXIS2-3588 Could please someone of you test my module or have a look at it what I am doing wrong? The module is being loaded, but the handler is never being i

AW: [Axis2] Problem with handler and services.xml

2008-03-07 Thread Matthias.Gaiser
Hi Martin, I can confirm all your questions, but still do not have a working handler. I am happy to provide you with any more details, if it helps. Thanks, Matthias. > Von: Martin Gainty [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 7. März 2008 14:45 > An: Gaiser, Matthias > Cc: axis-user@ws.a

AW: [Axis2] Problem with handler and services.xml

2008-03-07 Thread Matthias.Gaiser
Hi, Thanks for checking my description. I tried engaging it globally with a in the axis2.xml, but it is still not working. The only way it worked was when I specified it directly in the phase (in axis2.xml) like: ... other phases ... I also compared my handler again t

AW: AW: [Axis2] Problem with handler and services.xml

2008-03-07 Thread Matthias.Gaiser
Hi again, Thank you for your efforts, Deepal. Yes, I am sure the service is called. I placed a breakpoint in the called method and the breakpoint is reached. I even get the answer of my service. I also placed a breakpoint inside the handler and it is not reached, unfortunately. I attached my a

AW: eclipse and axis2

2008-03-07 Thread Matthias.Gaiser
Hi Michael, I am not using Axis2 for a long time, but I'm using eclipse for quite a while. So all other users, please correct me if I'm wrong. What version of eclipse do you have installed? I assume it is a current version with Web Tools plugin. I installed the eclipse Version for Java EE Devel

AW: [Axis2] Problem with handler and services.xml

2008-03-06 Thread Matthias.Gaiser
Hi Deepal, I have created an axis2 project with eclipse which arranged the axis2 folder structure for me. By placing my module in the "WEB-INF/modules"-folder I deploy it to axis2. When I use the Axis2 Admin Console I can see my module engaged for my service.But it still does not work. That is

[Axis2] Problem with handler and services.xml

2008-03-06 Thread Matthias.Gaiser
Hi all, I am writing my own module, containing a handler. For this, I have completed following steps. - I have specified the handler for a custom phase (in the InFlow) in the module.xml - I have added the custom phase to the axis2.xml (in the InFlow) - I have added a to the services.xml

AW: Generating service.xml with wsdl2java

2008-02-22 Thread Matthias.Gaiser
Hi, I thought about a solution with an ant script calling an XSLT transformation to synchronize my old service.xml (with references to modules) with my new generated one by wsdl2java. Has anybody done this already? Is there an easier way to do this? In order to provide a generic solution I

AW: Generating service.xml with wsdl2java

2008-02-20 Thread Matthias.Gaiser
Hello Dirk, Thank you for your answer. That is exactly what I want to do. And I think there are lots of other people out there which have the same problem or am I wrong? My question now is if there is a kind of standard way to alter the default services.xml? This altering of the services.x

Generating service.xml with wsdl2java

2008-02-20 Thread Matthias.Gaiser
Hi all, I am generating the server-side code from a wsdl with wsdl2java which generates the corresponding java classes and the service.xml. Now I am changing the service.xml to add some handlers, messagereceiver, etc. When some methods are added to wsdl, I am generating the code again with

Migration from Axis 1.4 to Axis2

2008-02-15 Thread Matthias.Gaiser
Hi group, We are currently migrating our web services from Axis 1.4 to Axis 2. In creating web services we start by writing the implementation class. Then we run the java2wsdl tool to generate a wsdl file from our implementation of the service in Axis 1.4. After this, we run the wsdl2java t