Title: R: R: [WSS4J 1.5] WS-Security Help Client-Server Configuration

Hi Martin,

my degree is in Information Science

I have a problem with the server side when I don't add the handler response It works very well and the client receive the service, but when i deploy the server with responseFlow:

<responseFlow>
   <handler type="java:org.apache.ws.axis.security.WSDoAllReceiver" >
     <parameter name="action" value="Signature"/>
     <parameter name="signaturePropFile"
value="cryptoReceiver.properties" />
   </handler>
</responseFlow>

the client don't process the request and it's ok, but don't receive error from the server, so the client can't understand which kind of problem is it.

How can i resolve this problem?

Thanks a lot for your precious help


-----Messaggio originale-----
Da: Martin Kuba [mailto:[EMAIL PROTECTED]]
Inviato: mer 21/06/2006 17.04
A: [EMAIL PROTECTED]
Oggetto: Re: R: [WSS4J 1.5] WS-Security Help Client-Server Configuration

[EMAIL PROTECTED] wrote:
> Hi Martin
> Thank for your help, I'm sorry for all my mistake I'm new of wss4j and
> I'm developing a service for my degree.

Which degree ?


> now I've a problem with the code that you send me and so it gives me an
> error on this:
> this.deployTransport("http", new SimpleTargetedChain(new
> org.apache.axis.transport.http.HTTPSender));
> on new org.apache.axis.transport.http.HTTPSender says misplaced consructor

I did not try that code, so there are possibly mistakes.
In this case put parenteses () just after HTTPSender.

> and the last thing of the code you send me
> w.setOption I don't understad what i need to insert in, I think that
> I've to set cryproSender.properties but I don't understand how.

As I wrote, I did not try to configure a client
for WSS4J in this way, so I am not sure, but probably
setOption() can set the parameters as they are set
in <requestFlow> in client-config.wsdd.

The documentation for this is not very good,
you have to dowload the source of Axis
and investigate.

Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno             Martin Kuba
Institute of Computer Science    email: [EMAIL PROTECTED]
Masaryk University             http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775
--------------------------------------------------------------

Reply via email to