RE: Digest Authentication?

2003-01-14 Thread Geza.Szocs
I don't know in what environment are you working in, but I managed to get DIGEST auth working with Tomcat4.0.3 (and Tomcat4.1.12 as well) and Axis. BTW, I had to patch the HTTPSender class in Axis. I also posted the code to Axis dev list, but as far as I know it hasn't been inserted in the next rel

SSL, Axis and Java1.4

2003-01-15 Thread Geza.Szocs
Hi, Did anyone use SSL with Axis and Java 1.4 ? I'm trying to make it work. As I read in the Java docs, the 1.4 version does not allow to replace the socket factories for security reasons. Is this true ? Do you have any experiences ? If yes, then how does the SocketFactoryFactory class work in

RE: Keep-alive SSL Web Service connections

2003-01-17 Thread Geza.Szocs
Yeapp, I implemented my own socketfactory. I'm caching the SSL sockets myself. Other solution may be also possible. > -Original Message- > From: ext [mailto:[EMAIL PROTECTED]] > Sent: 16. January 2003 19:16 > To: [EMAIL PROTECTED] > Subject: Keep-alive SSL Web Service connections > > >

Weblogic + Axis + SSL

2003-06-13 Thread Geza.Szocs
Hi, Does anybody have experience with Axis under Weblogic ? I cannot manage to put SSL at work in the outgoing direction. I have a service which connects to another webserver through SSL. Everything works fine under Tomcat, but Weblogic 7 doesn't like JSSE, so my implementation fails. Does JSSES

RE: Axis 1.1 + WebLogic 7.0 + Sun-JSSE/Certicom-SSL

2003-07-08 Thread Geza.Szocs
>On the mailing-list, a couple of weeks back, I see a few people asking about the >combination of >Axis, WebLogic and HTTPS. But no real answers, I guess. >I am fighting in the same arena. I was the one asking that question, but you are right, no answers. :( >I am implementing a connector runni

RE: Axis 1.1 + WebLogic 7.0 + Sun-JSSE/Certicom-SSL

2003-07-08 Thread Geza.Szocs
> ...Which version of WebLogic are you using? 7.0.2.0? -What > does your "/logs/log.txt" say? Yes , I've been using 7.0.2.0. First with Solaris, then on Linux. Same thing. > You are using the WebLogic-internal JDK 1.3.1_06? First I used the internal JDK, then I moved to JDK1.4. 1.4 is not sup

RE: Problem with WSDL message names

2002-04-17 Thread Geza.Szocs
Hi, The answer is in your classfile. If you deployed your service using a ready made class file, your parameter names will be lost, because they are not stored in the compiled class file. You have to recompile your java file using compile parameters to insert full debug info into the class. I

RE: Getting the name of hte method

2002-04-21 Thread Geza.Szocs
Yeah, this is a very good question. I want to know this myself. And one other thing: I need to use an Axis generated (WSDL2Java) client. What I also need is to pass some extra information to the handlers through this client. This information is not in the WSDL, so the generated code will not cont

Deployment

2002-04-22 Thread Geza.Szocs
Hi, I must be very stupid, but I still don't know: what happens when you deploy a service ? The web.xml file is modified, that's for sure. Anything else I should know about ? And what about the client deployment ? What happens then ?

RE: Deployment

2002-04-22 Thread Geza.Szocs
> When you deploy a service axis configuration is modified, which means > that if you are using the default configuration, server-config.wsdd > changes. I don't think that web.xml is modified at all. Ok, ok, stupid me. I meant server-config.wsdd. Right. So only that file changes, and nothing el

RPC extra information

2002-04-25 Thread Geza.Szocs
Hi, I have only one question: I need to deploy a service. I'm generating skeleton classes, then deploying my own service. My problem is that I need to pass some extra information to my service, which is not described in the WSDL used to generate the skeleton. To be more specific: I have clien

RE: RPC extra information

2002-04-26 Thread Geza.Szocs
Hi Alan, I looked at the sample. I may not understand it correctly, but what I want is not the handlers to access that extra information, but the server implementation itself. I mean the bindingimpl that was generated from WSDL. And there is no way that I can change the skeleton or the WSDL, bec

RE: Axis Tomcat performance

2002-04-30 Thread Geza.Szocs
> Client and Server are located on the same machine ... > Thanks > Juergen Yeapp, but the server gets stock data from a real internet provider. So try an other example which is not using external source.

RE: Axis Tomcat performance

2002-04-30 Thread Geza.Szocs
> Hi Geza, > > if I set the option to "XXX", the server returns a float > directly. Only if > I set the option to "IBM", the server get the stock from the > real internet. > Nethertheless, the misc example ,which will send a hardcoded > message to the > server and returns that message will t

custom serialization

2002-05-06 Thread Geza.Szocs
Hi guys, I just looking at my exception, and can't go any further. Maybe you can help me, I'm sure its just some easy thing that I did wrong. Anyway, I wanted to try custom serlialization, and made a WSDL. Here is the relevant fragment: -

custom serialization

2002-05-06 Thread Geza.Szocs
Hi guys, What am I doing wrong ? A wanted to deploy a custom serializer. This thing works: - http://hello.org/types" qname="ns:MyData" type="java:com.nokia.joker.plugin.MyData" serializer="org.apache.axis.encoding.ser.BeanSerializ

RE: minOccurs, maxOccurs not used by WSDL2Java ?

2002-05-12 Thread Geza.Szocs
Yeap, I played myself with this maxOccurs thing, and experienced the same. It doesn't really matters what you type in. I also tried to play with a string type, which had some restriction on it (regular expression). That restriction didn't appear anywhere in the code. Okay, I said, Axis cannot hand

security (SSL, HTTP)

2002-05-15 Thread Geza.Szocs
Hi guys, I need to write a client that can handle SSL and also HTTP authentications (Basic/Digest). Right now I'm browsing the HTTPSender.java for some clues. As far as I could understand the current version handles SSL and HTTP Basic authentication. Is this correct ? How can I make the SSL conn

Turning back

2002-05-23 Thread Geza.Szocs
Hi, I have a stupid question: is there any way in Axis to turn back (the message flow) from a handler ? This may sound stupid, but look what I want to to: My client sends a message. It goes through a handler, gets to the server, which gives back an error response (let's say unathorized or sm

SSL & Digest authentication

2002-05-23 Thread Geza.Szocs
Hi, Two more questions: 1. Did anyone try to implement HTTP Digest authentication with Axis ? If you did, please give me some hints. The problem is that I have to make a conversation between clinet/server in order to get the necessary values to generate a digest. I can do this if I rewrite HT

RE: SSL & Digest authentication

2002-05-24 Thread Geza.Szocs
> You can't select a particular key entry from a Java keystore by just > setting environment variables. You will have to do some programming at > the JSSE level. Yeapp, I was afraid of this. :) > However, Axis is an open source project and one could always > modify the > source code to add n

client deploy WSDD syntax

2002-05-24 Thread Geza.Szocs
Hi guys ! How to add some client side handler to the response/request flow correctly ? I saw no example. I assume is similar to server side, but how to do it exactly ? If I add a transport, that works, but I want to specifiy handlers on both request and response flow. So how to do it ? Is ther

client WSDD syntax 2

2002-05-24 Thread Geza.Szocs
Hi, So far I managed to do the following: My handler is installed, but it seems that only on the requestFlow. I do the following in my handler: if (msgContext.getPastPivot()) {//on the way back -> SPI response came back System.out.println("Response came back."); }else{/

Code contribution: Digest authentication

2002-05-27 Thread Geza.Szocs
Hi guys ! I was wondering: I didn't see no digest authentication in Axis code, so I added some new feature to HTTPSender. This includes HTTP Digest authentication. It supports MD5 and qop "auth". What do you think, can this be included in some future build ? Maybe somebody will make it even mor

derived schema types

2002-05-27 Thread Geza.Szocs
Hi, I was wondering, does Axis support derived types, like xsd:positiveInteger ? It seems to work fine with integer, however positiveInteger and other derived type does not work.

RE: Own SOAP faultcodes in AXIS

2002-05-28 Thread Geza.Szocs
And what's more: is it possible to define structured SOAP faults ? I mean if the fault detail in the WSDL contains some XML structure, will this be constructed by AXIS ? Will some Exception class be generated by WSDL2Java ? > Hi, > > AXIS normally uses the SOAP faultcode: "Server.userException

RE: Serialization / deserialization problem

2002-05-30 Thread Geza.Szocs
Did you write your client using WSDL2Java ? I assume that you have to insert the same type mapping thing in your client code as well. From the client code you need to do the following: QName qn2 = new QName("http://hello.org/types","TableType";); call.registerTypeMapping(Table

User Exception

2002-05-31 Thread Geza.Szocs
Hi ! Question related to the latest mail about custom exceptions: How did you make Axis to return your custom exception ? I used WSDL2Java, a nice class is generated for my exception, which extends AxisFault. The service throws this kind of exception. So when I execute my call from the client,

service instances and application scope

2002-06-06 Thread Geza.Szocs
Hi, As I understand application scope deployment guarantees that I will have only one instance of my service. Is there a way to specify this intance ? I mean I don't want Axis to create the object when the first call arrives, but I want to make an instance earlier, than make Axis to use that o

RE: MessageContext at server side

2002-06-11 Thread Geza.Szocs
Try using MessageContext.getCurrentContext() -Original Message- From: ext Wimmer, Matthias [mailto:[EMAIL PROTECTED]] Sent: 11. June 2002 16:08 To: '[EMAIL PROTECTED]' Subject: MessageContext at server side Hello, I read that the current MessageContext can be retrieved at server side (

client deployment

2002-06-12 Thread Geza.Szocs
Hi guys ! 1 easy question. I happen to have a servlet which is also an Axis client. I also have some client-side handlers. I wrote the client_deploy.wsdd and deployed, getting a client-config.wsdd. If I'm using this with a regular Java class, which is run from the same directory, everything w

Call object and properties

2002-06-21 Thread Geza.Szocs
Hi, In Beta 2 I used the following trick: in the stub generated by WSDL2Java I set some properties, which were used by a client side handler later. Now I fetched yesterday's nightly build, and I try to execute the same test. Now it gives me a failure, because the Call object will accept only

RE: Call object and properties once more

2002-06-25 Thread Geza.Szocs
Hi, Sorry for asking it once more, but this is getting urgent for me. In the current builds, the property setting in Call object has been limited in a way that it only accepts some registered properties. Is there ANY way to send some parameters from the client stub to some handler ? The messag

questions about nightly build 07-02

2002-07-05 Thread Geza.Szocs
Hi, I experienced the following changes/problems in Axis nigthly build 07-20 (previously I used beta2): 1. The namespace for the SOAP operation seems to have moved into SOAPAction. Is this so ? What does the SOAP spec say about this ? Is a namespace mandatory for the SOAP operation ? Until

socket closed when deploying - bug ?

2002-07-09 Thread Geza.Szocs
Hi ! It looks like something has gone wrong with the newest nightly builds. When deploying, the client framework gives an excpetion, when the webserver requests authorization, and username/password is not specified. This is OK, if the exception is 401 (Unauthorized), but this is not the case. I

Parameter names

2002-07-10 Thread Geza.Szocs
Hi, I have a specification related question. As far as I know, the SOAP specification says that the parameter names in the SOAP request must match the parameter names (and order) defined in the WSDL. Is this true ? According to my experiences, Axis allows any parameter name, as far as the values

RE: Can't find Trusted Cert.

2002-07-12 Thread Geza.Szocs
Hi, Try running your client and server with SSL debug ON. (java -Djavax.net.debug=ssl ...) This way you can see what's really happening. You can find out whether the system finds your trusstore file. Or maybe the problem is exactly what the exception says: there is no proper certificate in yo

RE: Can't find Trusted Cert.

2002-07-12 Thread Geza.Szocs
I struggled with the same thing the whole day. My problem turned otu to be the bloody system property. Watch out because it is case sensitive. It has to be javax.net.ssl.keyStore, with capital "S" So you have to set keystore and truststore too (if it's the case). > I tried that. I'm really

Tomcat -security and Axis

2002-07-18 Thread Geza.Szocs
Hi guys ! Has anyone tried to run Axis under Tomcat with -security option ? Is there a list of permissions to grant for Axis ? -Geza

attribute and complexType - Axis bug ?

2002-09-30 Thread Geza.Szocs
Hi, I have a problem that looks like an Axis bug. If anybody confirms this I'll file a bug, otherwise please tell me what the solution is. I'm using the following WSDL fragment: Describes the PresenceRequest message Describes the GetPresen

URGENT&SHORT: onFault doesn't get invoked

2002-10-03 Thread Geza.Szocs
Hi, I have a client side handler that implements onFault. HTTPSender throws an exception (connection refused) which appers in the client stub. This is normal behaviour. But my handler's onFault doesn't get invoked. Why is that ? Shouldn't Axis iterate over the completed handlers and cal onFau

BUG: onFault gets invoked only in the same chain

2002-10-03 Thread Geza.Szocs
Hi, I don't exactly know if this is supposed to work this way: when a handler throws a fault, the onFault method only gets invoked for the handlers in the same chain. For example if the fault is in transport chain, the global chain handlers' onFault won't be invoked. Is this a bug ?

RE: custom exception not thrown anymore

2002-10-09 Thread Geza.Szocs
It is strange that you could catch your own exception, because as far as I know custom exception handling is not implemented neither in beta3 nor in 1.0. :( (I may have miss something myself though) > hi, > i have a client which works on wsdl generated files. > the stub method i am calling throws

RE: custom exception not thrown anymore

2002-10-09 Thread Geza.Szocs
> And custom exception handeling work. Yes, with limitations. > There are limitation, the class generated with the wdsl, should not > contains any fields. :) Which means that you cannot have your own faults. You can however build one if you manipulate the detail field in an AxisFault. > By

RE: custom exception not thrown anymore

2002-10-09 Thread Geza.Szocs
> not quite easy, many fields are private fields. > Why now add a function in the AxisFault to add some elements ? Yes you can modify your AxisFault or extend it. But the result should be the same. Your information is serialized only if its in the fields of AxisFault (ex. detail). > Yes, but

How to remove xsi:type attribute ?

2002-11-11 Thread Geza.Szocs
Hi all, I'd like to add some header by the means of a hander. The handler creates some SOAPHeaderElement objects and adds them to the envelope. My only problem is that in case of using MessageElement objects and their descendants the xsi:type attribute always gets set. Calling removeAttribute o

Security example bug ?

2002-11-19 Thread Geza.Szocs
Hi, I'm playing around with the security sample in Axis 1.0 release. I'm trying to add a digital dignature to my message. The sample seems to work, it runs without problems. Except when you try to write out the signed content after verification, nothing appears. I wondered could it happen that

RE: WS-security

2002-12-09 Thread Geza.Szocs
Hi, This is a great idea. Maybe I can help too. I just wrote some handlers that can digitally sign/verify messages. The truth is that they contain project-specific code, but this can be removed. I'm using apache-xml-security framework but the handlers support WS-Security and WSS-Core recommendati

HTTP servlet response

2002-04-10 Thread Geza.Szocs
Hi there, I have a strange question, it smells like a hack to me. I must implement somekind of load control mechanism into my service, meaning that I must not accept any kind of requests under some circumstances (overload). This means that I have to able to send back an HTTP error on the HTTP

RE: HTTP servlet response

2002-04-10 Thread Geza.Szocs
>I've never done this, but it seems that you should be able to write >a request handler in the HTTP-specific transport chain that does this. Isn't it so that transport is just another handler ? It also deals with messagecontext. But than all goes back to AxisServlet, which eventually sends back

RE: HTTP servlet response

2002-04-10 Thread Geza.Szocs
>> Isn't it so that transport is just another handler? >Yes, but the transport handler chain specific to HTTP will only be invoked for HTTP >requests. Ok, this I understand. So this way I won't be using AxisServlet at all ? This means that my service is not deployed under a webserver ? Can I

RE: Problem in Instant Deployment

2002-04-12 Thread Geza.Szocs
> It is saying in localhost_axis_log.txt > Root cause : java.lang.NoClassDefFoundError: > javax/xml/rpc/namespace/QName. If I remember well, somebody mentioned that Tomcat cannot pick up classes which are in java or javax package if they are under webapps\..\lib. You have to move those jar files