1 Reply Latest reply on Jul 31, 2003 1:51 AM by Andrea Tevoi

    WSDL Exception

    sathish Newbie

      while trying to generate client for deployed service, i am getting following exception

      java.rmi.RemoteException: wega.deployment.client.Generator$GenerationFailedException:
      WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at
      no content-type: java.net.UnknownServiceException: no content-type

      at java.net.URLConnection.getContentHandler(URLConnection.java:1059)
      at java.net.URLConnection.getContent(URLConnection.java:583)
      at java.net.URL.getContent(URL.java:969)
      at com.ibm.wsdl.util.StringUtils.getContentAsReader(Unknown Source)
      at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

      I have included mime content info in webserver also. Still i am getting the error.

      Any suggestions pls,


        • 1. Re: WSDL Exception
          Andrea Tevoi Newbie

          Hi satish,

          I've got the same problem. Running in debug, i've seen that the error comes from the class org.jboss.net.protocol.file.FileURLConnection that JBoss uses to retrieve the WSDL file. The content-type is null so FileURLConnection throws an exception. I think it is a JBoss bug because FileURLConnection must not look for a content-type.