• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Create WSDL
 

Create WSDL

on

  • 381 views

WSDL Example

WSDL Example

Statistics

Views

Total Views
381
Views on SlideShare
381
Embed Views
0

Actions

Likes
1
Downloads
15
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Create WSDL Create WSDL Document Transcript

    • <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://w xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="HelloWorldComplex" targetNamespace="http:// helloworldtutorials.blogspot.com/complexHelloWorld/Example/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <wsdl:types> <xsd:schema targetNamespace="http:// helloworldtutorials.blogspot.com/complexHelloWorld/Example/"> <xsd:import namespace="http:// helloworldtutorials.blogspot.com/relatedClasses/" schemaLocation="soap-encoding.xsd" / > <xsd:element name="studentId"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9]{1,10}" /> </ xsd:restriction> </ xsd:simpleType> </xsd:element> <xsd:element name="StudentInfoResponse"> <xsd:complexType> <xsd:sequence> <!-- Student ID --> <xsd:element name="studentId"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9]{1,10}" /> </ xsd:restriction> </ xsd:simpleType> </xsd:element> <!-- College Id --> <xsd:element name="collegeId"> <xsd:simpleType>
    • <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9]{1,10}" /> </ xsd:restriction> </ xsd:simpleType> </xsd:element> <!-- Student First Name --> <xsd:element name="firstName" type="xsd:string" nillable="true" /> <!-- Student Last Name --> <xsd:element name="lastName" type="xsd:string" nillable="true" /> <!-- Date of Birth --> <xsd:element name="dob" type="xsd:dateTime" nillable="true" /> <!-- Student Start Date --> <xsd:element name="startDate" type="xsd:dateTime" nillable="true" /> <xsd:element name="graduateDate" type="xsd:dateTime" nillable="true" /> <!-- College Location --> <xsd:element name="location" type="xsd:string" nillable="true" /> <!-- Student status --> <xsd:element name="returnStatus" type="xsd:string" nillable="true" /> <!-- Response Time
    • from College --> <xsd:element name="responseTime" type="xsd:dateTime" nillable="true" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> </wsdl:types> <wsdl:message name="getStudentInfo"> <wsdl:part element="tns:studentId" name="input" /> </wsdl:message> <wsdl:message name="getStudentInfoResponse"> <wsdl:part element="tns:StudentInfoResponse" name="return" /> </wsdl:message> <wsdl:portType name="StudentResponsePort"> <wsdl:operation name="getstudentinfo"> <wsdl:input message="tns:getStudentInfo" /> <wsdl:output message="tns:getStudentInfoResponse" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="studentInfoService" type="tns:StudentResponsePort"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/ http" /> <wsdl:operation name="getstudentinfo"> <soap:operation soapAction="http:// helloworldtutorials.blogspot.com/complexHelloWorld/getstudentinfo" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="StudentInformationService"> <wsdl:port binding="tns:studentInfoService" name="Information"> <soap:address location="http://localhost/" /> </wsdl:port> </wsdl:service> </wsdl:definitions>