Digest Authtentication with Axis 1.2

2005-12-19 Thread Michael Rudolf
Hi! I have a WS that uses HTTP authentication. I want to use digest auth. Right now i started with the Basic HTTP auth and wanted to switch to the CommonsHTTPSender so i can use digest. I configured it with the wsdd below. However, as soon as i switch to it, the no username and password are

java.lang.reflect.UndeclaredThrowableException

2005-11-28 Thread Michael Rudolf
Hi, i have the following problem: When calling an axis web service that expects a custom class as parameter i get the exception shown below at the client. The class that is the parameter consists of a couple of other classes and strings and resides in another package (no sub-package). When i

Re: Authenticating users

2005-11-21 Thread Michael Rudolf
object which it stores it as a properly in the MessageContext where anyone in the handling chain can then extract it via getProperty(). hth. ..ron. Michael Rudolf wrote: Thanks a lot for the detailed description! I think this will work fine for me. One more question about

Re: Authenticating users

2005-11-21 Thread Michael Rudolf
using the above code, does an LDAP lookup of the user to gather roles, and then creates an app-specific user object which it stores it as a properly in the MessageContext where anyone in the handling chain can then extract it via getProperty(). hth. ..ron. Michael Rudolf wrote

Re: Authenticating users

2005-11-21 Thread Michael Rudolf
the username using the above code, does an LDAP lookup of the user to gather roles, and then creates an app-specific user object which it stores it as a properly in the MessageContext where anyone in the handling chain can then extract it via getProperty(). hth. ..ron. Michael Rudolf

Re: Authenticating users

2005-11-21 Thread Michael Rudolf
which it stores it as a properly in the MessageContext where anyone in the handling chain can then extract it via getProperty(). hth. ..ron. Michael Rudolf wrote: Thanks a lot for the detailed description! I think this will work fine for me. One more

Re: Authenticating users

2005-11-21 Thread Michael Rudolf
. ..ron. Michael Rudolf wrote: Thanks a lot for the detailed description! I think this will work fine for me. One more question about this though: Can i read the username inside the web service? Or is there any way of getting information like the group a user

Re: Authenticating users

2005-11-21 Thread Michael Rudolf
chain can then extract it via getProperty(). hth. ..ron. Michael Rudolf wrote: Thanks a lot for the detailed description! I think this will work fine for me. One more question about this though: Can i read the username inside the web service

Re: Authenticating users

2005-11-21 Thread Michael Rudolf
passwords should (almost) always be stored in a non-reversable hash (MD5, SHA-1, etc) - you'll certainly need to know the algorithm if you're going to duplicate the plain-text-hash-value to compare, but it sounds like you won't have the plaintext password (which is good from a security point of

Re: Authenticating users

2005-11-20 Thread Michael Rudolf
. ...ron. Michael Rudolf wrote: Is there any difference in case the Web Services are made out of Session EJBs? Or does WSS4J work the same way in that case? Thanks! Michael you may want to look at WSS4J and UsernameTokens. they're pretty straight-forward as long as your client

Re: Authenticating users

2005-11-19 Thread Michael Rudolf
Is there any difference in case the Web Services are made out of Session EJBs? Or does WSS4J work the same way in that case? Thanks! Michael you may want to look at WSS4J and UsernameTokens. they're pretty straight-forward as long as your client can support them. they are part of the

Authenticating users

2005-11-18 Thread Michael Rudolf
Hi, is there any tutorial or example for authenticating users of we services by username and pass over HTTPS? Can anybody explain in more detail how this works? Is there any alternative to it? I want to query axis web sercvices from a portal. That uses LDAP for authetication. I would like to

Illegal XML character

2005-11-15 Thread Michael Rudolf
Hi, i would like to know how i can find out which characters are illegal for WS transmission. I only get messages like Unicode 0x11 but i dunno which char the problem is. Thanks! Michael

Re: Submitting large byte[] with Axis

2005-11-15 Thread Michael Rudolf
be a problem. Have you checked your code for the usual suspects (Infinite loops, connections not being closed/reset, unflushed caches, unreleased resources, etc.)? -Original Message- From: Michael Rudolf [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 1:32 PM To: axis-user

Re: Illegal XML character

2005-11-15 Thread Michael Rudolf
On Tue, 15 Nov 2005 10:50:46 -0600, Michael Rudolf wrote: | Hi, | i would like to know how i can find out which characters are | illegal for WS transmission. I only get messages like Unicode 0x11 | but i dunno which char the problem is. Thanks! Michael

Re: Submitting large byte[] with Axis

2005-11-14 Thread Michael Rudolf
Hi, thx for the fast reply. It looks like the Client is the problem here. But the byte[] data is nor more than 100kb. Why does it need so much memory? Michael Hello, it depends on the setting in your JVM. You can change memory size when you start java. Regards, German Michael Rudolf wrote

Re: Submitting large byte[] with Axis

2005-11-14 Thread Michael Rudolf
that shouldn't be a problem. Have you checked your code for the usual suspects (Infinite loops, connections not being closed/reset, unflushed caches, unreleased resources, etc.)? -Original Message- From: Michael Rudolf [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 1:32 PM To: axis

Problem transferring '$'

2005-11-14 Thread Michael Rudolf
Hi, when sending strings with axis i have the problem that i get an IllegalCharacterException when the String contains a $ character. Is there any way to transmit these chars with Axis. Why is this an illegal character? From my understanding that shouldnt be a problem. Thanks. Michael

Re: String as parameter...

2005-10-31 Thread Michael Rudolf
Problem solved, gSOAP encodes arrays as generic vectors when classes have a namespace. As soon as i removed it everything worked. Hi, I have the following problem: I developed a Web Service in C with gSOAP that offers a method that takes an Array of Strings as parameter and returns an array

Re: String as parameter...

2005-10-31 Thread Michael Rudolf
to make the choice, you might try switching to Doc-literal, if for no other reason than the XML is a lot easier to read. Chris -Original Message- From: Michael Rudolf [mailto:[EMAIL PROTECTED] Sent: Sunday, October 30, 2005 16:53 To: axis-user@ws.apache.org Subject: String as parameter

String as parameter...

2005-10-30 Thread Michael Rudolf
Hi, I have the following problem: I developed a Web Service in C with gSOAP that offers a method that takes an Array of Strings as parameter and returns an array of objects. I used the WSDL file the was generated by gSOAP in WSDL2Java to create a client. The resulting method in Java is

Re: SerializationException ... while using RPC-encoding in Axis and Weblogic

2005-10-30 Thread Michael Rudolf
Hi, I have no idea where your problem could be, but i have successfully accessed axis services through weblogic. I probably went a different way though. I created a pseudo service class in weblogic with the method signatures and let weblogic create an wsdl file. I used that to create a server

Re: Why can I use generated stub to call a web service?

2005-10-30 Thread Michael Rudolf
Hey! Your code to create a client should look like BNPrice bnp = new BNPriceLocator(); BNPriceSoapStub stub = bnp.getBNPrice(); or similar. Take a look at the user guidei actually dont have a SoapStub class but a class BNPricePortType. But i think that shouldnt make any difference.