Hi,
I deployed a web service with the security policy @SecurityPolicy(uri = "oracle/wss_username_token_over_ssl_service_policy"). The WSDL file looks fine
But when I test it with SOAPUI and JDeveloper HTTP Analyzer, It always throws, InvalidSecurityToken : The security token is not valid.
The Web Service code is as below,
import javax.jws.WebMethod;
import javax.jws.WebService;
import weblogic.wsee.jws.jaxws.owsm.SecurityPolicies;
import weblogic.wsee.jws.jaxws.owsm.SecurityPolicy;
@WebService
@SecurityPolicy(uri = "oracle/wss_username_token_over_ssl_service_policy")
public class HelloWorld {
public HelloWorld() {
super();
}
@WebMethod
public String sayHi( String name ){
return "Hello, " + name ;
}
}
What's the valid username and password for the web service deployed on JCS? Any suggestion and help is highly appreciated.