Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Web Service on JCS13.2: InvalidSecurityToken : The security token is not valid.

Paula-OracleJun 30 2014 — edited Jul 15 2014

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.

This post has been answered by Jani Rautiainen-Oracle on Jul 4 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 12 2014
Added on Jun 30 2014
4 comments
3,899 views