json « Web Service « Java Enterprise Q&A





1. Java Web Services API, however I can't run a JVM on my server    stackoverflow.com

I'm trying to use some data from a PlanPlusOnline account. They only provide a java web services API. The server for the site where the data will be used ...

2. How do I expose data in a JSON format through a web service using Java?    stackoverflow.com

Is there an easy way to return data to web service clients in JSON using java? I'm fine with servlets, spring, etc.

3. JSON Web Service over simple HTTP GET/POST    stackoverflow.com

Can you suggest a way or a framework or etc. for JEE in order to make simple HTTP GET/POST calls to some web services like in SOAP web services but transport ...

4. Java JSONObject for .net webservice deserialisation to DateTime()    stackoverflow.com

I have a .net Webservice which should communicate with a Java app via json. Now I have a method on the server side that looks like this:

    [WebMethod]
  ...

5. Uploading files via JSON Post request to a Web Service provided by Teambox    stackoverflow.com

Please refer to(looks pretty simple documentation): https://teambox.com/api/upload The parameters I am suppose to pass as JSON are:

{
  "page_id": 456,
  "project_id": 123,
  "name": "Name",
  "asset": "<File Data>"
}
to ...

6. Can you have multiple BindingTypes on a Jax-WS Web Service?    stackoverflow.com

I have a web service I have already written to handle SOAP requests, but I was wondering if I could add another binding type to have it use the Jax-WS JSON ...

7. WebService return a XML/JSON file    stackoverflow.com

I require to write a simple java webservice that could show its output in the form of a XML/JSON file. For example the user will click a link or a button, ...

8. ByteArray in JSON    coderanch.com

9. How to access the JSON reponse from a java client    coderanch.com

Hi All, I have very basic knowledge of webservice. Currently I am trying to convert the response of a Webservice as JSON . I follow the steps mentioned in the [url]http://www.marcusschiesser.de/?p=130 [/url] link. Now I am getting the response as a JSON object . But the problem I am facing is that how to access the response from a java client ...





10. [jersey/jax-rs] json object value string has extra quotes, jsonp, service chaining    coderanch.com

My short question is why does my jsonp response have an extra set of quotes around the json object, my second is how do I fix it. I'm so close to it all working. I am returning a jsonp response from two different approaches. The first is by using jaxb annotation objects, this works well. (see callback1) The second is by ...

11. JSON WebServices    coderanch.com

Beyond size, XML lacks an explicit mechanism for representing large binary data types such as image data (although binary data can be serialized in either case by applying a general-purpose binary-to-text encoding scheme such as one of the Base-64 variants). JSON can represent them using arrays of numbers (representing bytes, or larger integer units up to the precision of 52 bits ...

12. JSON / XML unmarshaller problem    coderanch.com

Hi, I'm facing with following issue: I'm trying to unmarshal the JSON data received from web server using this approach: **************** ClientResponse responseJ = server.accept(MediaType.APPLICATION_JSON).get(ClientResponse.class); //Get the entity of the response String textEntityJ = (String)responseJ.getEntity(String.class); JSONJAXBContext contextJson = null; JSONUnmarshaller unmarshallerJson = null; MyClass myClassJson = null; //built JSONConfiguration based on mapped notation contextJson = new JSONJAXBContext(JSONConfiguration.natural().build(), MyClass.class); unmarshallerJson = contextJson.createJSONUnmarshaller();//create ...

13. web service using json in java    coderanch.com

Hi, I have to develop a server side web service that will be consumed by an Iphone Application. I have developed using SOAP and restful web service.But the problem is that when using SOAP I getting wsdl format xml which the client is unable to parse using TinyParser and for restful its wadl which is not support for Iphone aaplication. Now ...

14. How do I send a JSON object from the client to the server in a POST request?    coderanch.com

I have my app working where my Client can request a JSON object from the server and parses it fine. Now , I want to build a JSON object on the client side so how do I send this to the server? I have a HttpClient, A HttpPost and a JSON object, but could any show me how to "stuff" the ...