-
wss4j empty password problem
Hi everyone!!
am working Axis1.* with wss4j. I am facing problem and tried to find solution but couldn't successed thats why sending you an email. i dont know, i should send this email here or not.
the problem is, i have made one web service client with Axis1 and trying to access a web service which is made in c# .Net. so this web service required session token in message header. therefore i am using wss4j to send security header in
the soap message. but the problem is i have to send empy(" ") password and due to that i got exception
org.apache.ws.security.WSSecurityException: WSHandler: application provided null or empty password
at org.apache.ws.security.handler.WSHandler.getPassword(WSHandler.java:842)
at org.apache.ws.security.action.UsernameTokenAction.execute(UsernameTokenAction.java:36)
at org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:205)
at org.apache.ws.axis.security.WSDoAllSender.invoke(WSDoAllSender.java:170)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:127)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at de.cas.open.server.api.eimws.EIMServiceHttpBindingStub.createObject(EIMServiceHttpBindingS tub.java:6430)
at Test.TestCAS.TestCreateEvent(TestCAS.java:248)
at Test.TestCAS.main(TestCAS.java:72)
here is my client_deploy.xml
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<transport name="http" pivot="java rg.apache.axis.transport.http.HTTPSender"/>
<globalConfiguration >
<requestFlow >
<handler type="java rg.apache.ws.axis.security.WSDoAllSender" >
<parameter name="action" value="UsernameToken"/>
<parameter name="user" value="9B88888EBD24439EA1FDAFDBFBDB3217~61793C2553AABB4AA2A3F189D47F66B9@C-CM-T01"/>
<parameter name="passwordType" value="PasswordText" />
<parameter name="password" value=" " />
<!--
<parameter name="passwordCallbackClass" value="Test.PWCallback"/>
<parameter name="passwordType" value="PasswordDigest"/>
-->
</handler>
</requestFlow >
</globalConfiguration >
</deployment>
PLease need your help , i will be very thankful to you.
Regards,
ijaz
Similar Threads
-
By dcampo in forum ASP.NET
Replies: 2
Last Post: 02-08-2007, 01:20 PM
-
By jabbarsb in forum ASP.NET
Replies: 1
Last Post: 12-20-2006, 05:51 AM
-
By Angel106 in forum ASP.NET
Replies: 0
Last Post: 11-12-2006, 01:01 AM
-
Replies: 0
Last Post: 10-30-2002, 04:40 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks