On Wed, Apr 30, 2008 at 3:53 PM, Larry Brown <larry.brown@xxxxxxxxxxxxxxxxxxxxx> wrote: > 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. Hi Larry, I am receiving a multipart mime attachment from Amazon. The idea is we request a report and get a response. This response differs from any other response I have seen in that it is multipart. I searched all over the place for a way to get it to work correctly. The soapUI program is the only one so far that has been able to show me that I get a proper return value that can be parsed. soapUI shows me the envelope XML and then has a button on the bottom that says there is an attachment that I can save to a file. So from this I know that it is possible to handle this type of request "correctly." I just haven't been able to find any real examples on how to use it. I wanted to keep everything using ext/soap since it is c code and very fast. Plus there are other parts of this program already utilizing it. So far I have my backup plan working using curl, a regex, and simplexml. ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php