From willismicheal@example.org Sun Oct 02 16:08:26 2005
Return-Path: <willismicheal@example.org>
Delivered-To: willismicheal@example.org
Received: (qmail 99604 invoked from network); 2 Oct 2005 16:08:26 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 2 Oct 2005 16:08:26 -0000
Received: (qmail 75283 invoked by uid 500); 2 Oct 2005 16:08:25 -0000
Delivered-To: willismicheal@example.org
Received: (qmail 75177 invoked by uid 500); 2 Oct 2005 16:08:24 -0000
Mailing-List: contact willismicheal@example.org; run by ezmlm
Precedence: bulk
Reply-To: willismicheal@example.org
list-help: <mailto:willismicheal@example.org>
list-unsubscribe: <mailto:willismicheal@example.org>
List-Post: <mailto:willismicheal@example.org>
List-Id: <soap-dev.ws.apache.org>
Delivered-To: mailing list willismicheal@example.org
Received: (qmail 75166 invoked by uid 99); 2 Oct 2005 16:08:24 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 09:08:24 -0700
X-ASF-Spam-Status: No, hits=0.0 required=10.0
	tests=
X-Spam-Check-By: apache.org
Received-SPF: neutral (asf.osuosl.org: local policy)
Received: from [83.161.120.155] (HELO rwcrmhc12.comcast.net) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2005 09:08:28 -0700
Received: from northgate (pcp01349267pcs.lowmrn01.pa.comcast.net[83.161.120.155])
          by comcast.net (rwcrmhc14) with SMTP
          id <2005100216080101400b11r2e>; Sun, 2 Oct 2005 16:08:01 +0000
Message-ID: <00ce01c5c76b$c66345f0$6601a8c0@northgate>
From: "Scott Nichol" <willismicheal@example.org>
To: <willismicheal@example.org>
References: <W2579129683259851127925944@webmail4>
Subject: Re: SOAP attachment Question
Date: Sun, 2 Oct 2005 12:10:14 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

Please post Axis questions to willismicheal@example.org.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----=20
From: "Gabsaga Tata" <willismicheal@example.org>
To: <willismicheal@example.org>
Sent: Wednesday, September 28, 2005 12:45 PM
Subject: SOAP attachment Question


> Is it possible for a client application to get back data as MIME =
attachment from a web service?
> From the example code snippets below, the service successfully =
attaches a file to a SOAP message
> but when the client application tries to get the attachments count, it =
is zero. Any ideas why?
>=20
> Thanks.
>=20
> Gabsaga
>=20
>=20
> ********************************************************
> Code snippet for MyMessageService message-style service.
> ********************************************************
> MessageContext msgCntxt =3D MessageContext.getCurrentContext();
> SOAPMessage msg =3D msgCntxt.getMessage();
> DataHandler dataHander =3D new DataHandler(new =
FileDataSource("C:\\<tomcat_directory>\\webapps\\axis\\WEB-INF\\attachmen=
ts\\res_message.xml"));
> AttachmentPart attachment =3D msg.createAttachmentPart(dataHander);
> attachment.setContentId("attached_processed_file");
> msg.addAttachmentPart(attachment);
>=20
> ********************************************************
> Code snippet for Client application sending request to=20
> MyMessageService message-style service.
> ********************************************************
> SOAPConnection conn =3D =
SOAPConnectionFactory.newInstance().createConnection();
> SOAPMessage response =3D conn.call(message, =
"http://localhost/axis/services/MyMessageService");=20
>=20
>=20
> SOAPPart responseSp =3D response.getSOAPPart();
> SOAPEnvelope responseSe =3D responseSp.getEnvelope();
> SOAPBody responseBody =3D responseSe.getBody();
>=20
> //Get attached message
> if(!responseBody.hasFault())
> {
>  int numOfAttachments =3D response.countAttachments();
>  System.out.println("\n\nNumber of attachments in message =3D " + =
numOfAttachments);
> }
> ********************************************************
>=20
>=20
> 

From willismicheal@example.org Wed Oct 19 11:30:22 2005
Return-Path: <willismicheal@example.org>
Delivered-To: willismicheal@example.org
Received: (qmail 9497 invoked from network); 19 Oct 2005 11:30:22 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 19 Oct 2005 11:30:22 -0000
Received: (qmail 91238 invoked by uid 500); 19 Oct 2005 11:30:19 -0000
Delivered-To: willismicheal@example.org
Received: (qmail 91226 invoked by uid 500); 19 Oct 2005 11:30:19 -0000
Mailing-List: contact willismicheal@example.org; run by ezmlm
Precedence: bulk
Reply-To: willismicheal@example.org
list-help: <mailto:willismicheal@example.org>
list-unsubscribe: <mailto:willismicheal@example.org>
List-Post: <mailto:willismicheal@example.org>
List-Id: <soap-dev.ws.apache.org>
Delivered-To: mailing list willismicheal@example.org
Received: (qmail 91215 invoked by uid 99); 19 Oct 2005 11:30:18 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 04:30:18 -0700
X-ASF-Spam-Status: No, hits=-0.0 required=10.0
	tests=SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (asf.osuosl.org: domain of willismicheal@example.org designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO nproxy.gmail.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 04:30:17 -0700
Received: by nproxy.gmail.com with SMTP id q32so13155nfc
        for <willismicheal@example.org>; Wed, 19 Oct 2005 04:29:55 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=NfIll84TF1W1Bn8xTj0IItHKBBLBBuN+Uks/8IKImIwU+8qgQYkTCpcAnBbjc9FmxIFf1LG7hAw1oZot3D5v7C19BU4HsmVQ6azDPcbz2W3XJyj1oOEH8GrY1WvG5ku/Umbid7jaM8Nzgf3Wgkp7QjfnRWAareqF2taZ+En5ask=
Received: by 83.161.120.155 with SMTP id x12mr18985nfg;
        Wed, 19 Oct 2005 04:29:55 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Wed, 19 Oct 2005 04:29:55 -0700 (PDT)
Message-ID: <willismicheal@example.org>
Date: Wed, 19 Oct 2005 12:29:55 +0100
From: sebb <willismicheal@example.org>
To: willismicheal@example.org
Subject: Broken links on Soap website
In-Reply-To: <willismicheal@example.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <willismicheal@example.org>
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

On the page:

http://ws.apache.org/soap/index.html

The documentation link points to

http://ws.apache.org/soap/docs/index.html

which does not exist.

There is also a Bugzilla link, but SOAP does not seem to be one of the
supported products, otherwise I would have used that to report the bad
link.

S.


{'source': 'Apache Software Foundation Public Mail Archives'}