views:

12

answers:

0

Hi , I am trying to develop a WSIT client for a WCF Web service. I am currently stuck with a issue for more than 4 days and could not find a solution. I am writing a WSIT client for a WCF web service which requires a mutual certificate authentication. i received the .pfx file from the service provider which i imported to the java truststore. Because of i was getting an exception for the serverfake certificate, i added that too to the truststore. netbeans createss the following entry in the service.svc.xml: with this configuration in hand, when i invoke the web service method, i receive this exception: SEVERE: WSS1518: Failed to validate certificate java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty I would appreciate if you can kindly help me in fixing this issue. Thank you very much in advance.