I'm trying to create an speech reconigtion based web. Afer some searching, i found that cmusphinx is a library quite good for speech reconigtion application. And my problem is how can communicate between cmusphinx and web ?
Sorry if this is a silly question.
Thanks for all your help !
In general, you need a web framework to marshal web requests to the Java or C code, then you just need to implement required speech-to-text methods with CMUSphinx API.
Here is the JAX-RS tutorial:
http://docs.oracle.com/javaee/6/tutorial/doc/giepu.html
There are also more lightweight web service framework, for example Sinatra for Ruby.
You can also study existing implementations of web service using CMUSphinx, for example
https://github.com/alumae/ruby-pocketsphinx-server
Read more about it here.
Related
I have been searching a good tutorial and resource to brush up SOAP web services knowledge. Even though there are lots of resources I found none of them truly solid to grab the main knowledge. Especially in Java, there are multiple approaches to do the same thing. I want to know what are the main advantages on choosing one approach to another, and where to decided to choose one to another. I appreciate if someone can share their experience on learning web services, specifically SOAP. If you have REST knowledge or if you can share a good valid resource, that would be useful for future reads. Any key reads and/or well covered tutorial will be helpful. Thanks!
Yes, SOAP java knowledge is very scattered and that's one of the reasons why Java EE 6 Web Services Developer Certified Expert is so hard.
You can start with the Oracle official webservices tutorial.
There are also good online resources.
You would also have to read some old books and the SOAP specs.
Also some good youtube videos.
Try blogs.
Books:
Java and SOAP. Building Web Services in Java
Java Web Services: Up and Running, 2nd Edition
In Laravel 4 framework, how to create a SOAP based web service. I would like to build a SOA based web application in laravel. Please clarify with an example how to use web service with some step by step examples or links as i am completely new to laravel
Thanks in advance..
You can use "php-wsdl-creator" (also supports SOAP). They have a great tutorial and many demo php files to get you started. It can also easily be implemented in laravel or any other framework for that matter. :)
You can find more information on Google Code: https://code.google.com/p/php-wsdl-creator/
Also note that SOAP requires an extension to be loaded in PHP.
For more recent needs, you should use a Project such as wsdl2phpgenerator or PackageGenerator from WsdlToPhp. This sort of projects, requirable with composer, use an OOP approach and allows to build a SOAP request easily with PHP objects then handle the response just as the request with PHP objects.
I am currently moved to a new project dealing with liferay. I have been also assigned with a new task of developing a web service using REST api in liferay portlet(i.e. to create a new plugin). I did a google search of "Calling liferay portlet as web service with REST API", I got some theory stuffs but not any sample code. I am new to this liferay stuff and my awareness regarding this is very limited. I have a very limited deadline on this.
Any pointers or sample code or tutorials on this are highly appreciable. Please help.
After a long hours on the internet I found the answer to be very crisply written(follow the link below) with some code samples and apt explanations. I found this useful. When I am done with my complete code I will also post that for everyone's benefit :)
https://liferay.dev/blogs/-/blogs/integrate-jersey-restful-with-portlet-project
I've had nothing but problems using libraries that claim to simplify consuming SOAP Web Services. I've been using KSoap2 on the Blackberry to accomplish this, but I'm not liking the process at all.
On Android I manually created my envelopes with much success, I ended up doing the same on iPhone after much disappointment using SudzC.
I would like to do this for Blackberry as well. What classes should I use and how should I structure the envelope?
Thanks a lot.
See this article on the use of the Java Wireless Toolkit to create your coded stubs from your wsdl. It will save you a lot of time (and pain). I based my SOAP web service code on this article, and it worked well for me.
http://www.johnwargo.com/index.php/blackberry/dbja2.html
I'm consuming REST services that output XML documents, and we're doing all XML processing with the DOM libraries provided by RIM (using classes like net.rim.device.api.xml.parsers.DocumentBuilder and net.rim.device.api.xml.parsers.DocumentBuilderFactory).
The HTTP part can be done Java ME IO support (with javax.microedition.io.HttpConnection). Making your own SOAP WS client sounds like a lot of work, but it can certainly be done.
Can anyone point me to some decent introductions to WS-Security?
I'm looking for tutorials or something that provide a fairly gentle introduction to the subject, though I don't mind if it assumes basic knowledge of web services and SOAP. Most of the stuff I've seen so far is very technical and you need a lot of complex, detailed background knowledge to understand it properly.
We have to implement a web service in PHP and one or more clients in .NET, so resources covering both would be much appreciated.
I think the best introduction to the (any) subject are some good examples.
This article at codeProject gives a fairly easy to follow guide trough web service security for a .NET application.
I had to give myself a crash course in WS-Security a few months back, here are a few links that I found helpful:
http://www.ibm.com/developerworks/webservices/library/ws-security.html
http://www.devx.com/security/Article/15634
http://www.devx.com/Java/Article/28816
Check Kirk Evans' blog as it deals with the .NET Framework 2.0+ instead of the old .NET Framework 1.0 linked by Sven.
The implementation on Evans' blog is backwards compatible with clients running .NET Frameowrk 1.0.
You can find some good article on WS-Security and Apache Rampart - the open source WS-Security implementation - in WSO2 Online Library.
WSO2 WSF/PHP is a PHP Web services extension that has support for WS-Security and also interops with .NET Web services/clients seamlessly.