File: B1Impl.java

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (68 lines) | stat: -rw-r--r-- 2,235 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/**
 * B1Impl.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package test.wsdl.attachments;

import javax.mail.MessagingException;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMultipart;

public class B1Impl implements test.wsdl.attachments.Pt1 {

    private MimeMultipart createMimeMultipart(String data) throws MessagingException {
        // create the root multipart
        MimeMultipart mpRoot = new MimeMultipart("mixed");
        
        // Add text
        MimeBodyPart mbp1 = new MimeBodyPart();
        mbp1.setText(data);
        mpRoot.addBodyPart(mbp1);
        return mpRoot;
    }

    public java.lang.String getCompanyInfo2(float result, java.lang.String docs, java.awt.Image logo) throws java.rmi.RemoteException {
        return docs;
    }

    public void inputPlainText(java.lang.String body) throws java.rmi.RemoteException {
    }

    public java.lang.String inoutPlainText(java.lang.String body) throws java.rmi.RemoteException {
        return body;
    }

    public java.lang.String echoPlainText(java.lang.String body) throws java.rmi.RemoteException {
        return body;
    }

    public java.lang.String outputPlainText() throws java.rmi.RemoteException {
        return "OutputPlainText";
    }

    public void inputMimeMultipart(javax.mail.internet.MimeMultipart body) throws java.rmi.RemoteException {
    }

    public javax.mail.internet.MimeMultipart inoutMimeMultipart(javax.mail.internet.MimeMultipart body) throws java.rmi.RemoteException {
        return body;
    }

    public javax.mail.internet.MimeMultipart echoMimeMultipart(javax.mail.internet.MimeMultipart body) throws java.rmi.RemoteException {
        return body;
    }

    public javax.mail.internet.MimeMultipart outputMimeMultipart() throws java.rmi.RemoteException {
        try {
            return createMimeMultipart("outputMimeMultipart");
        } catch (MessagingException me) {
            throw new java.rmi.RemoteException(me.getMessage(), me);
        }
    }

    public org.apache.axis.attachments.OctetStream echoAttachment(org.apache.axis.attachments.OctetStream in) throws java.rmi.RemoteException {
        return in;
    }
}