Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6050047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:38:42+00:00 2026-05-23T07:38:42+00:00

Since WSDL specifies a section for type definitions, I wonder how this type definitions

  • 0

Since WSDL specifies a section for type definitions, I wonder how this type definitions are enforced so that the message exchange will fail when the contents of the messages don’t match the requested types.

According to what I have read, Web Services can exist without a WSDL (just do a quick search for “web services without wsdl”). It’s not an ideal situation, but it can happen, and the Web Service can still be used as long as the consumer knows how the message is structured. If this is true, then the types defined in the WSDL are merely informative, aren’t they? It seems there isn’t an automatic mechanism that binds the type definitions of the WSDL with actual type validations. It seems the WSDL documentation doesn’t say anything in this regard either.

How is type validation usually enforced in Web Services? Is it the server’s responsibility to provide such validation and return a failure message if something goes wrong? What is the client’s reponsibility when it comes to type validation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:38:42+00:00Added an answer on May 23, 2026 at 7:38 am

    WSDL describes service and part of service description is definition of data exchanged between client and service. Data are described by XML schema (XSD) which defines exact format of each message (except some rare use cases where for example xsd:any definition is used). XML schemas are standard way to describe XML documents and they are used to validate these documents – common XML parsers allow you validating the XML document with specified schema.

    You can create web service without WSDL – actually WSDL is used mostly for SOAP services but even SOAP services can be defined without WSDL but they can still consume only well defined data which can be described by XSD schemas. Other types of web services like XML service or REST service (passing XML) can also have exchanged data described by XSD.

    It depends on consumer if the validation is used. Validation of XML documents can be time consuming and it can reduce throughput of the system. The way how the validation is used depends on the API – some API or tools provide this out of the box other requires manual intercepting of received message and running validation with some available XML parser.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have currently a wsdl element that was defined as long since the number
EDIT: THIS QUESTION IS INVALID SINCE THE SERVER I'M USING HAS SUDDENLY EXPIRED. PLEASE
I'm trying to import a WSDL using wsimport (JDK 6). This fails, however, telling
I have a SOAP 1.1 client that was generated with the Delphi 2007 WSDL
I know that it's not the main idea of this site to answer such
I have the WSDL for a web service that I cannot currently connect to.
I have a web service outside of my company that provides no WSDL for
I am using the Amazon Product Search WSDL in an objective-c project. Since Objective-c
This is possibly a dumb question since I'm new to all the technologies I'm
I've encountered a few different WSDL files that contain an element and a complexType

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.