I am using Eclipse Indigo with WebLogic 12c plugin to create a standalone WebService Client which invokes a simple WebService. The WebService is protected by Security Policies Wssp1.2-2007-Wss1.0-X509-Basic256.xml and Wssp1.2-SignBody.xml.
I get the following exception when I run the standalone client:
h2. Exception in thread "main" java.util.ServiceConfigurationError: javax.xml.ws.spi.Provider: Provider weblogic.wsee.jaxws.spi.WLSProvider could not be instantiated: java.lang.ExceptionInInitializerError
The same program works fine using JDeveloper 11g but not in Eclipse Indigo or in Juno. Has anyone faced this issue?
The stand-alone client JAR file does not, however, support invoking Web services that use the following advanced features:
Web services reliable SOAP messaging
Message-level security (WS-Security)
Can you try running by adding weblogic.jar. but if you run the client inside the wls Server it should work.
I was able to fix the problem by removing the "Weblogic System Libraries" and just adding weblogic.jar to the classpath. It seems WLSProvider class was found in two jar files - wsseclient.jar and weblogic.jar