Solved

WSDL not getting validated

Posted on 2010-11-09
2
1,732 Views
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:tns="http://www.mycompany.org/EHRS/" 
      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
      xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="EHRS" 
      targetNamespace="http://www.mycompany.org/EHRS/">
  <wsdl:types>
    <xsd:schema targetNamespace="http://www.mycompany.org/EHRS/">
      <xsd:element name="GetEmployeeName">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="empID" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="GetEmployeeNameResponse">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="empName" type="xsd:string"/>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>           
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="GetEmployeeNameRequest">
    <wsdl:part element="tns:GetEmployeeName" name="parameters"/>
  </wsdl:message>
  <wsdl:message name="GetEmployeeNameResponse">
    <wsdl:part element="tns:GetEmployeeNameResponse" name="parameters"/>
  </wsdl:message>
  <wsdl:portType name="EhrsEmployeeService">
    <wsdl:operation name="GetEmployeeName">
      <wsdl:input message="tns:GetEmployeeNameRequest"/>
      <wsdl:output message="tns:GetEmployeeNameResponse"/>
    </wsdl:operation>

  </wsdl:portType>
  <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"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="EHRS">
    <wsdl:port binding="tns:EHRSSOAP" name="EHRSSOAP">
      <soap:address location="http://www.mycompany.org/"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

Open in new window



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

0
Comment
Question by:ank5
2 Comments
 
LVL 23

Accepted Solution

by:
Siva Prasanna Kumar earned 500 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.
0
 

Expert Comment

by:mmo18
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...
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
countAbc challenge 9 50
parentbit challenge 3 52
Running Jira on Raspberry PI 2? 3 139
compre toata in where clue oracle 4 44
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

746 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now