WSDL not getting validated

Posted on 2010-11-09
Medium Priority
Last Modified: 2016-01-28
I have created the following WSDL file. When I try to validate it using eclipse, it gives me the following warning

"WS-I: A problem occured while running the WS-I WSDL conformance check: org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException: The WS-I Test Assertion Document (TAD)document was either not found or could not be processed.The WSDLAnalyzer was unable to validate the given WSDL File."
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
      xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="EHRS" 
    <xsd:schema targetNamespace="http://www.mycompany.org/EHRS/">
      <xsd:element name="GetEmployeeName">
            <xsd:element name="empID" type="xsd:string"/>
      <xsd:element name="GetEmployeeNameResponse">
            <xsd:element name="empName" type="xsd:string"/>
  <wsdl:message name="GetEmployeeNameRequest">
    <wsdl:part element="tns:GetEmployeeName" name="parameters"/>
  <wsdl:message name="GetEmployeeNameResponse">
    <wsdl:part element="tns:GetEmployeeNameResponse" name="parameters"/>
  <wsdl:portType name="EhrsEmployeeService">
    <wsdl:operation name="GetEmployeeName">
      <wsdl:input message="tns:GetEmployeeNameRequest"/>
      <wsdl:output message="tns:GetEmployeeNameResponse"/>

  <wsdl:binding name="EHRSSOAP" type="tns:EhrsEmployeeService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="GetEmployeeName">
      <soap:operation soapAction="http://www.mycompany.org/EHRS/GetEmployeeName"/>
        <soap:body use="literal"/>
        <soap:body use="literal"/>
  <wsdl:service name="EHRS">
    <wsdl:port binding="tns:EHRSSOAP" name="EHRSSOAP">
      <soap:address location="http://www.mycompany.org/"/>

Open in new window

Can someone please let me know how this can be resolved or can it be ignored.

Question by:ank5
LVL 23

Accepted Solution

Siva Prasanna Kumar earned 2000 total points
ID: 34098939
It can be ignored it just a warning from Eclipse about WS-I compliance, every thing is fine with the above WSDL.

Expert Comment

ID: 41437216
Fine - but how can one *silence* this warning? If everything is OK and I can't do anything about it, then I don't want to *see* this warning! Is there some option or flag to silence this? Without disabling *all* XML validations of course...

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question