Title: R: [WSS4J 1.5] WSDoAllReceiver: Request does not contain required Security header

Hi Martin,

if I move the class in another package for example and start the main it returns an error because it doesn't find the class

If I move the class PWcallback in a package ex. Clas that I created and modify
w.setOption(WSHandlerConstants.PW_CALLBACK_CLASS,"Clas,PWCallback");

It return always the same error,  that request does not contain security header.
How can I resolve this error??

Thanks
Hermann


-----Messaggio originale-----
Da: Martin Kuba [mailto:[EMAIL PROTECTED]]
Inviato: mar 27/06/2006 10.45
A: [EMAIL PROTECTED]
Cc: [email protected]
Oggetto: Re: [WSS4J 1.5] WSDoAllReceiver: Request does not contain required Security header

[EMAIL PROTECTED] wrote:
>        w.setOption(WSHandlerConstants.PW_CALLBACK_CLASS,"PWCallback");

Just a small remark - Java does not allow a class in the
unnamed package (i.e. not in a specific package)
http://java.sun.com/docs/books/jls/third_edition/html/packages.html#103097
to be accessed from a class in a named package. So
your class PWCallback is not accesible.

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