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

    WSDL Exception

    sathish

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

      core.common.except.SystemRuntimeException:
      java.rmi.RemoteException: wega.deployment.client.Generator$GenerationFailedException:
      WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at
      'D:/work/infraviowsms30/wsms/install/Infravio_Repository/iv.generated/sm/gns/app/cmp/packages/v2.0/My_Local_Machine/wsdlData'.:
      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)

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

      Any suggestions pls,

      Thanks
      sathish

        • 1. Re: WSDL Exception
          tevoi

          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.

          bye

          A.T.