According to input & output xml files, I need to create wsdl file for describing web service:
Input xml-file (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>
Output xml-file (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>
My incomplete wsdl file:
<?xml version="1.0" encoding="utf-8"?>
<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>
I am completely new to web service stuff, please help me