<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
	targetNamespace="http://services.egov.bg/messaging/"
	xmlns:tns="http://services.egov.bg/messaging/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl">

	<wsdl:types>
		<xsd:schema elementFormDefault="qualified"
			targetNamespace="http://services.egov.bg/messaging/">
			<xsd:element name="Submit">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element minOccurs="0" name="request" nillable="true" type="xsd:string" />
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="SubmitResponse">
				<xsd:complexType>
					<xsd:sequence>
						<xsd:element minOccurs="0" name="SubmitResult" nillable="true" type="xsd:string" />
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
		</xsd:schema>
		<xsd:schema elementFormDefault="qualified" attributeFormDefault="qualified"
			targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/"
			xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/">
			<xsd:element name="anyType" nillable="true" type="xsd:anyType" />
			<xsd:element name="anyURI" nillable="true" type="xsd:anyURI" />
			<xsd:element name="base64Binary" nillable="true" type="xsd:base64Binary" />
			<xsd:element name="boolean" nillable="true" type="xsd:boolean" />
			<xsd:element name="byte" nillable="true" type="xsd:byte" />
			<xsd:element name="dateTime" nillable="true" type="xsd:dateTime" />
			<xsd:element name="decimal" nillable="true" type="xsd:decimal" />
			<xsd:element name="double" nillable="true" type="xsd:double" />
			<xsd:element name="float" nillable="true" type="xsd:float" />
			<xsd:element name="int" nillable="true" type="xsd:int" />
			<xsd:element name="long" nillable="true" type="xsd:long" />
			<xsd:element name="QName" nillable="true" type="xsd:QName" />
			<xsd:element name="short" nillable="true" type="xsd:short" />
			<xsd:element name="string" nillable="true" type="xsd:string" />
			<xsd:element name="unsignedByte" nillable="true" type="xsd:unsignedByte" />
			<xsd:element name="unsignedInt" nillable="true" type="xsd:unsignedInt" />
			<xsd:element name="unsignedLong" nillable="true" type="xsd:unsignedLong" />
			<xsd:element name="unsignedShort" nillable="true" type="xsd:unsignedShort" />
			<xsd:element name="char" nillable="true" type="tns:char" />
			<xsd:simpleType name="char">
				<xsd:restriction base="xsd:int" />
			</xsd:simpleType>
			<xsd:element name="duration" nillable="true" type="tns:duration" />
			<xsd:simpleType name="duration">
				<xsd:restriction base="xsd:duration">
					<xsd:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
					<xsd:minInclusive value="-P10675199DT2H48M5.4775808S" />
					<xsd:maxInclusive value="P10675199DT2H48M5.4775807S" />
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:element name="guid" nillable="true" type="tns:guid" />
			<xsd:simpleType name="guid">
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
				</xsd:restriction>
			</xsd:simpleType>
			<xsd:attribute name="FactoryType" type="xsd:QName" />
			<xsd:attribute name="Id" type="xsd:ID" />
			<xsd:attribute name="Ref" type="xsd:IDREF" />
		</xsd:schema>
	</wsdl:types>
	<wsdl:message name="IEGovService_Submit_InputMessage">
		<wsdl:part name="parameters" element="tns:Submit" />
	</wsdl:message>
	<wsdl:message name="IEGovService_Submit_OutputMessage">
		<wsdl:part name="parameters" element="tns:SubmitResponse" />
	</wsdl:message>
	<wsdl:portType name="IEGovService">
		<wsdl:operation name="Submit">
			<wsdl:documentation>Submits a message</wsdl:documentation>
			<wsdl:input wsaw:Action="http://services.egov.bg/messaging/IEGovService/Submit"
				message="tns:IEGovService_Submit_InputMessage" />
			<wsdl:output wsaw:Action="http://services.egov.bg/messaging/IEGovService/SubmitResponse"
				message="tns:IEGovService_Submit_OutputMessage" />
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="EGovService" type="tns:IEGovService">
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="Submit">
			<soap:operation soapAction="http://services.egov.bg/messaging/IEGovService/Submit" style="document" />
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
</wsdl:definitions>
