Hi there,
Your making things more difficult than they have to be. You dont have to request the report in zip format, you can get it as raw XML data. My client is written in VB, but im sure this will help.
Before you request the report you create a fileformat object:
Dim fileoutputformat As New BasicReportService.FileOutputFormat
fileoutputformat.fileOutputType = BasicReportService.FileOutputType.XML
fileoutputformat.fileOutputTypeSpecified = True (Here you are saying no zip please just XML)
fileoutputformat.zippedSpecified = False
Now when you check ont he status of the report you pass it in as follows:
downloadurl = reportobject.getReportOutputUrl(report.reportID, fileoutputformat) (Request your report in XML, no zip etc)
Hope that helps, I'll let you "php-ize" the above ;)
Justin
To: yws-searchmarketing
yahoogroups.com
From: dermotdonegan
yahoo.com
Date: Thu, 30 Aug 2007 13:55:02 +0000
Subject: [yws-searchmarketing] Re: Get report from url returned by getReportOutputUrl
How do you read the file into a HTTP response stream? What do you use
in C#? If possible could you paste you code here and i will try
convert to PHP.
Thaanks
Dermot
Get the ultimate real-time chat experience - Windows Live Messenger! Windows Live Messenger
.