Standard Type of WSDL)

Source: Internet
Author: User

WSDLXML Schema in the types column and messages column

WSDLData TypeIt is based on "XML Schema: PES ypes" (XSD) and has been recommended by W3C. This document has three versions (/). Therefore, you must specify the version used in the <definitions> element of the namespace attribute.

Xmlns: XSD = "http://www.w3.org/2001/XMLSchema"

In this article, I will only consider Version 2001.WSDLStandardWe strongly recommend that you use Version 2001.

In this column and later sections, use the following shrink or prefix

Prefix Namespace Description
Soapenc Http://schemas.xmlsoap.org/soap/encoding HTTP 1.1 Encoding
WSDL Http://schemas.xmlsoap.org/WSDL/Soap WSDL1.1
XSD Http://www.w3.org/2001/XMLSchema XML Schema

XSD base type

The following table lists all XSD base types supported by mstk2. It also tells the client or serverWSDLReadProgramHow to map XSD types to corresponding types in VB, C ++, and IDL.

XSD (SOAP) Type Variable type VB C ++ IDL Comments
Anyuri Vt_bstr String BSTR BSTR  
Base64binary Vt_array | vt_ui1 Byte () Safearray Safearray (unsigned char)  
Boolean Vt_bool Boolean Variant_bool Variant_bool  
Byte Vt_i2 Integer Short Short Verify range validity during conversion
Date Vt_date Date Date Date The time is set to OO: OO.
Datetime Vt_date Date Date Date  
Double Vt_r8 Double Double Double  
Duration Vt_bstr String BSTR BSTR Do not convert and take effect
Entities Vt_bstr String BSTR BSTR Do not convert and take effect
Entity Vt_bstr String BSTR BSTR Do not convert and take effect
Float Vt_r4 Single Float Float  
Gday Vt_bstr String BSTR BSTR Do not convert and take effect
Gmonth Vt_bstr String BSTR BSTR Do not convert and take effect
Gmonthday Vt_bstr String BSTR BSTR Do not convert and take effect
Gyear Vt_bstr String BSTR BSTR Do not convert and take effect
Gyearmonth Vt_bstr String BSTR BSTR Do not convert and take effect
ID Vt_bstr String BSTR BSTR Do not convert and take effect
Idref Vt_bstr String BSTR BSTR Do not convert and take effect
Idrefs Vt_bstr String BSTR BSTR Do not convert and take effect
Int Vt_i4 Long Long Long  
Integer Vt_decimal Variant Decimal Decimal Conversion Effective Range
Language Vt_bstr String BSTR BSTR Do not convert and take effect
Long Vt_decimal Variant Decimal Decimal Conversion Effective Range
Name Vt_bstr String BSTR BSTR Do not convert and take effect
Ncname Vt_bstr String BSTR BSTR Do not convert and take effect
Negativeinteger Vt_decimal Variant Decimal Decimal Conversion Effective Range
Nmtoken Vt_bstr String BSTR BSTR Do not convert and take effect
Nmtokens Vt_bstr String BSTR BSTR Do not convert and take effect
Nonnegativeintege Vt_decimal Variant Decimal Decimal Conversion Effective Range
Nonpositiveinteger Vt_decimal Variant Decima Decimal Conversion Effective Range
Normalizedstring Vt_bstr String BSTR BSTR  
Notation Vt_bstr String BSTR BSTR Do not convert and take effect
Number Vt_decimal Variant Decimal Decimal  
Positiveinteger Vt_decimal Variant Decimal Decimal Conversion Effective Range
QNAME Vt_bstr String BSTR BSTR Do not convert and take effect
Short Vt_i2 Integer Short Short  
String Vt_bstr String BSTR BSTR  
Time Vt_date Date Date Date The date is set to January 1, December 30, 1899.
Token Vt_bstr String BSTR BSTR Do not convert and take effect
Unsignedbyte Vt_ui1 Byte Unsigned char Unsigned char  
Unsignedint Vt_decimal Variant Decimal Decimal Conversion Effective Range
Unsignedlong Vt_decimal Variant Decimal Decimal Conversion Effective Range
Unsignedshort Vt_ui4 Long Long Long Conversion Effective Range

XSD defines two sets of built-inData Type: Original and derived. Refer to the built-inData TypeLevel is very beneficial:

Http://www.w3.org/TR/2001/PR-xmlschema-2-20010330

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.