NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP5 SOAP Extension with Attachments

Adam Maccabee Trachtenberg adam at trachtenberg.com
Mon Jul 12 18:02:06 EDT 2004


On Mon, 12 Jul 2004, Brian Kaney wrote:

> Wondering if anyone has used the SOAP extensions found in PHP5 or the
> PEAR libraries to work with multipart SOAP messages
> (http://www.w3.org/TR/SOAP-attachments)?

IIRC, the PHP 5 version of PEAR SOAP supports
attachments. Unfortunately, my copy of "Essential PHP Tools" by David Sklar
is packed in 1 of 20 book boxes that have just arrived at my SF
apartment. It's by far the best documentation of the PEAR SOAP
extension I've ever seen. (Even if it is a little overwhelming, it
covers more topics than any place else.)

I don't know about ext/soap, but I'd be interested in finding out. I
am trying to get the eBay WSDL to work with ext/soap, but I'm having
problems.

-adam

-- 
adam at trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!

>From hans not junk at nyphp.com  Mon Jul 12 18:16:04 2004
Return-Path: <hans not junk at nyphp.com>
Received: from smtp11.intermedia.net (smtp11.intermedia.net [64.78.21.10])
	by virtu.nyphp.org (Postfix) with ESMTP id 71A41A85EA
	for <talk at lists.nyphp.org>; Mon, 12 Jul 2004 18:16:04 -0400 (EDT)
Received: from ehost011-1.exch011.intermedia.net ([64.78.21.3]) by
	smtp11.intermedia.net with Microsoft SMTPSVC(6.0.3790.0); 
	Mon, 12 Jul 2004 15:07:29 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] PHP5 SOAP Extension with Attachments
Date: Mon, 12 Jul 2004 15:16:01 -0700
Message-ID: <41EE526EC2D3C74286415780D3BA9F870306C9E3 at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] PHP5 SOAP Extension with Attachments
Thread-Index: AcRoWpOsLGEQ0eFSSRKCw7evy2VocwAAmuaw
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-OriginalArrivalTime: 12 Jul 2004 22:07:29.0216 (UTC)
	FILETIME=[9F4D9C00:01C4685C]
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: NYPHP Talk <talk at lists.nyphp.org>
List-Id: NYPHP Talk <talk.lists.nyphp.org>
List-Unsubscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=unsubscribe>
List-Archive: <http://lists.nyphp.org/pipermail/talk>
List-Post: <mailto:talk at lists.nyphp.org>
List-Help: <mailto:talk-request at lists.nyphp.org?subject=help>
List-Subscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Jul 2004 22:16:04 -0000


> Wondering if anyone has used the SOAP extensions found in PHP5 or the
> PEAR libraries to work with multipart SOAP messages
> (http://www.w3.org/TR/SOAP-attachments)?
>=20
> We are seeing if there are suitable PHP libraries or if we should go
> with perl (i.e. SOAP::Lite).

In our March presentation (http://nyphp.org/content/presentations/ and
http://nyphp.org/content/presentations/paxi/) we talked just about this
topic.

At the end of the day, we decided not to go with PEAR for a couple of
key reasons:

-- speed; the overhead of PEAR coupled with the large amounts of data we
needed to frequently deal with, was prohibitive.  We got slammed with
quite a bit of traffic.

-- at the time, nothing supported *receiving* attachments (this could
have change since we did the project in Jan).  PEAR could create a SOAP
request with attachments, but couldn't parse it out.

In the end, we used pMIME which I had written for general MIME parsing,
which is all SOAP is.

H



More information about the talk mailing list