Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-378

CTS: empty WSDLTypes contained xsModel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • jbossws-1.0RC2
    • None
    • jbossws-native
    • None

      2005-08-25 14:03:18,265 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory:83] parse: file:/D:/jboss-temp/deploy/tmp59270WSIDLHeaderTest.ear-contents/WSIDLHeaderTest_web-exp.war/WEB-INF/wsdl/HeaderTestService.wsdl
      2005-08-25 14:03:18,312 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory:198] getBaseInputSource [wsdlUrl=file:/D:/jboss-temp/deploy/tmp59270WSIDLHeaderTest.ear-contents/WSIDLHeaderTest_web-exp.war/WEB-INF/wsdl/HeaderTestService.wsdl]
      2005-08-25 14:03:18,484 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory:220] getImportInputSource [parent=file:/D:/jboss-temp/deploy/tmp59270WSIDLHeaderTest.ear-contents/WSIDLHeaderTest_web-exp.war/WEB-INF/wsdl/HeaderTestService.wsdl,resource=HeaderTestDefs.wsdl]
      2005-08-25 14:03:18,484 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory:270] Resolved to: file:/D:/jboss-temp/deploy/tmp59270WSIDLHeaderTest.ear-contents/WSIDLHeaderTest_web-exp.war/WEB-INF/wsdl/HeaderTestDefs.wsdl
      2005-08-25 14:03:18,500 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory:220] getImportInputSource [parent=file:/D:/jboss-temp/deploy/tmp59270WSIDLHeaderTest.ear-contents/WSIDLHeaderTest_web-exp.war/WEB-INF/wsdl/HeaderTestDefs.wsdl,resource=HeaderTestDefs.xsd]
      2005-08-25 14:03:18,500 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory:270] Resolved to: file:/D:/jboss-temp/deploy/tmp59270WSIDLHeaderTest.ear-contents/WSIDLHeaderTest_web-exp.war/WEB-INF/wsdl/HeaderTestDefs.xsd
      2005-08-25 14:03:18,500 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory:220] getImportInputSource [parent=file:/D:/jboss-temp/deploy/tmp59270WSIDLHeaderTest.ear-contents/WSIDLHeaderTest_web-exp.war/WEB-INF/wsdl/HeaderTestDefs.xsd,resource=soap-env.xsd]
      2005-08-25 14:03:18,515 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory:270] Resolved to: file:/D:/jboss-temp/deploy/tmp59270WSIDLHeaderTest.ear-contents/WSIDLHeaderTest_web-exp.war/WEB-INF/wsdl/soap-env.xsd

      2005-08-25 14:03:19,125 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationPart:98] WSDLTypes contained xsModel

      2005-08-25 14:03:19,140 ERROR [org.jboss.deployment.MainDeployer:926] Could not create deployment: file:/D:/jboss-temp/deploy/tmp59270WSIDLHeaderTest.ear-contents/WSIDLHeaderTest_web.war
      java.lang.IllegalStateException: Cannot obtain xmlType for element:

      {http://headertestservice.org/types4}

      ProductOrderRequest
      at org.jboss.ws.metadata.wsdl.WSDLInterfaceOperationPart.getXMLType(WSDLInterfaceOperationPart.java:99)
      at org.jboss.ws.metadata.AbstractMetaDataBuilder.buildParameterMetaDataDoc(AbstractMetaDataBuilder.java:521)
      at org.jboss.ws.metadata.AbstractMetaDataBuilder.setupOperationsFromWSDL(AbstractMetaDataBuilder.java:371)
      at org.jboss.ws.metadata.JSR109MetaDataBuilder.buildMetaData(JSR109MetaDataBuilder.java:170)

      Anil, please be strict and throw an exception. Silently ignoring a problem and returning null or an empty structure is not desirable.

              tdiesler@redhat.com Thomas Diesler
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: