[JBossWS] - NullPointerException which generating the WSDL file using ws
by tapeshag
Hello,
I am trying to generate the descriptiors using the wstools. When I try to run it with my config file, I get the following error
---------------------------------------------------------
Exception in thread "main" java.lang.NullPointerException
at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:303)
at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:122)
at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
at org.jboss.ws.tools.WSTools.main(WSTools.java:61)
---------------------------------------------------------------
I am using wstools which gets shipped default with JBOSS-4.0.4GA release.
Attaching the contents of the interface and config files
wstools-config.xml
=============
<java-wsdl>
<namespaces target-namespace="http://hello.ws.jboss.org/"
type-namespace="http://hello.ws.jboss.org/types"/>
<webservices servlet-link="TrivialEndPointJSE"/>
</java-wsdl>
TrivialServiceInterface.java
====================
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface TrivialServiceInterface extends Remote
{
String purchase (String person) throws RemoteException;
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984540#3984540
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984540
19Â years, 6Â months
[Security & JAAS/JBoss] - LDAP auth no longer working
by AndrewBoyd
Hi All,
I'm using JBoss 3.2.6 and for some reason my ldap authorization has stoped working. I checked the login-config.xml and it is the same as it has been for the last 2 years. Here is the exception:
| 2006-11-09 08:51:41,890 DEBUG [org.jboss.security.auth.spi.LdapLoginModule] Failed to validate password
| javax.naming.CommunicationException: simple bind failed: ldapauth.internal.earthlink.net:636 [Root exception is javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found]
| at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:198)
|
Any ideas? QE can't test and mgt is breathing down my neck any suggestions are welcome.
Thanks,
Andrew
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984539#3984539
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984539
19Â years, 6Â months