JSON Response from VB .NET ASPX Page - web-services

I know there might be close answers around but I needed help on specific matter.
I have to create a web service that has to accept a URI like below:
serverip/?userID=15068866&serviceID=595&username=222&password=333&message=something
The response should also be in JSON format and the Service SHOULD be RESTful.
Since there is logic behind this service that has been developed by VB .NET, I have to develop this bit using VB .Net too.
If anyone can suggest a very basic tutorial (FOR VB .NET PLEASE NOT C#) or put me in a right direction that would be great.
thanks

This is a basic tutorial in VB.NET which may be helpful to you:
http://visualstudiomagazine.com/articles/2011/06/21/wcnet_configure-wcf-for-rest-with-json.aspx

Related

Integrating paypal with c++ MFC app

We are planning to integrate Paypal with one of our cpp application written using MFC. The question is shall we use Rest apis to accomplish this? or there is any other easier way to do achieve this? I have recently used Paypal REST Services via Postman and they look pretty easy. What I want to achieve is how can I use rest apis for paypal without launching the browser ? How can I achieve Login credentials from the user ? Can anyone point me to right direction ?
Appreciate your help in advance.
Thanks
AJ
I'd suggest using PayPal REST API https://developer.paypal.com/docs/api/ as they putting more effort into it. There is also SOAP API, but I would not use it. It seems like dated.
You can use ultra modern Casablanca C++ REST SDK which is an open source framework from Microsoft available at: https://github.com/Microsoft/cpprestsdk to implement your end-point.
You can do that using Wizdome which is c++ / MFC oriented. A product named Datattoo recovery developed under c++ and MFC allows paying for the amount of data successfully recovered, and the integration with PayPal is done that way.
Here is a more detailed description about the process:

What's the difference between JSP and WS (web service) in Java

I want to create a web chat and i'm looking for a lot of tutorials but i don't know if i should use WS or JSP, and i don't know the difference between both.
I'm sorry for my begginer question, and thanks for your help.

How to use Spring/MongoDB in a Restful service with JSONApi Formatting

Hello fellow developers!
I am using a Spring backend with MongoDB for a Rest based service as described here:
http://spring.io/guides/gs/accessing-mongodb-data-rest/
This is a great way to create powerful rest services and I would like to continue to use it, but I am having problems with its formatting of the JSON, for consumption by an Ember front end.
I really want to make my restful services on the back end return JSONApi.org formatting and not have to play tricks in Ember to massage the data.
I'm sure others must have encountered this very same problem and there is some community based solution, but I can't seem to find it. Can anyone point me in the right direction here?
Also, is there a community of people using Ember + Spring Rest? Or am I alone? :D
Thanks!
Peter

Are there any Online Tutorials for Apache CXF?

Please suggest an on-line tutorial for Apache CXF web services framework. I'm a beginner and just have basic knowledge of Java EE (JSP, Servlets, HTML, CSS, JavaScript, JQuery) and know a little bit of hibernate. I'm also familiar with JDBC.
Also please let me know if there are any CXF plug ins available for Eclipse Indigo IDE.
Why not just go to the CXF site directly, you will find almost everything that you need to learn to make a webservice with CXF. If you experience any problems or if you don't understand something, this site is always open for queries. Or just google it :)

Where can I find some good WS-Security introductions and tutorials?

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.