Skip to main content

WSTrustException: WST0030:Subject is null.

1 reply [Last post]
ViktorMSc
Offline
Joined: 2011-03-21
Points: 0

Hello,
I'm trying to set up a local STS against a service endpoint and consumer of an other example found in the internet. The STS this example uses is not included in the sources and can only be reached online. So I took the implementation provided in the metro ws-trust examples and tried to modified the configuration to my needs. But it never worked out. The exception I'm running always in is:
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: com.sun.xml.ws.api.security.trust.WSTrustException: WST0030:Subject is null. Either the client is not authenticated, or subject not established while authentication.
at com.sun.xml.ws.fault.SOAP12Fault.getProtocolException(SOAP12Fault.java:225)
...
I tried already different key and truststore configurations, but nothing worked out.
Can someone help me out?
The configuration files you can find here:
http://www.cit.de/Transport.nsf/$default/0471D496EB610E25C125784E003AB012?Open
Appreciate any help.
Regards,
VK

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ViktorMSc
Offline
Joined: 2011-03-21
Points: 0

I found the error. It was a layer 8 ;) problem. a had a typo in my classpath configuration.
regards
VK