9 Replies Latest reply on Nov 12, 2010 11:10 AM by jalen

    Error when validating WSDL.

    jalen

      Hello,

       

      I met a problem when importing Web Service as source model. The WS is from third-party. It can be called successfully through SOAPUI. But it can not pass the validation when I click "Validate VSDL".

       

      The error message is:

       

      An error was encountered setting up WSDl validation.: The Content Type found at http://16.158.50.206:11090/artesia-ws/services/ArtesiaWebServices?WSDL, text/xml, is not valid for WSDL. Expecting text/xml or application/xml.
      com.metamatrix.modeler.modelgenerator.wsdl.validation.WSDLValidationException
        1139:72 - src-resolve.4.2: Error resolving component 'ns1:MetadataFieldArray'. It was detected that 'ns1:MetadataFieldArray' is in namespace 'http://www.artesia.com/api/xsd', but components from this namespace are not referenceable from schema document 'http://16.158.50.206:11090/artesia-ws/services/ArtesiaWebServices?WSDL'. If this is the incorrect namespace, perhaps the prefix of 'ns1:MetadataFieldArray' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://16.158.50.206:11090/artesia-ws/services/ArtesiaWebServices?WSDL'.

       

      Attachment is the WSDL file.