Rob, Jagannath, you should not get this problem in Axis 1.2 Beta. If you do, then please open a bug report.
thanks, dims --- Rob Jellinghaus <[EMAIL PROTECTED]> wrote: > If ever a problem deserved to be a FAQ on the Wiki, this is it. I had > exactly the same problem only with "http://util.java" instead of > "http://management.javax". Overall the java2wsdl documentation MUST > describe what to do when this problem is hit.... > > Cheers, > Rob > > -----Original Message----- > From: jagannath [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 15, 2004 7:20 AM > To: [EMAIL PROTECTED] > Subject: WSDL generation problem > > Hi, > > I am unable to generate the wsdl for my web service using the > AxisServlet. The below exception gets thrown. Am I missing something > during the configuration of the web service? > > I am using Axis 1.1 > > Please help. > > [INFO] enterprise - -Mapping Exception to AxisFault <WSDLException: > faultCode=OTHER_ERROR: Can't find prefix for 'http://management.javax'. > Namespace prefixes must be set on the Definition object using the > addNamespace(...) method.: >WSDLException: faultCode=OTHER_ERROR: Can't > find prefix for 'http://management.javax'. 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) > at com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(Unknown Source) > at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown > Source) > at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source) > at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source) > at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:267) > at > org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.ja > va:494) > at > org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72 > ) > at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) > at > org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137) > at > org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java: > 375) > at > org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499) > at > org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServle > t.java:484) > at > org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at > org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.j > ava:339) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) > at org.apache.tomcat.core.Handler.service(Handler.java:287) > at > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) > at > org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav > a:806) > at > org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) > at > org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H > ttpConnectionHandler.java:213) > at > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416 > ) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:50 > 1) > at java.lang.Thread.run(Thread.java:484) > > Regards, > -- > ------------------------------------------------------- > Jagannath.C > AdventNet ManageEngine JMX Studio > Off : 2243115 Extn:5252 > Res: 22790045 > Nortel: +91-925-895-6380 > www.adventnet.com > ------------------------------------------------------- > > > ===== Davanum Srinivas - http://webservices.apache.org/~dims/
