Can any one guide me how to enable web services in redmine, specially XML RPC. And a proper way to implement such web service in redmine.
Thanks.
Parthiv
The REST API appears to have been integrated into the trunk a couple of days ago:
http://www.redmine.org/projects/redmine/repository/revisions/3310
http://www.redmine.org/projects/redmine/repository/revisions/3313
Check out Redmine's documentation, with links as to how to use the interface in Ruby and PHP:
http://www.redmine.org/wiki/redmine/Rest_api
However, I think there's only a REST web service interface now, no SOAP nor XML-RPC.
Related
I'm developing an iOS client for a WordPress blog. Currently I am in the process of figuring out which REST API to interface with. It seems that these are the two main options:
https://developer.wordpress.com/docs/api/
http://v2.wp-api.org/
Has anyone who's built a WordPress client before have any insight on this?
Don't be confused, wordpress.org and wordpress.com are completely different organizations.
wordpress.com offers its own version of WordPress with custom features and API.
So if you host your site on wordpress.com, use their API. If your site is a self-hosted site, use WP REST API plugin.
The REST API has been added to the core in Wordpress 4.7, so if you update WP to the latest version, you don't need to install the WP REST API plugin.
The documentation can be found here now: https://developer.wordpress.org/rest-api/
Can anyone Plese help me regarding the Quickbook API integration
I have downloaded SDK from
https://majorapi.com/developers/quickbooks/sdk/php
I have installed it and configured the keys.
I've got some db tables when executing the Quickbook.php file.
I'm stuck there, can anyone please help me further.
If you're building a SaaS app (allowing other people to connect their QuickBooks companies to your app):
If you're building for QuickBooks ONLINE:
Instead of using that lib, use the QuickBooks PHP DevKit that's available on GitHub. It's open-source and well supported, and works fine with OAuth and v3.
You can follow the QuickBooks PHP IPP v3 Quick-Start Guide to get started. You'll go through a similar process to what you went through above, where you'll find in your own OAuth token/secret and app token in the configuration, and then you'll be able to connect to QuickBooks.
From there, you'll find several example scripts:
https://github.com/consolibyte/quickbooks-php/blob/master/docs/example_app_ipp_v3/
If you're building something else (something internal or for use only by a single company):
If you're building for QuickBooks for WINDOWS:
Here is a PHP QuickBooks Library which does exactly what you want to do.
You should follow the QuickBooks PHP Web Connector quick-start guide to get started. You'll want to architect your application so that your PHP script can receive the data, store it temporarily in a database (MySQL, etc.) and then the Web Connector can pick up the data destined for QuickBooks from there.
The Web Connector is a little different than a standard web service in that it works in a sort of backwards manner - the Web Connector will call out to your PHP web service vs. you calling out to it.
There's a overview of how the Web Connector works over here.
You should refer to these scripts (as the quick-start guide does above):
https://github.com/consolibyte/quickbooks-php/tree/master/docs/example_app_web_connector
Is it possible to write soap based web services using ruby on rails framework. If yes, can someone please point to a learning resource
Yes, you can write SOAP web services using Rails, However Rails is moving in favour of a REST web service approach. So my personal opinion is if you are starting a brand new Rails app with SOAP web services, consider some other programming language like JAVA, because that has more tools to easily create SOAP web services.
But nowadays all the webservices going towards REST, because of the simplicity it has. Almost all major sites has a REST API.
Furthermore if you are still planning to go ahead with Rails, savon is an interesting gem that you should probably look at.
I developed a web site using rails 2.3.8, and a IM server using openfire(java). I want to share some data between them, or exactly rails as provider, openfire as consumer. A possible way is using web service. But it seems that rails 2.x has deprecated the default SOAP support, I installed the gem activewebservice, but there is lack of documents to show how to using it. I googled an example in IBM's site, but there seems something wrong to follow this guide in rails 2.3.8. Can anyone give me an example?
I know there is another way to provide the web service is using rails' default RESTful-type web service, but how to configure the java side to support this?
Rails has support for RESTful web-services OOTB, so if you have developed your rails application using scaffold generator then your application is already providing a RESTful API. Now as your IM server is the consumer, all you have to do is to make your IM server call the RESTful API provided by the rails application.
Calling RESTful API means sending HTTP (GET/POST/PUT/DELETE) requests to the REST server(Rails App). So all you need to do, is plugin some java code to the openfire server which will send the HTTP requests adhering to the REST conventions and send/receive data in a suitable serialization format(XML/JSON/etc). There is a plugin mechanism in openfire which which probably may help you achieve this.
As far as RESTful calls are concerned, this can be achieved in any of the below methods:
Use a REST Client library provided by JAX-RS implementations like Jersey, Apache wink, etc.
Use any HTTP client library to send/receive HTTP requests/response and a XML/JSON/etc library to serialize/de-serialize the data.
I want Spring Webservice program in details. I have visited many websites , no website is providing me in proper. I want that program to be detailed and clear explained. It is better if you use any one of the Netbeans of Eclipse Ganymade IDE's
Please look at a very simplified post on how to build web services using Spring-WS[Title: Building a web service with Spring-WS] at
http://justcompiled.blogspot.com/2010/09/building-web-service-with-spring-ws.html