ok I changed to xdoclet 1.2 and it works. Here is another problem I observed: say I have a Hello web service. the first time I type the URL http://[servername]/jboss-net/services/Hello it gives me this
==================== ON THE BROWSER AXIS error Sorry, something seems to have gone wrong... here are the details: Exception - java.lang.NullPointerException ==================== STACK TRACE in jboss log 11:32:25,863 ERROR [AxisServlet] Exception: java.lang.NullPointerException at org.jboss.net.axis.server.EJBProvider.getServiceClass(EJBProvider.java:162) at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.jav a:535) at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPServ ice.java:322) at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java :477) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeploy ableItem.java:312) ==================== However if I type http://[servername]/jboss-net/services/Hello?wsdl <shows the wsdl> then http://[servername]/jboss-net/services/Hello it gives me this <seems correct> ====================== Output from browser Hello Hi there, this is an AXIS service! Perhaps there will be a form for invoking the service here... ====================== any ideas? thanks, -joe -----Original Message----- From: Joe Hung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 9:54 AM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] jboss.net wsdl error ok let me try to do the change. Will let you know if it works. -----Original Message----- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 12, 2003 12:12 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error Unfortunately not, because xdoclet was not being so modular and extensible until 1.2. I think that the template formate and other things have changed too. But it should be easy to upgrade. CGJ -----Ursprüngliche Nachricht----- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 11. Februar 2003 19:11 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error hmm...we're not on xdoclet 1.2 now. Do you have the version for xdoclet 1.1.2? thanks, -joe ---Original Message----- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 12:06 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error I guess your are using a static xdoclet module that has been placed under thirdParty by Frederick, right? Could you please try the attached xdoclet 1.2 plugin that is currently built in head. The semicolon thingy and the ejb-ref deprecation should have been fixed, otherwise, please file a bug. I will backport the stuff ASAP and maybe put that jar under downloads. CGJ -----Ursprüngliche Nachricht----- Von: John Fawcett [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. Februar 2003 23:45 An: [EMAIL PROTECTED] Betreff: RE: [JBoss-user] jboss.net wsdl error I would suspect that we are either missing something or there is a bug in the class-level tag. Dr. Jung are you aware of any known problem with the class-level tag? Aught I log a bug? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Joe Hung Sent: Monday, February 10, 2003 5:17 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] jboss.net wsdl error Someone pointed out that I should use per-method tag @jboss-net:web-method instead of a class level tag @jboss-net:web-service expose-all="true" That solved the problem. The hello examples in the source bundle uses the class-level tag that's why I'm using it. I guess it would be worth to change the example code to use per-method tag... thanks, -joe -----Original Message----- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 4:40 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error Joe, I did get it. Will try to have a look today. CGJ -----Ursprüngliche Nachricht----- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Februar 2003 18:52 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error did you get it? I sent the ear file to you directly (not this mailing list). thanks again, -joe -----Original Message----- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 8:47 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error If you can send me the .wsr/.ear, I could try to debug the error. CGJ -----Ursprüngliche Nachricht----- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 18:41 An: '[EMAIL PROTECTED]' Betreff: RE: [JBoss-user] jboss.net wsdl error I am assuming EJB provider because I have an EJB and are trying to expose the interface through JBoss.net (using .wsr and xdoclet generated descriptor) I noticed the admin url works in this case. http://[hostname]/jboss-net/services/Administration?wsdl I was trying to find out the difference but without any luck. Any quick fix to help me moving? Thanks again! -joe -----Original Message----- From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:31 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] jboss.net wsdl error What kind of service, i.e. which provider (javaprovider, ejbprovider, jmxprovider, etc.) do you use? Looks like there is a constant namespace used that is no more registered in the wsdl-engine per-default ... CGJ -----Ursprüngliche Nachricht----- Von: Joe Hung [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Februar 2003 01:38 An: Jboss-User (E-mail) Betreff: [JBoss-user] jboss.net wsdl error on JBoss3.2.0RC1 + tomcat. when I enter http://[hostname]/jboss-net/services/[service_name]?wsdl this is what happened. any clues? thanks, -joe ================== AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: faultActor: null faultDetail: stackTrace: WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source) at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source) at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source) ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user