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 running

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 WLS_HOME/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

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

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

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

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

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

URGENTSHORT: 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

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 ?

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: xs:simpleType name=UserIdType xs:restriction base=xs:string/ /xs:simpleType xs:complexType

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

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

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 a

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

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 ?

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

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

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

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

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;);

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.

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 more

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: 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 new

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

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

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

RE: minOccurs, maxOccurs not used by WSDL2Java ?

2002-05-13 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

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: - complexType

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: - typeMapping xmlns:ns="http://hello.org/types" qname="ns:MyData" type="java:com.nokia.joker.plugin.MyData"

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 take about 4

RE: Getting the name of hte method

2002-04-22 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

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: 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

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

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