Gabit 0 Newbie Poster

I need to create WSDL file for my Web Service.
Web service receives xml-based request and responses to it.

Sample xml-based request:

<?xml version="1.0" encoding="utf-8"?>
        <PEP_IBANCheckRequest>
	<OrderNumber>34552</OrderNumber>
	<IIN>81070581488</IIN>
	<RNN>5851515115</RNN>
	<IBAN>KZ86926002P468708027</IBAN>
	<PaymentAccountType>1</PaymentAccountType>
	<OrderDate>2011-08-26T11:36:59.4050385+06:00</OrderDate>
	</PEP_IBANCheckRequest>

Sample xml-based response:

<?xml version="1.0" encoding="utf-8"?>
 <PEP_IBANCheckResponse>
	<OrderNumber>34552</OrderNumber>
	<OrgOrderNumber>65412</OrgOrderNumber>
	<OrderRunDate>2011-08-26T12:00:51.0369231+06:00</OrderRunDate>
	<Status>0</Status>
	<OrgBIC>65156151</OrgBIC>
	<OrgRNN>5445848</OrgRNN>
 </PEP_IBANCheckResponse>

By looking at request/response xml files, I need to create wsdl file. since, I do need to create that web service from wsdl file.

Currently, I do have this WSDL file.
(Problem is in binding in wsdl file)

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2011 rel. 2 (http://www.altova.com) by TeaM DJiNN (TeaM DJiNN) -->
<wsdl:definitions xmlns:tns="http://www.quentinsagerconsulting.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.quentinsagerconsulting.com">
	<wsdl:types>
		<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
			<xs:element name="PEP_IBANCheckQuery" nillable="true" type="PEP_IBANCheckQuery"/>
			<xs:complexType name="PEP_IBANCheckQuery">
				<xs:complexContent mixed="false">
					<xs:extension base="BaseXPO">
					<xs:sequence>
	<xs:element minOccurs="0" maxOccurs="1" name="OrderNumber" type="xs:string"/>
	<xs:element minOccurs="0" maxOccurs="1" name="PSHEPNumber" type="xs:string"/>
	<xs:element minOccurs="0" maxOccurs="1" name="OrgOrderNumber" type="xs:string"/>
	<xs:element minOccurs="0" maxOccurs="1" name="PersonInfo" type="PersonInfo"/>
	<xs:element minOccurs="0" maxOccurs="1" name="OrgName" type="xs:string"/>
	<xs:element minOccurs="0" maxOccurs="1" name="PaymentAccountType" type="xs:string"/>
	<xs:element minOccurs="0" maxOccurs="1" name="IBAN" type="xs:string"/>
	<xs:element minOccurs="1" maxOccurs="1" name="OrderDate" type="xs:dateTime"/>
	<xs:element minOccurs="1" maxOccurs="1" name="OrderRunDate" type="xs:dateTime"/>
	<xs:element minOccurs="0" maxOccurs="1" name="Status" type="xs:string"/>
	<xs:element minOccurs="0" maxOccurs="1" name="OrgBIC" type="xs:string"/>
	<xs:element minOccurs="0" maxOccurs="1" name="OrgRNN" type="xs:string"/>
					</xs:sequence>
					</xs:extension>
				</xs:complexContent>
			</xs:complexType>
			<xs:complexType name="BaseXPO" abstract="true">
				<xs:complexContent mixed="false">
					<xs:extension base="XPCustomObject"/>
				</xs:complexContent>
			</xs:complexType>
			<xs:complexType name="XPCustomObject" abstract="true">
				<xs:complexContent mixed="false">
					<xs:extension base="XPBaseObject"/>
				</xs:complexContent>
			</xs:complexType>
			<xs:complexType name="XPBaseObject" abstract="true">
				<xs:complexContent mixed="false">
					<xs:extension base="PersistentBase"/>
				</xs:complexContent>
			</xs:complexType>
			<xs:complexType name="PersistentBase"/>
			<xs:complexType name="PersonInfo">
				<xs:complexContent mixed="false">
					<xs:extension base="BaseXPO">
					<xs:sequence>
		<xs:element minOccurs="0" maxOccurs="1" name="IIN" type="xs:string"/>
		<xs:element minOccurs="0" maxOccurs="1" name="FirstName" type="xs:string"/>
		<xs:element minOccurs="0" maxOccurs="1" name="LastName" type="xs:string"/>
		<xs:element minOccurs="0" maxOccurs="1" name="MiddleName" type="xs:string"/>
		<xs:element minOccurs="1" maxOccurs="1" name="BirthDate" type="xs:dateTime"/>
		<xs:element minOccurs="0" maxOccurs="1" name="RNN" type="xs:string"/>
					</xs:sequence>
					</xs:extension>
				</xs:complexContent>
			</xs:complexType>
		</xs:schema>
	</wsdl:types>
	<wsdl:message name="validateSoapRequest">
		<wsdl:part name="parameters" element="tns:validate"/>
	</wsdl:message>
	<wsdl:message name="validateSoapResponse">
		<wsdl:part name="parameters" element="tns:validateResponse"/>
	</wsdl:message>
	<wsdl:portType name="ibanSoap">
		<wsdl:operation name="validate">
			<wsdl:input message="tns:validateSoapRequest"/>
			<wsdl:output message="tns:validateSoapResponse"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="ibanSoap" type="tns:ibanSoap">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="validate">
			<soap:operation soapAction="http://www.quentinsagerconsulting.com/service/aba/validate" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="iban">
		<wsdl:documentation>IBAN validation</wsdl:documentation>
		<wsdl:port name="ibanPort" binding="tns:ibanSoap">
			<soap:address location="http://www.quentinsagerconsulting.com/service/aba"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.