307 lines
17 KiB
XML
307 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<con:soapui-project name="MailService" resourceRoot="" soapui-version="5.2.1" abortOnError="false" runType="SEQUENTIAL" activeEnvironment="Default" id="cc46c905-0837-49d7-97a4-f021d28bf35d" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="MailServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}MailServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/MailService?wsdl" id="ca20e6a3-2774-46a3-856a-1673adee3820" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/MailService?wsdl"><con:part><con:url>http://localhost:8080/XServices/MailService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="MailService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<wsdl:types>
|
|
<xs:schema elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<xs:element name="antProperty" type="tns:antProperty"/>
|
|
<xs:element name="sendMail" type="tns:sendMail"/>
|
|
<xs:element name="sendMailResponse" type="tns:sendMailResponse"/>
|
|
<xs:element name="sendMailSimple" type="tns:sendMailSimple"/>
|
|
<xs:element name="sendMailSimpleResponse" type="tns:sendMailSimpleResponse"/>
|
|
<xs:element name="sendMailSimpleWithAttachment" type="tns:sendMailSimpleWithAttachment"/>
|
|
<xs:element name="sendMailSimpleWithAttachmentResponse" type="tns:sendMailSimpleWithAttachmentResponse"/>
|
|
<xs:complexType name="sendMailSimpleWithAttachment">
|
|
<xs:sequence>
|
|
<xs:element name="mailhost" type="tns:connection"/>
|
|
<xs:element name="from" type="xs:string"/>
|
|
<xs:element name="to" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="subject" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="message" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="attachments" type="tns:FileSetType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="connection">
|
|
<xs:sequence>
|
|
<xs:element name="hostname" type="xs:string"/>
|
|
<xs:element name="port" type="xs:int"/>
|
|
<xs:element minOccurs="0" name="user" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="password" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="FileSetType">
|
|
<xs:sequence>
|
|
<xs:element default="FILES" name="FileSetType" type="tns:resourcetype"/>
|
|
<xs:element name="source" type="xs:string"/>
|
|
<xs:element name="filter" nillable="true" type="tns:patternSetType"/>
|
|
<xs:element default="" minOccurs="0" name="excludes" nillable="true" type="xs:string"/>
|
|
<xs:element default="true" name="casesensitive" type="xs:boolean"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="patternSetType">
|
|
<xs:sequence>
|
|
<xs:element default="**/*" maxOccurs="unbounded" minOccurs="0" name="include" type="tns:patternElement"/>
|
|
<xs:element maxOccurs="unbounded" minOccurs="0" name="exclude" type="tns:patternElement"/>
|
|
<xs:element minOccurs="0" name="selector" nillable="true" type="tns:selectorType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:simpleType name="patternElement">
|
|
<xs:restriction base="xs:string"/>
|
|
</xs:simpleType>
|
|
<xs:complexType abstract="true" name="selectorType">
|
|
<xs:sequence>
|
|
<xs:element maxOccurs="unbounded" minOccurs="0" name="contains" nillable="true" type="tns:containsSelectorType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="containsSelectorType">
|
|
<xs:sequence>
|
|
<xs:element name="text" type="xs:string"/>
|
|
<xs:element default="true" name="casesensitive" type="xs:boolean"/>
|
|
<xs:element default="false" name="ignorewhitespace" type="xs:boolean"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="sendMailSimpleWithAttachmentResponse">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="ReturnCodeType">
|
|
<xs:sequence>
|
|
<xs:element name="returnCode" type="xs:int"/>
|
|
<xs:element minOccurs="0" name="stdOut" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="stdErr" type="xs:string"/>
|
|
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="tns:antProperty"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="antProperty">
|
|
<xs:sequence>
|
|
<xs:element name="name" type="xs:string"/>
|
|
<xs:element name="value" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="sendMailSimple">
|
|
<xs:sequence>
|
|
<xs:element name="mailhost" type="tns:connection"/>
|
|
<xs:element name="from" type="xs:string"/>
|
|
<xs:element name="to" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="subject" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="message" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="sendMailSimpleResponse">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="sendMail">
|
|
<xs:sequence>
|
|
<xs:element name="mailhost" type="tns:connection"/>
|
|
<xs:element name="from" type="xs:string"/>
|
|
<xs:element name="to" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="cc" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="bcc" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="subject" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="mimetype" type="tns:mailMimeType"/>
|
|
<xs:element minOccurs="0" name="charset" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="message" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="attachments" type="tns:FileSetType"/>
|
|
<xs:element name="useSSL" type="xs:boolean"/>
|
|
<xs:element name="useStartTLS" type="xs:boolean"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="sendMailResponse">
|
|
<xs:sequence>
|
|
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:simpleType name="resourcetype">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="FILES"/>
|
|
<xs:enumeration value="ZIP"/>
|
|
<xs:enumeration value="TAR"/>
|
|
<xs:enumeration value="GZTAR"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:simpleType name="mailMimeType">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="text/plain"/>
|
|
<xs:enumeration value="text/html"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:schema>
|
|
</wsdl:types>
|
|
<wsdl:message name="sendMailResponse">
|
|
<wsdl:part element="tns:sendMailResponse" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="sendMailSimple">
|
|
<wsdl:part element="tns:sendMailSimple" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="sendMailSimpleWithAttachment">
|
|
<wsdl:part element="tns:sendMailSimpleWithAttachment" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="sendMail">
|
|
<wsdl:part element="tns:sendMail" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="sendMailSimpleResponse">
|
|
<wsdl:part element="tns:sendMailSimpleResponse" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:message name="sendMailSimpleWithAttachmentResponse">
|
|
<wsdl:part element="tns:sendMailSimpleWithAttachmentResponse" name="parameters"></wsdl:part>
|
|
</wsdl:message>
|
|
<wsdl:portType name="MailService">
|
|
<wsdl:documentation>Various mail service operations.</wsdl:documentation>
|
|
<wsdl:operation name="sendMailSimpleWithAttachment">
|
|
<wsdl:documentation>Send an email with attachment (simple).</wsdl:documentation>
|
|
<wsdl:input message="tns:sendMailSimpleWithAttachment" name="sendMailSimpleWithAttachment"></wsdl:input>
|
|
<wsdl:output message="tns:sendMailSimpleWithAttachmentResponse" name="sendMailSimpleWithAttachmentResponse"></wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="sendMailSimple">
|
|
<wsdl:documentation>Send an email (simple).</wsdl:documentation>
|
|
<wsdl:input message="tns:sendMailSimple" name="sendMailSimple"></wsdl:input>
|
|
<wsdl:output message="tns:sendMailSimpleResponse" name="sendMailSimpleResponse"></wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="sendMail">
|
|
<wsdl:documentation>Send an email (advanced).</wsdl:documentation>
|
|
<wsdl:input message="tns:sendMail" name="sendMail"></wsdl:input>
|
|
<wsdl:output message="tns:sendMailResponse" name="sendMailResponse"></wsdl:output>
|
|
</wsdl:operation>
|
|
</wsdl:portType>
|
|
<wsdl:binding name="MailServiceSoapBinding" type="tns:MailService">
|
|
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
<wsdl:operation name="sendMailSimpleWithAttachment">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="sendMailSimpleWithAttachment">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="sendMailSimpleWithAttachmentResponse">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="sendMailSimple">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="sendMailSimple">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="sendMailSimpleResponse">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="sendMail">
|
|
<soap:operation soapAction="" style="document"/>
|
|
<wsdl:input name="sendMail">
|
|
<soap:body use="literal"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="sendMailResponse">
|
|
<soap:body use="literal"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
</wsdl:binding>
|
|
<wsdl:service name="MailService">
|
|
<wsdl:port binding="tns:MailServiceSoapBinding" name="MailServiceImplPort">
|
|
<soap:address location="http://localhost:8080/XServices/MailService"/>
|
|
</wsdl:port>
|
|
</wsdl:service>
|
|
</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>http://localhost:8080/XServices/MailService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="sendMail" bindingOperationName="sendMail" type="Request-Response" outputName="sendMailResponse" inputName="sendMail" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="cac0b3c0-9ae5-4e59-a134-2df61f634491"><con:settings/><con:call name="Request 1" id="38a40fc8-c86d-4572-8a59-c56085efad0c"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MailService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<ws:sendMail>
|
|
<mailhost>
|
|
<hostname>?</hostname>
|
|
<port>?</port>
|
|
<!--Optional:-->
|
|
<user>?</user>
|
|
<!--Optional:-->
|
|
<password>?</password>
|
|
</mailhost>
|
|
<from>?</from>
|
|
<to>?</to>
|
|
<!--Optional:-->
|
|
<cc>?</cc>
|
|
<!--Optional:-->
|
|
<bcc>?</bcc>
|
|
<!--Optional:-->
|
|
<subject>?</subject>
|
|
<!--Optional:-->
|
|
<mimetype>?</mimetype>
|
|
<!--Optional:-->
|
|
<charset>?</charset>
|
|
<!--Optional:-->
|
|
<message>?</message>
|
|
<!--Optional:-->
|
|
<attachments>
|
|
<FileSetType>FILES</FileSetType>
|
|
<source>?</source>
|
|
<filter>
|
|
<!--Zero or more repetitions:-->
|
|
<include>**/*</include>
|
|
<!--Zero or more repetitions:-->
|
|
<exclude>?</exclude>
|
|
<!--Optional:-->
|
|
<selector>
|
|
<!--Zero or more repetitions:-->
|
|
<contains>
|
|
<text>?</text>
|
|
<casesensitive>true</casesensitive>
|
|
<ignorewhitespace>false</ignorewhitespace>
|
|
</contains>
|
|
</selector>
|
|
</filter>
|
|
<!--Optional:-->
|
|
<excludes/>
|
|
<casesensitive>true</casesensitive>
|
|
</attachments>
|
|
<useSSL>?</useSSL>
|
|
<useStartTLS>?</useStartTLS>
|
|
</ws:sendMail>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MailService/sendMail"/></con:call></con:operation><con:operation isOneWay="false" action="" name="sendMailSimple" bindingOperationName="sendMailSimple" type="Request-Response" outputName="sendMailSimpleResponse" inputName="sendMailSimple" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="1a3dcf8e-725e-4aac-a41e-7df95ced24dc"><con:settings/><con:call name="Request 1" id="dc9db9de-1633-4bdf-9ce2-96dc4bd2b30f"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MailService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<ws:sendMailSimple>
|
|
<mailhost>
|
|
<hostname>?</hostname>
|
|
<port>?</port>
|
|
<!--Optional:-->
|
|
<user>?</user>
|
|
<!--Optional:-->
|
|
<password>?</password>
|
|
</mailhost>
|
|
<from>?</from>
|
|
<to>?</to>
|
|
<!--Optional:-->
|
|
<subject>?</subject>
|
|
<!--Optional:-->
|
|
<message>?</message>
|
|
</ws:sendMailSimple>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MailService/sendMailSimple"/></con:call></con:operation><con:operation isOneWay="false" action="" name="sendMailSimpleWithAttachment" bindingOperationName="sendMailSimpleWithAttachment" type="Request-Response" outputName="sendMailSimpleWithAttachmentResponse" inputName="sendMailSimpleWithAttachment" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="5c8fb520-d4a1-49e8-b005-5b27e68dde4f"><con:settings/><con:call name="Request 1" id="d0503ff1-dfba-4740-9be3-c3aa68078232"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MailService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">\r
|
|
<soapenv:Header/>\r
|
|
<soapenv:Body>\r
|
|
<ws:sendMailSimpleWithAttachment>\r
|
|
<mailhost>\r
|
|
<hostname>mail.brutex.net</hostname>\r
|
|
<port>25</port>\r
|
|
<!--Optional:-->\r
|
|
<user>serena@brutex.de</user>\r
|
|
<!--Optional:-->\r
|
|
<password>serexxxxx</password>\r
|
|
</mailhost>\r
|
|
<from>brosenberger@serena.com</from>\r
|
|
<to>bru@brutex.de</to>\r
|
|
<!--Optional:-->\r
|
|
<subject>Testmail mit Anhang</subject>\r
|
|
<!--Optional:-->\r
|
|
<message>Hier sind die Dateien</message>\r
|
|
<!--Optional:-->\r
|
|
<attachments>\r
|
|
<FileSetType>FILES</FileSetType>\r
|
|
<source>c://temp/</source>\r
|
|
<filter>\r
|
|
<!--Zero or more repetitions:-->\r
|
|
<include>**/*.txt</include>\r
|
|
</filter>\r
|
|
<!--Optional:-->\r
|
|
<excludes/>\r
|
|
<casesensitive>true</casesensitive>\r
|
|
</attachments>\r
|
|
</ws:sendMailSimpleWithAttachment>\r
|
|
</soapenv:Body>\r
|
|
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MailService/sendMailSimpleWithAttachment"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/><con:oAuth2ProfileContainer/></con:soapui-project> |