Axis ile wss4j kullanımı

View: New views
1 Messages — Rating Filter:   Alert me  

Axis ile wss4j kullanımı

by mecachrome :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Merhaba

Axis kullanarak oluşturduğum WS istemcisinde, sunucu tarafına gönderilen isteklere cevap olarak :

Security requirements are not satisfied because the security header is not present in the incoming message.
 
hatasını alıyorum. Giden mesajlarda header olarak wsse:Security yapısını kullanmam gerek, bunun için de wss4j çatısını kullanmam gerekiyor. WS içerisindeki stub yapısında, ilgili metod içinde
 _call.setProperty(WSHandlerConstants.
_call.setProperty(UsernameToken.
_call.setProperty(WSHandlerConstants.
PWCallback pwCallback =
_call.setProperty(WSHandlerConstants.
 
şeklinde tanım yaptıktan sonra gönderdiğim isteklerde sonuç değişmiyor.
 
Yorumlarınız için teşekkür ederim.
 
 
 ACTION, WSHandlerConstants.USERNAME_TOKEN);PASSWORD_TYPE, WSConstants.PASSWORD_DIGEST);USER, "kullaniciAdi");newPWCallback();PW_CALLBACK_REF, pwCallback);

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com