Re: [axis2] service scope :: static instance variables

2006-07-22 Thread studium-sbr
Thanks for your explanantion!! That makes it clear to me ! > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 23.07.06 01:22:12 > An: axis-user@ws.apache.org > Betreff: Re: [axis2] service scope :: static instance variables > You should not use static variables, but

Re: [axis2] service scope :: static instance variables

2006-07-22 Thread studium-sbr
Martin- Thanks for your reply. I use Java 1.4.2. I'm just wondering about the - to my opinion - strange behaviour. The service class is instantiated with every request, but one of its static instance variables keeps the same (Object ID is same over several requests). Why is this ? The other sta

[axis2] service scope :: static instance variables

2006-07-22 Thread studium-sbr
Hi to all, I'm just wondering about the following: - my service is of scope REQUEST - in the service I have some static instance variables like the messageContexts and some configuration properties. While debugging I realize, that my service-class has an individual Object-ID for every imcoming

Re: [Repost][axis2] Error while invoking the service w ith SOAP1.2 messages

2006-07-20 Thread studium-sbr
Robert, thanks so far. My comments inline. > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 19.07.06 19:35:03 > An: axis-user@ws.apache.org > Betreff: Re: [Repost][axis2] Error while invoking the service with SOAP1.2 > messages > This isn't the area I typically wor

Re: Unable to generate WSDL for this service

2006-07-18 Thread studium-sbr
as the reason depicts: a) use RPC MessageReceiver (see the messageReceivers-Tag in the services.xml) b) if you use other than RPC you have to put your own WSDL into the META-INF/-Directory in the *.aar HTH Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 18.07

[Repost][axis2] Error while invoking the service with SOAP1.2 messages

2006-07-18 Thread studium-sbr
Sorry for this being the third Post, but I didn't get any replies. Could someone please give me any hint what's going on. How does Axis-Engine determine which method to invoke? Which parameters are evaluated and what is the order? Thanks for your time Bille -Ursprüngliche Nachricht- Von

Re: java.lang.NullPointerException

2006-07-17 Thread studium-sbr
you are trying to use an object, which is not instantiated. Could you please check your service implementation on customize.groupList1.deleteSQL(groupList1.java:158) > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 17.07.06 14:43:00 > An: axis-user@ws.apache.org >

Re: WSDL2Java in Axis2 is not working?

2006-07-08 Thread studium-sbr
Hi, I turned your WSDL in a valid one; see attached. You had to qualify your simple types in the type section with the prefix xsd. Also your port in the service section referenced an invalid binding. HTH Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 08.07.0

Re: [axis2] namespace question in wsdl

2006-07-07 Thread studium-sbr
Thanks Anne for this profound explanation !! > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 07.07.06 18:04:14 > An: axis-user@ws.apache.org > Betreff: Re: [axis2] namespace question in wsdl > Robert, > > I know that Axis2 1.0 had a bug in it such that it did not

[axis2] Validating Messages :: WSDL ::

2006-07-07 Thread studium-sbr
Since there was no reply, I'll try again... Thanks for your time Bille -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] Gesendet: 03.07.06 14:52:54 An: axis-user@ws.apache.org Betreff: [axis2] Validating Messages :: WSDL :: Hi everbody, I encounter the following: - specified the requ

[axis2] Error while invoking the service with SOAP1.2 messages

2006-07-07 Thread studium-sbr
Since noone answered, I'll try again... Sorry for that reposting Bille -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] Gesendet: 03.07.06 02:07:07 An: axis-user@ws.apache.org Betreff: [axis2] Error while invoking the service with SOAP1.2 messages Hi to the list, I have a service-

Re: [Axis2 v1.0] soapmonitor, how to use

2006-07-05 Thread studium-sbr
Hi, have a look at this: http://ws.apache.org/axis2/1_0/soapmonitor-module.html HTH Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 05.07.06 13:21:15 > An: axis-user@ws.apache.org > Betreff: [Axis2 v1.0] soapmonitor, how to use > Dear All, > >I did

[axis2] Validating Messages :: WSDL ::

2006-07-03 Thread studium-sbr
Hi everbody, I encounter the following: - specified the request-message for my service-method as the following (WSDL-File): ...

Re: [axis2 nightly build 22 Jun] more bug

2006-07-03 Thread studium-sbr
Hi Sathita, here it is: http://issues.apache.org/jira/browse/AXIS2 HTH Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 03.07.06 09:32:33 > An: [EMAIL PROTECTED] > CC: axis-user@ws.apache.org > Betreff: Re: [axis2 nightly build 22 Jun] more bug > can anyone

Re: Where is axis2.war ?

2006-07-03 Thread studium-sbr
have you tried this one (war distribution) ? http://ws.apache.org/axis2/download/1_0/download.cgi put it in your webapps-container of Tomcat -> restart server Greetings Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 03.07.06 09:42:01 > An: axis-user@ws.apach

[axis2] Error while invoking the service with SOAP1.2 messages

2006-07-02 Thread studium-sbr
Hi to the list, I have a service-implementation, that is a code-generated skeleton. My client uses no stubs, just the plain AXIOM API. The service works fine with SOAP1.1 but if the Client switches to SOAP1.2 I get an AxisFault: Operation Not found EPR is http://localhost:8080/axis2/services/LD

Re: [axis2] code generated service :: Operation not found

2006-06-30 Thread studium-sbr
Thanks Deepal for your patience, that was the point. Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 30.06.06 11:41:45 > An: axis-user@ws.apache.org > Betreff: Re: [axis2] code generated service :: Operation not found > action mapping in your services.xml d

Re: [axis2] code generated service :: Operation not found

2006-06-30 Thread studium-sbr
Thanks again Deepal, I already had the actionmapping in my service.xml. Here's my services.xml Dieser Service stellt einige Hilfsmethoden zur Verfuegung, mit denen bequem Anfragen an die MetaDirectories gestellt werden koennen.

Re: [axis2] code generated service :: Operation not found

2006-06-29 Thread studium-sbr
Sure, here it is. Thanks for your time!! Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 30.06.06 07:04:06 > An: axis-user@ws.apache.org > Betreff: Re: [axis2] code generated service :: Operation not found > Hi Studium; > > Could you please post the wsdl a

Re: [axis2] code generated service :: Operation not found

2006-06-29 Thread studium-sbr
Thank you Deepal, but I think the action is set. While debugging I can see that the options-Container of the messageContext-Object has an entry action with the value 'http://localhost:8080/axis2/services/MyService/myMethod' which is the correct URL. Attached is the client (stubclass). While stepp

[axis2] code generated service :: Operation not found

2006-06-28 Thread studium-sbr
Hi, I have a code generated service deployed, let's call it 'MyService'. The axis service list says the service is fine and has a method 'myMethod' When running the Client with a simple message I get an AxisFault saying: Operation Not found EPR is http://localhost:8080/axis2/services/MyService a

Re: [AXIS2] Does AXIS2 support Java2WSDL?

2006-06-26 Thread studium-sbr
As I mentioned, I used the Eclipse-Plugin. It is downloadable under the tools section of axis2 1.0. Deepal advised me to us the annogen-0.1.0.jar from codehaus. Now it works for me. Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 26.06.06 07:22:47 > An: axis-

Re: [axis2] Java2WSDL problem

2006-06-26 Thread studium-sbr
Thanks a lot Deepal, that was the missing piece. Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 26.06.06 05:50:07 > An: axis-user@ws.apache.org > Betreff: Re: [axis2] Java2WSDL problem > Can you pls download annogen-0.1.0.jar from codehouse. > > [EMAIL PRO

Re: [AXIS2] Does AXIS2 support Java2WSDL?

2006-06-25 Thread studium-sbr
Hi Emily, yes! But I didn't manage to generate the WSDL-file. Have a look at this: http://marc.theaimsgroup.com/?l=axis-user&m=115114727308460&w=2 to see what steps I tried. There's not answer to my question by now, maybe you'll get it to work. Let me know ;) HTH Bille > -Ursprüngliche

[axis2] Java2WSDL problem

2006-06-24 Thread studium-sbr
Hi, I'm trying to produce a WSDL-File from my source. - First I tried with the Eclipse-Plugin, but got the Error "an Error occured while code generating java.lang.reflect.InvocationTargetException" without any further details - Then I tried to run the Java2WSDL-Class inside Eclipse, but I'm no

Re: newbie question about WSDL2JAVA

2006-06-23 Thread studium-sbr
- Generate Java from WSDL - Select the WSDL-File - Next page you can leave all the selections. - If you want to get the service classes, then you have to additionally select "Generate serverside code" Thats all HTH Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Ges

Re: Could I handler the exception in an common error h andling class ?

2006-06-23 Thread studium-sbr
Hi Sukie, maybe this helps: http://marc.theaimsgroup.com/?l=axis-user&m=115049348304601&w=2 http://marc.theaimsgroup.com/?l=axis-user&m=115046828005645&w=2 http://www.wso2.net/kb/171 I'm up to do the SOAPFault-Creation and the putting it on the INcoming MessageContext in one method: private vo

[axis2] dynamic return types / external configuration / inheritance

2006-06-23 Thread studium-sbr
Hi to everyone, suggest the follwing scenario: - service with one method. - I'm NOT using code generated skeletons, but simple Java classes. - depending on the request parameters, the returned objects are different. All returned objects have a superclass in common. Someone explained, how to ac

[axis2] UserExceptions and WSDL

2006-06-21 Thread studium-sbr
Sorry for bringing this up again, but nobody answered. Any hints ? > Hi, > > I have a service implementation, that is NOT generated by WSDL2Java. It is > just simple Java-classes. > There I have some methods, that can throw my own UserExceptions. > > To put some helpful response back to the cli

[axis2] UserExceptions and WSDL

2006-06-20 Thread studium-sbr
Hi, I have a service implementation, that is NOT generated by WSDL2Java. It is just simple Java-classes. There I have some methods, that can throw my own UserExceptions. To put some helpful response back to the client, I manually create my SOAPFaults and put them on the incoming MessageContext,

Re: A Solution to the Ubiquitious InvocationTargetException

2006-06-20 Thread studium-sbr
Hi Ben, nice message to the list. I smiled and thought 'fine, I'm not alone on this planet ...' ;) But for your FAQ-question; have a look at the knowledge base of wso2 http://wso2.net/kb There are really some usefull articles / comments. Nearly the first thing I start my axis-work a day, is h

Re: [axis2] problem with Userexception and AxisFault - Part 2

2006-06-16 Thread studium-sbr
Hi Chinthaka, thanks for your motivation ;) Apologies, this is the first web service I implement, and therefor the first touch with axis2. Everybody starts some time! I really know that I have to learn a lot about axis2 and its concepts, and I'm really willing to. I came up with this issue at th

Re: [axis2] problem with Userexception and AxisFault - Part 2

2006-06-16 Thread studium-sbr
ok, filling my own thread all alone. Maybe my conclusions help somebody out there. This is what I realized: - The all-dominant hint was to work with the incoming MessageContext. In all my further trials I worked with the outgoing MessageContext, because I thought, that's what gets back to the c

Re: [axis2] problem with Userexception and AxisFault - Part 2

2006-06-16 Thread studium-sbr
Sorry, apologies to me. Chinthaka already commented on this: http://marc.theaimsgroup.com/?l=axis-dev&m=115039522426623&w=2 > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 15.06.06 23:53:28 > An: axis-user@ws.apache.org > Betreff: [axis2] problem with Userexception

[axis2] problem with Userexception and AxisFault - Part 2

2006-06-15 Thread studium-sbr
Hi to the list, concerning this problem, I opened an issue and the problem is (somehow) solved. For those interested in, have a look at this: http://issues.apache.org/jira/browse/AXIS2-801 Use the nightly build of 07.06.2006. Chinthaka was so kind to fix this and to comment on a few question I

Re: [Axis2] basic tutorial/help needed

2006-06-14 Thread studium-sbr
You can also find a list of interesting articles here: http://www.wso2.net/articles/axis2/java Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 14.06.06 07:12:35 > An: axis-user@ws.apache.org > Betreff: Re: [Axis2] basic tutorial/help needed > Andrew B wrote:

Re: [axis2-1.0] Bug in Faultgeneration

2006-06-12 Thread studium-sbr
I had trouble in this a few days ago and opened an issue. Please have a look at this: http://issues.apache.org/jira/browse/AXIS2-801 I now work with the nightly build from 07.06.2006 and it looks really better now. HTH Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org >

RE: ConnectException: Bad file descriptor

2006-06-09 Thread studium-sbr
It often help, if you have a look in the StandardOut.log (I use Tomcat, but JBoss sure has one too). If this doesn't help, you can switch on RemoteDebugging an set an Exception Breakpoint. This will finally help you to find the cause. TargetInvocationException seems to be a StandardException in A

Re: (axis2) Creating an OperationClient from a ServiceClient

2006-06-09 Thread studium-sbr
Hi Jeff, you need an instance of the ServiceClient, like this: EndpointReference targetEpr = new EndpointReference("http://localhost:8080/axis2/services/LDAPQueryService";); Options options = new Options();

Re: LDAP: error code 34 - Invalid DN Syntax

2006-06-07 Thread studium-sbr
Hi Shashi, the error occurs to my opinion while trying to connect the directory or while queraing the directory. Check the dn you gave for the bind / query, if it exists in the connected directory. Bille. > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 07.06.06 1

Re: [axis2] How to initialize settings on startup of the service

2006-06-05 Thread studium-sbr
But I did not manage to specify in my properties the correct path to the log-file (FileAppender). I develop the service on my local machine; later the service will run under a different system. I use ant and I designed my build.xml that way, that I did not need to modify it - no matter where I w

Re: [axis2] How to initialize settings on startup of the service

2006-06-05 Thread studium-sbr
Thanks Martin, setting up Log4J was not my problem - I got that to work. My point was where do initialisation works concerning the service. Depaal cleared this. See previous mial in this thread. Thanks anyhow Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet:

Re: [axis2] How to initialize settings on startup of the service

2006-06-05 Thread studium-sbr
Thanks Depal, I read in an arcticle that the paramter for init() is messageContext. http://www.developer.com/open/article.php/10930_3589126_3 With the serviceCcontext it works - Thanks for clearing this. Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 05.06.

[axis2] How to initialize settings on startup of the service

2006-06-04 Thread studium-sbr
Hi to all, how do you initialize settings on startup? I'd like to set some configurations on the service start; e.g. setting the path of log-file, which I have to do absolute. Therefore I need to access the configurationContext to get the real path of the service location. I put a static initia

Re: [axis2] problem with Userexception and AxisFault

2006-06-02 Thread studium-sbr
Sorry for putting up the thread again, I did not manage to solve the problem. Could someone please be so kind and provide some working code with the service throwing an userException, which is send back to the client with all the details and messages set while instantiating the Exception. I did

Re: Problems with Axis2

2006-06-02 Thread studium-sbr
Hi, the easiest way to initialize Log4J; put this line in the main() of your client: org.apache.log4j.BasicConfigurator.configure(); All the log-output then is given to the console. HTH Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 02.06.06 14:29:57 > An

Re: [axis2] design issues on client authentication

2006-06-02 Thread studium-sbr
Hi Ruchith, thanks for your advice. I read about rampart (WSS4j) but didn't get in too deep. Using plain text password isn't suitable for my goals. As I said, this password could be directly accessed by other parties, who should definitely not use my service. I thought about using a combination

Re: [axis2] How to write the implementation class

2006-06-02 Thread studium-sbr
Hi Dave, another hint concerning DataBinding; have a look at this Howto: http://ws.apache.org/axis2/1_0/adb/adb-howto.html HTH Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 02.06.06 02:20:26 > An: > Betreff: [axis2] How to write the implementation class >

Re: [axis2] problem with Userexception and AxisFault

2006-06-02 Thread studium-sbr
Thanks Ali for your comments. But in my case I do not use WSDL and code generation for stubs and skeletons. I wrote my service "by hand". All works fine except the ErrorHandling I have to configure. Any other suggestions concerning the UserException and AxisFault issue depicted below?? Bille

[axis2] design issues on client authentication

2006-06-01 Thread studium-sbr
Hello to the list, I'm interested how you would deal such a scenario: I have a web service which is meant to run in an Intranet-Environment in our company. There will be different Intranet-Websites and other applications which will use the service. My aim is to limit the use of the service to s

Re: [axis2] problem with Userexception and AxisFault

2006-06-01 Thread studium-sbr
Hi Ali Sadik Kumlali, I use Axis2 1.0, too. Do you have any Sample? Did you find any missing thing in my source at first glance ? Thanks for your help Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 01.06.06 16:00:14 > An: axis-user@ws.apache.org > Betreff:

[axis2] problem with Userexception and AxisFault

2006-06-01 Thread studium-sbr
Hi to the list, I have a service implementation which throws an UserException (MyException extends RemoteException). All works fine, but in the response I could not find my individual message and details. It just looks like this: soapenv:Client unknown

Re: [axis2] Serverside ErrorHandling

2006-05-28 Thread studium-sbr
Thanks Eran, all exceptions are catched in this method, which then finally throws the AxisFault. As you can see below, I do a System.out.println() before throwing the AxisFault. The StandardOut File shows this message, so I guess everything works fine, and the error is handled correctly (in t

[axis2] Serverside ErrorHandling

2006-05-28 Thread studium-sbr
Hi, I've got problems in the ErrorHandling in Axis2. I followed some hints formerly made in some newsgroup: For more details: http://marc.theaimsgroup.com/?l=axis-user&m=113983896626701&w=2 1) Extend the service implementation class to access the MessageContext: public void setOperation