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
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
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
>
>
>
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
>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
> ...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
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
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
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 ?
> 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
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
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
> 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.
> 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
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:
-
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
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
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
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
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
> 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
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
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{/
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
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.
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
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
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,
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
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 (
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
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
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
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
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
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
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
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
Hi guys !
Has anyone tried to run Axis under Tomcat with -security option ?
Is there a list of permissions to grant for Axis ?
-Geza
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
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
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 ?
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
> 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
> 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
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
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
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
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
>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
>> 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
> 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
52 matches
Mail list logo