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

    Error when validating WSDL.

    jalen zhong Newbie



      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, text/xml, is not valid for WSDL. Expecting text/xml or application/xml.
        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 ''. 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 ''.


      Attachment is the WSDL file.