I have a requirement as below:
I have a PHP Web Application with ability to connect to any DB with PDO.
I have a report generating script that will give me the report data in XML
Using the XSD from XML as Data Source, i have to define a Crystal report RPT file.
I have to call this RPT in runtime dynamically, during which the PHP Script will generate the XML document from DB and using this XML as Input to my RPT, the rendered report should be sent to the users browser.
I have googled to address this using PHP-COM but could not find what i exactly want..
Expose the XML/XSD documents via a RESTful web service; the web service will be responsible for querying the database and creating the XML file. The XSD should be a one-time effort.
Manually create a RPT that references the web service's URL.
Publish your report as a web service: How Do I Work with Crystal Reports as Web Services?
Interact with CRWS using your PHP application.
Related
I am trying to add a PHP webservice in my C# application but getting error as below
The HTML document does not contain Web service discovery information.
The webservice using is from a 3rd party. and the link as below.
http://mobile.mycomp.ae/ver_4_0/services/NetworkSearch.php?wsdl
I tried to make script that editing google spreadsheets. But documentation it's not enough to understand how exactly work API. I made registration in API Manager and I downloaded the json file. Could you give me some examples how I can edit document in google drive? Thanks
You can use Google Realtime API, it provides collaboration as a service for files in Google Drive via the use of operational transforms. The API is a JavaScript library hosted by Google that provides collaborative objects, events, and methods for creating collaborative applications.
Realtime API data model may change as a result of edits that were made by someone other than the current user. Realtime data models are "eventually consistent." That means that if all collaborators stop editing, eventually everyone will see the same data model.
Applications where multiple people need to edit the same data simultaneously. Document editors are excellent examples of this kind of application. The Realtime API handles all aspects of data transmission, storage, and conflict resolution when multiple users are editing a file.
For scripting, use Class DocumentApp, the document service creates and opens Documents that can be edited. Documents may be opened or created using DocumentApp.
// Open a document by ID.
var doc = DocumentApp.openById('DOCUMENT_ID_GOES_HERE');
// Create and open a document.
doc = DocumentApp.create('Document Name');
Here's a documentation how to update drive files: https://developers.google.com/drive/v2/reference/files/update
I am attempting to make an iPad application that is a front end for an open source web application written almost exclusively in PHP. How can I access the data from the PHP? The only way I could think of is editing the PHP to encode the arrays and info in JSON then get that in the application, however this would not be very portable as the web application would have be changed.
The web application is called phpvirtualbox and the source code is available here.
Is there any way to convert JAX-RPC to JAX-WS web service. The issue is we need to generate a client of this PHP based web service in java. The web service is written in PHP in RPC style, and when java team try to generate the client it get error "Selected wsdl is rpc encoded. You must select JAX-RPC Client" so we are requested to change the encoding style from RPC to WS can any one help in this regard
EDIT
Here is a plugin for netbeans that allow user to generate java based jax-rcp client. but as pre client requirement we need to change the web service. That is why need that.
Thanks in advance.
I have a mysql database with informations about users. Now I want to work with them in my iPhone app. Is there a way to bring the stuff from mysql to objective-c?
It's not an option to use the mysql c api because my web server just allows php.
Greekings, Valle.
Your question is not very clear but maybe this can help:
You can serve the information from your database with PHP (some XML or JSON can be useful) and then parse it on your iPhone App.
Or you can export your database and convert it to SQLite and use it directly on your iPhone.
With a bit more information maybe we can give you a better answer.
It sounds like you want to create an Application Programming Interface (API), in PHP on the web server that your Objective-C program will talk to using the devices internet connection.
Effectively you want to create special url's and request parameters your web server will use to pull database information, parse them into JSON or XML, and return them as plain text.
Inside your Objective-C application you will craft these URL's and parse the incoming JSON or XML into actionable data for your app.
Well, I don't think you explained your problem very well. Shared web hosting solutions usually don't offer access to MySQL servers from outside, it means you can access only from their servers (like PHP scripts on your hosting).
Solution to this is usually simple web service - REST, XML-RPC, SOAP.
Web service is some application that can be written in PHP and is running on your web hosting. This application returns data (usually in XML or JSON) via specific URL.
Example:
From your native iPhone you call
http://yourserver.com/webservice/?what=episode-list&tvshow=battlestar-galactica
and output will be XML with list of episodes.