<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Generated by JAX-WS RI (https://github.com/eclipse-ee4j/metro-jax-ws). RI's version is JAX-WS RI 2.3.5 git-revision#7ddc91f. -->
<definitions targetNamespace="http://send.api.hammy.dbx.hu/" name="WsSendAPIV3" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:tns="http://send.api.hammy.dbx.hu/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata">
  <types>
    <xs:schema version="1.0" targetNamespace="http://send.api.hammy.dbx.hu/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://common.api.dbx.hu/">

      <xs:import namespace="http://common.api.dbx.hu/"/>

      <xs:element name="resendMail" type="tns:resendMail"/>

      <xs:element name="resendMailRequest" type="tns:resendMailRequest_V3"/>

      <xs:element name="resendMailResponse" nillable="true" type="tns:resendMailResponseWrapper"/>

      <xs:element name="sendMail" type="tns:sendMail"/>

      <xs:element name="sendMailRequest" type="tns:sendMailRequest_V3"/>

      <xs:element name="sendMailResponse" nillable="true" type="tns:sendMailResponseWrapper"/>

      <xs:element name="setAttachmentProperties" nillable="true" type="tns:setAttachmentPropertiesRequestWrapper"/>

      <xs:element name="setAttachmentPropertiesResponse" nillable="true" type="tns:setAttachmentPropertiesResponseWrapper"/>

      <xs:element name="setMessageProperties" nillable="true" type="tns:setMessagePropertiesRequestWrapper"/>

      <xs:element name="setMessagePropertiesResponse" nillable="true" type="tns:setMessagePropertiesResponseWrapper"/>

      <xs:complexType name="setAttachmentPropertiesRequestWrapper">
        <xs:sequence>
          <xs:element name="request" type="tns:setAttachmentPropertiesRequest"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="setAttachmentPropertiesRequest">
        <xs:sequence>
          <xs:element name="clientHashKey" type="xs:string"/>
          <xs:element name="userName" type="xs:string" minOccurs="0"/>
          <xs:element name="attachmentId" type="xs:int" minOccurs="0"/>
          <xs:element name="attachmentUuid" type="xs:string" minOccurs="0"/>
          <xs:element name="modifications" minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="modification" type="tns:propertyModification" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="params" type="ns1:params" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="propertyModification">
        <xs:sequence>
          <xs:element name="action" type="xs:string"/>
          <xs:element name="property" type="tns:property" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="property">
        <xs:sequence>
          <xs:element name="key" type="xs:string"/>
          <xs:element name="value" type="xs:string"/>
          <xs:element name="valueType" type="xs:string" minOccurs="0"/>
          <xs:element name="index" type="xs:int" minOccurs="0"/>
          <xs:element name="isMetaData" type="xs:boolean"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="setAttachmentPropertiesResponseWrapper">
        <xs:sequence>
          <xs:element name="response" type="tns:setAttachmentPropertiesResponse"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="setAttachmentPropertiesResponse">
        <xs:sequence>
          <xs:element name="properties" minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="property" type="tns:property" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="status" type="ns1:responseStatus" minOccurs="0"/>
          <xs:element name="params" type="ns1:params" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="setMessagePropertiesRequestWrapper">
        <xs:sequence>
          <xs:element name="request" type="tns:setMessagePropertiesRequest"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="setMessagePropertiesRequest">
        <xs:sequence>
          <xs:element name="clientHashKey" type="xs:string"/>
          <xs:element name="userName" type="xs:string" minOccurs="0"/>
          <xs:element name="messageId" type="xs:int" minOccurs="0"/>
          <xs:element name="messageUuid" type="xs:string" minOccurs="0"/>
          <xs:element name="messageHash" type="xs:string" minOccurs="0"/>
          <xs:element name="modifications" minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="modification" type="tns:propertyModification" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="params" type="ns1:params" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="setMessagePropertiesResponseWrapper">
        <xs:sequence>
          <xs:element name="response" type="tns:setMessagePropertiesResponse"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="setMessagePropertiesResponse">
        <xs:sequence>
          <xs:element name="properties" minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="property" type="tns:property" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="status" type="ns1:responseStatus" minOccurs="0"/>
          <xs:element name="params" type="ns1:params" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="resendMail">
        <xs:sequence>
          <xs:element name="request" type="tns:resendMailRequest_V3" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="resendMailRequest_V3">
        <xs:sequence>
          <xs:element name="clientHashKey" type="xs:string"/>
          <xs:element name="recipientAddress" type="xs:string" minOccurs="0"/>
          <xs:element name="recipientPhoneNumber" type="xs:string" minOccurs="0"/>
          <xs:element name="messageId" type="xs:string" nillable="true" minOccurs="0"/>
          <xs:element name="messageUuid" type="xs:string" minOccurs="0"/>
          <xs:element name="userName" type="xs:string" minOccurs="0"/>
          <xs:element name="properties" type="tns:propertiesType" minOccurs="0"/>
          <xs:element name="params" type="ns1:params" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="propertiesType">
        <xs:sequence>
          <xs:element name="property" type="tns:property" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="resendMailResponseWrapper">
        <xs:sequence>
          <xs:element name="response" type="tns:resendMailResponse"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="resendMailResponse">
        <xs:sequence>
          <xs:element name="messageId" type="xs:int" nillable="true"/>
          <xs:element name="status" type="ns1:responseStatus"/>
          <xs:element name="params" type="ns1:params"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="sendMail">
        <xs:sequence>
          <xs:element name="request" type="tns:sendMailRequest_V3" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="sendMailRequest_V3">
        <xs:sequence>
          <xs:element name="clientHashKey" type="xs:string"/>
          <xs:element name="requestId" type="xs:string" minOccurs="0"/>
          <xs:element name="batchId" type="xs:string" minOccurs="0"/>
          <xs:element name="partnerRef" type="xs:string" minOccurs="0"/>
          <xs:element name="messageType" type="xs:string" minOccurs="0"/>
          <xs:element name="messageTypeVersion" type="xs:int" minOccurs="0"/>
          <xs:element name="scenarioName" type="xs:string" minOccurs="0"/>
          <xs:element name="mailSubject" type="xs:string" minOccurs="0"/>
          <xs:element name="mailBody" type="xs:string" minOccurs="0"/>
          <xs:element name="mailHtmlBody" type="xs:string" minOccurs="0"/>
          <xs:element name="recipientPostalAddress" type="xs:string" minOccurs="0"/>
          <xs:element name="recipientPhoneNumber" type="xs:string" minOccurs="0"/>
          <xs:element name="recipientName" type="xs:string"/>
          <xs:element name="recipientEmailAddressCC" type="xs:string" minOccurs="0"/>
          <xs:element name="recipientEmailAddress" type="xs:string" minOccurs="0"/>
          <xs:element name="recipientNameCC" type="xs:string" minOccurs="0"/>
          <xs:element name="recipientPSID" type="xs:string" minOccurs="0"/>
          <xs:element name="replyToAddress" type="xs:string" minOccurs="0"/>
          <xs:element name="replyToName" type="xs:string" minOccurs="0"/>
          <xs:element name="fromAddress" type="xs:string" minOccurs="0"/>
          <xs:element name="fromName" type="xs:string" minOccurs="0"/>
          <xs:element name="fromPhoneNumber" type="xs:string" minOccurs="0"/>
          <xs:element name="fromPageAccessToken" type="xs:string" minOccurs="0"/>
          <xs:element name="bccAddress" type="xs:string" minOccurs="0"/>
          <xs:element name="xmlData" type="xs:string" minOccurs="0"/>
          <xs:element name="archivingExpected" type="xs:boolean" minOccurs="0"/>
          <xs:element name="certificationExpected" type="xs:boolean" minOccurs="0"/>
          <xs:element name="replyEnvelopeAttached" type="xs:boolean" minOccurs="0"/>
          <xs:element name="paymentSlipAttached" type="xs:boolean" minOccurs="0"/>
          <xs:element name="channel" type="xs:string" minOccurs="0"/>
          <xs:element name="userName" type="xs:string" minOccurs="0"/>
          <xs:element name="relatedMessageId" type="xs:int" minOccurs="0"/>
          <xs:element name="campaignPartId" type="xs:int" nillable="true" minOccurs="0"/>
          <xs:element name="letterType" type="xs:string" minOccurs="0"/>
          <xs:element name="repliedMessageUuid" type="xs:string" minOccurs="0"/>
          <xs:element name="attachments" type="tns:attachmentList" minOccurs="0"/>
          <xs:element name="properties" type="tns:propertiesType" minOccurs="0"/>
          <xs:element name="params" type="ns1:params" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="attachmentList">
        <xs:sequence>
          <xs:element name="attachment" type="tns:attachment" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="attachment">
        <xs:sequence>
          <xs:element name="fileName" type="xs:string"/>
          <xs:element name="internalFileName" type="xs:string" minOccurs="0"/>
          <xs:element name="content" type="xs:base64Binary" minOccurs="0"/>
          <xs:element name="documentType" type="xs:string" minOccurs="0"/>
          <xs:element name="objectType" type="xs:string" minOccurs="0"/>
          <xs:element name="objectRef" type="xs:string" minOccurs="0"/>
          <xs:element name="archivingExpected" type="xs:boolean" minOccurs="0"/>
          <xs:element name="certificationExpected" type="xs:boolean" minOccurs="0"/>
          <xs:element name="deleteSourceExpected" type="xs:boolean"/>
          <xs:element name="postableWithoutCertificate" type="xs:boolean"/>
          <xs:element name="attachmentRef" type="xs:string" minOccurs="0"/>
          <xs:element name="embeddedXml" type="xs:string" minOccurs="0"/>
          <xs:element name="orderNo" type="xs:int" minOccurs="0"/>
          <xs:element name="properties" type="tns:propertiesType" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="sendMailResponseWrapper">
        <xs:sequence>
          <xs:element name="response" type="tns:sendMailResponse"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="sendMailResponse">
        <xs:sequence>
          <xs:element name="messageId" type="xs:int" nillable="true"/>
          <xs:element name="status" type="ns1:responseStatus"/>
          <xs:element name="params" type="ns1:params"/>
        </xs:sequence>
      </xs:complexType>
</xs:schema>
    <xs:schema version="1.0" targetNamespace="http://common.api.dbx.hu/" xmlns:tns="http://common.api.dbx.hu/" xmlns:xs="http://www.w3.org/2001/XMLSchema">

      <xs:complexType name="params">
        <xs:sequence>
          <xs:element name="param" type="tns:param" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="param">
        <xs:sequence>
          <xs:element name="key" type="xs:string"/>
          <xs:element name="value" type="xs:string"/>
          <xs:element name="ref" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="responseStatus">
        <xs:sequence>
          <xs:element name="code" type="xs:int" nillable="true"/>
          <xs:element name="messages" type="tns:messageList" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="messageList">
        <xs:sequence>
          <xs:element name="message" type="tns:message" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>

      <xs:complexType name="message">
        <xs:sequence>
          <xs:element name="severity" type="tns:severity"/>
          <xs:element name="code" type="xs:string"/>
          <xs:element name="description" type="xs:string"/>
          <xs:element name="refElement" type="xs:string" minOccurs="0"/>
          <xs:element name="refValue" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>

      <xs:simpleType name="severity">
        <xs:restriction base="xs:string">
          <xs:enumeration value="ERROR"/>
          <xs:enumeration value="WARNING"/>
          <xs:enumeration value="INFO"/>
        </xs:restriction>
      </xs:simpleType>
</xs:schema>
  </types>
  <message name="setAttachmentProperties">
    <part name="parameters" element="tns:setAttachmentProperties"/>
  </message>
  <message name="setAttachmentPropertiesResponse">
    <part name="parameters" element="tns:setAttachmentPropertiesResponse"/>
  </message>
  <message name="resendMail">
    <part name="parameters" element="tns:resendMail"/>
  </message>
  <message name="resendMailResponse">
    <part name="parameters" element="tns:resendMailResponse"/>
  </message>
  <message name="sendMail">
    <part name="parameters" element="tns:sendMail"/>
  </message>
  <message name="sendMailResponse">
    <part name="parameters" element="tns:sendMailResponse"/>
  </message>
  <message name="setMessageProperties">
    <part name="parameters" element="tns:setMessageProperties"/>
  </message>
  <message name="setMessagePropertiesResponse">
    <part name="parameters" element="tns:setMessagePropertiesResponse"/>
  </message>
  <portType name="WsSendAPIV3">
    <operation name="setAttachmentProperties">
      <input wsam:Action="http://send.api.hammy.dbx.hu/setAttachmentProperties" message="tns:setAttachmentProperties"/>
      <output wsam:Action="http://send.api.hammy.dbx.hu/WsSendAPIV3/setAttachmentPropertiesResponse" message="tns:setAttachmentPropertiesResponse"/>
    </operation>
    <operation name="resendMail">
      <input wsam:Action="http://send.api.hammy.dbx.hu/resendMail" message="tns:resendMail"/>
      <output wsam:Action="http://send.api.hammy.dbx.hu/WsSendAPIV3/resendMailResponse" message="tns:resendMailResponse"/>
    </operation>
    <operation name="sendMail">
      <input wsam:Action="http://send.api.hammy.dbx.hu/sendMail" message="tns:sendMail"/>
      <output wsam:Action="http://send.api.hammy.dbx.hu/WsSendAPIV3/sendMailResponse" message="tns:sendMailResponse"/>
    </operation>
    <operation name="setMessageProperties">
      <input wsam:Action="http://send.api.hammy.dbx.hu/setMessageProperties" message="tns:setMessageProperties"/>
      <output wsam:Action="http://send.api.hammy.dbx.hu/WsSendAPIV3/setMessagePropertiesResponse" message="tns:setMessagePropertiesResponse"/>
    </operation>
  </portType>
  <binding name="WsSendAPIV3PortBinding" type="tns:WsSendAPIV3">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="setAttachmentProperties">
      <soap:operation soapAction="http://send.api.hammy.dbx.hu/setAttachmentProperties"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="resendMail">
      <soap:operation soapAction="http://send.api.hammy.dbx.hu/resendMail"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="sendMail">
      <soap:operation soapAction="http://send.api.hammy.dbx.hu/sendMail"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="setMessageProperties">
      <soap:operation soapAction="http://send.api.hammy.dbx.hu/setMessageProperties"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="WsSendAPIV3">
    <port name="WsSendAPIV3Port" binding="tns:WsSendAPIV3PortBinding">
      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
    </port>
  </service>
</definitions>

