Re: [PHP] Fun with SOAP.



I'm not sure how it looks etc with with soapui but I noticed you
mentioning you don't want to mess with nusoap. I've used nusoap for
both client and server uses for years and I'm really impressed with how
easily it works. Using $soapInstance->request and
$soapInstance->response the xml is displayed where you can see how it
was created based on the array you fed the instance before sending for
your message. It makes troubleshooting much easier for me.

That being said I don't send attachments. However just doing a quick
google on "nusoap attachments" (without the quotes) has mention of
people sending MIME attachments and one listing an issue with DIME
encoded attachments yet another explaining that he solved the DIME
encoded issue and referred to "wrox book open source webservices page
315" which is an on-line book.

Sorry no quick silver bullet, but I would highly recommend looking at
nusoap if only as a test.

Larry

On Wed, 2008-04-30 at 08:21 -0400, Eric Butera wrote:
On Wed, Apr 30, 2008 at 7:35 AM, Eric Butera <eric.butera@xxxxxxxxx> wrote:
On Tue, Apr 29, 2008 at 5:07 PM, Nathan Nobbe <quickshiftin@xxxxxxxxx> wrote:
> i know this has nothing to do w/ getting it to work w/ php, eric, but have
> you tried hitting the service w/ soap ui?
> http://www.soapui.org/
>
> although its written in java, its an indispensable testing tool, imho, and i
> always give it a shot when im having soap troubles. i might try to see if
> you can get a successful response from the service w/ it.
>
> -nathan

Hi Nathan!

Thanks for the reply. I'm download it as we speak. Hopefully it'll
give me some sort of answer as to what is going on. I really haven't
found out enough about the SOAP "standard" enough to know what is
expected behavior, etc. I know I can see all of the raw data there,
just ext/soap doesn't seem to like the multi-part. Maybe soapUI will
give me some sort of answer for this.


After using soapUI I've determined that the SOAP response gives back
an envelope and has one attachment. Does anyone know if the SOAP
extension can handle attachments? I'd really rather not mess around
with nusoap or the pear soap package. I don't see anywhere on the
manual where it is possible to download attachments. Hopefully
someone else has dealt with this before.

--
Larry Brown <larry.brown@xxxxxxxxxxxxxxxxxxxxx>

.



Relevant Pages

  • Re: [PHP] Fun with SOAP.
    ... mentioning you don't want to mess with nusoap. ... That being said I don't send attachments. ... we request a report and get a response. ... soapUI shows me the ...
    (php.general)
  • Re: [PHP] Fun with SOAP.
    ... > always give it a shot when im having soap troubles. ... give me some sort of answer as to what is going on. ... After using soapUI I've determined that the SOAP response gives back ... manual where it is possible to download attachments. ...
    (php.general)
  • Re: [PHP] PHP and SOAP calls
    ... I have been using nusoap to development a client that makes SOAP calls ... So I have read that PEAR also has a package that makes SOAP calls ... Now Im running PHP 4.4xxx and I need to get this up and running ASAP. ... I've used nuSoap, and I think I used PEAR::SOAP once. ...
    (php.general)
  • Re: [PHP] PHP and SOAP calls
    ... I have been using nusoap to development a client that makes SOAP calls ... So I have read that PEAR also has a package that makes SOAP calls ... Now Im running PHP 4.4xxx and I need to get this up and running ASAP. ... I've used nuSoap, and I think I used PEAR::SOAP once. ...
    (php.general)
  • Re: [PHP] Is SOAP not really enabled?
    ... in PHP4 you may want to go with one of two routes: ... AFAIK Pear Soap was used as a basis for the native C extension, ... the native SOAP stuff in PHP5. ... I do prefer NuSOAP though, ...
    (php.general)