0 Replies Latest reply on May 28, 2007 6:08 AM by Huu-Dung Kieu

    wsdl4j and no content-type exception

    Huu-Dung Kieu Newbie

      Hello everybody,

      I'm working with JBoss 4.0.5 and trying to read a wsdl file using the javax.wsdl.xml.WSDLReader.readWSDL(pathToWsdl) method.

      where pathToWsdl is similar to /myWsdlDir/myWsdl.wsdl

      but I got a no content-type exception ...

      I tried to use another version of wsdl4j.jar ... it works but other web services doesn't work anymore because the setResolver(..) not found.

      If anyone has experienced this problem, please help me ... I guest
      - a good version of wsdl4j.jar
      - some changes in my code while reading wsdl file

      Hope to hearing from you soon,

      Thanks in advance,

      khdung.