<?xml version="1.0" encoding="UTF-8"?>
<java-wsdl-mapping version="1.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee    http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
  <package-mapping>
    <package-type>org.jboss.test.ws.jaxrpc.samples.swa</package-type>
    <namespaceURI>http://org.jboss.ws/samples/swa</namespaceURI>
  </package-mapping>
  <service-interface-mapping>
    <service-interface>org.jboss.test.ws.jaxrpc.samples.swa.Attachment_Service</service-interface>
    <wsdl-service-name xmlns:serviceNS="http://org.jboss.ws/samples/swa">serviceNS:Attachment</wsdl-service-name>
    <port-mapping>
      <port-name>AttachmentPort</port-name>
      <java-port-name>AttachmentPort</java-port-name>
    </port-mapping>
  </service-interface-mapping>
  <service-endpoint-interface-mapping>
    <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.swa.Attachment</service-endpoint-interface>
    <wsdl-port-type xmlns:portTypeNS="http://org.jboss.ws/samples/swa">portTypeNS:Attachment</wsdl-port-type>
    <wsdl-binding xmlns:bindingNS="http://org.jboss.ws/samples/swa">bindingNS:AttachmentBinding</wsdl-binding>
    <service-endpoint-method-mapping>
      <java-method-name>sendMimeImageGIF</java-method-name>
      <wsdl-operation>sendMimeImageGIF</wsdl-operation>
      <method-param-parts-mapping>
        <param-position>0</param-position>
        <param-type>java.lang.String</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageGIF</wsdl-message>
          <wsdl-message-part-name>message</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <method-param-parts-mapping>
        <param-position>1</param-position>
        <param-type>java.awt.Image</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageGIF</wsdl-message>
          <wsdl-message-part-name>mimepart</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <wsdl-return-value-mapping>
        <method-return-value>java.lang.String</method-return-value>
        <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageGIFResponse</wsdl-message>
        <wsdl-message-part-name>result</wsdl-message-part-name>
      </wsdl-return-value-mapping>
    </service-endpoint-method-mapping>
    <service-endpoint-method-mapping>
      <java-method-name>sendMimeImageJPEG</java-method-name>
      <wsdl-operation>sendMimeImageJPEG</wsdl-operation>
      <method-param-parts-mapping>
        <param-position>0</param-position>
        <param-type>java.lang.String</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageJPEG</wsdl-message>
          <wsdl-message-part-name>message</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <method-param-parts-mapping>
        <param-position>1</param-position>
        <param-type>java.awt.Image</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageJPEG</wsdl-message>
          <wsdl-message-part-name>mimepart</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <wsdl-return-value-mapping>
        <method-return-value>java.lang.String</method-return-value>
        <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageJPEGResponse</wsdl-message>
        <wsdl-message-part-name>result</wsdl-message-part-name>
      </wsdl-return-value-mapping>
    </service-endpoint-method-mapping>
    <service-endpoint-method-mapping>
      <java-method-name>sendMimeTextPlain</java-method-name>
      <wsdl-operation>sendMimeTextPlain</wsdl-operation>
      <method-param-parts-mapping>
        <param-position>0</param-position>
        <param-type>java.lang.String</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextPlain</wsdl-message>
          <wsdl-message-part-name>message</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <method-param-parts-mapping>
        <param-position>1</param-position>
        <param-type>java.lang.String</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextPlain</wsdl-message>
          <wsdl-message-part-name>mimepart</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <wsdl-return-value-mapping>
        <method-return-value>java.lang.String</method-return-value>
        <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextPlainResponse</wsdl-message>
        <wsdl-message-part-name>result</wsdl-message-part-name>
      </wsdl-return-value-mapping>
    </service-endpoint-method-mapping>
    <service-endpoint-method-mapping>
      <java-method-name>sendMimeMultipart</java-method-name>
      <wsdl-operation>sendMimeMultipart</wsdl-operation>
      <method-param-parts-mapping>
        <param-position>0</param-position>
        <param-type>java.lang.String</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeMultipart</wsdl-message>
          <wsdl-message-part-name>message</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <method-param-parts-mapping>
        <param-position>1</param-position>
        <param-type>javax.mail.internet.MimeMultipart</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeMultipart</wsdl-message>
          <wsdl-message-part-name>mimepart</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <wsdl-return-value-mapping>
        <method-return-value>java.lang.String</method-return-value>
        <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeMultipartResponse</wsdl-message>
        <wsdl-message-part-name>result</wsdl-message-part-name>
      </wsdl-return-value-mapping>
    </service-endpoint-method-mapping>
    <service-endpoint-method-mapping>
      <java-method-name>sendMimeTextXML</java-method-name>
      <wsdl-operation>sendMimeTextXML</wsdl-operation>
      <method-param-parts-mapping>
        <param-position>0</param-position>
        <param-type>java.lang.String</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextXML</wsdl-message>
          <wsdl-message-part-name>message</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <method-param-parts-mapping>
        <param-position>1</param-position>
        <param-type>javax.xml.transform.Source</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextXML</wsdl-message>
          <wsdl-message-part-name>mimepart</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <wsdl-return-value-mapping>
        <method-return-value>java.lang.String</method-return-value>
        <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextXMLResponse</wsdl-message>
        <wsdl-message-part-name>result</wsdl-message-part-name>
      </wsdl-return-value-mapping>
    </service-endpoint-method-mapping>
    <service-endpoint-method-mapping>
      <java-method-name>sendMimeApplicationXML</java-method-name>
      <wsdl-operation>sendMimeApplicationXML</wsdl-operation>
      <method-param-parts-mapping>
        <param-position>0</param-position>
        <param-type>java.lang.String</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeApplicationXML</wsdl-message>
          <wsdl-message-part-name>message</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <method-param-parts-mapping>
        <param-position>1</param-position>
        <param-type>javax.xml.transform.Source</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeApplicationXML</wsdl-message>
          <wsdl-message-part-name>mimepart</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <wsdl-return-value-mapping>
        <method-return-value>java.lang.String</method-return-value>
        <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeApplicationXMLResponse</wsdl-message>
        <wsdl-message-part-name>result</wsdl-message-part-name>
      </wsdl-return-value-mapping>
    </service-endpoint-method-mapping>
  </service-endpoint-interface-mapping>
</java-wsdl-mapping>
