Hi! I have a method definition as such:
@POST
@Path("save")
@Consumes("application/json")
public void save(Map<ClientVO, Map<AssessmentVO, String>> data){
System.out.println("THIS IS THE DATA: " + data);
}
When I try to unmarshall on the server, I get the following exception
Exception in thread "main"
org.jboss.resteasy....
Hello all,
I am in the process of writing the final stages of a checkout module using the FirstData Global Gateway API for a client. All the form views for data entry have been created and the controllers are successfully communicating test data with the FirstData webservice.
I am looking for thoughts on best practices on how to struc...
I am writing acceptance tests to validate a system and it's data access is all done through web service calls.
Unfortunately, because I make so many calls, so quickly, I run into the following error
System.Net.Sockets.SocketException:
Only one usage of each socket address
(protocol/network address/port) is
normally permitted
...
Hi thanks for reading.
i currently have a webservice deployed on a weblogic 10.3 server whit 1-way ssl enabled, the problem is that wen i test the webservice using the weblogic's test page, i get this error:
avax.net.ssl.SSLException: Handshake has been interrupted, can't find trusted CA certificates file trusted-ca.pem
but all the cl...
Hi, I am new to HTTP Post and encounter an strange issue. I have a request object defined as below:
[DataContract(Namespace = "http://Test.com/WCF")]
public class Request
{
[DataMember]
public string CardNumber { get; set; }
[DataMember]
public string CardExpDate { get; set; }
[DataMember]...
I'm trying to post an image from an iphone app to a .Net webservice and I'm running into this error. I've already updated my web.config as per this kb article and I can successfully post to methods that take strings as params. My issue is attempting to post data with an image. I've tried posting this way and that way, but both ways I ...
I have a WSE 3.0 based web service, and a WinForms client application that makes use of the types defined in that service's References.cs, but subclasses them to provide some additional functionality required by the client.
However, when I pass an instance of the subclass back to the web service, even though I explicitly cast back to th...
Hi,
I'm making a little bot to crawl a few websites.
Now, I'm just testing it out right now and I tried 2 types of settings :
about 10 requests every 3 seconds - the IP got banned, so I said - ok , that's too fast.
2 requests every 3 seconds - the IP got banned after 30 minutes and 1000+ links crawled .
Is that still too fast ? I ...
I very new in web service and want to access .net web services in spring Application
can anybody please help by sample code so i can upderstand how to use web services in java application.
Thanks in advance for the help
...
Hi, I'm creating a small test application that will run through a few test cases to check the status of various components of our system. The application is created as a .NET Windows Forms application with a few checkboxes that gets checked in for each test case that passes (and not checked if failed).
One of the tests is to check the ...
For webservices we usually generate java beans with the maven-jaxb2-plugin and use JAXB2 marshalling in Spring. I am wondering how to handle (SOAP-)faults that are declared in the WSDL/XSD best. In the application I would like to use Java exceptions that are marshalled to the faults. Is this possible? I haven't found a way to generate ex...
im developing a forum and users will be able to upload pictures.
i wonder how i should organize the folders for this?
should they be sorted by threads or users? but how will they then be organized within these folders?
and how could i couple some post's pictures to the database entry? eg, if the post got 5 images uploaded, should i ha...
Hi..
I need to do an automatic webservice request every second in my application to maintain my 3g connection. Anyone got any pointers on how to do this effectively?
Thanks!
...
I need to make a call to a json webservice from C# Asp.net. The service returns a json object and the json data that the webservice wants look like this:
"data" : "my data"
This is what I've come up with but I can't understand how I add the data to my request and send it and then parse the json data that I get back.
string data = "te...
Ok I have a sql server database view with a list of bookings (employee, date, charge). What i need to do is create a PerformancePoint chart that basically lists the employees and totals all their charges for a particular period.
e.g.
Karen 01/01/2010 £50
Jim 01/01/2010 £20
Karen 02/01/2010 £30
Tim 03/01/2010 £70
Chart for J...
I'm trying to create a WCF client that accesses a REST API. The API requires that a GET be used for a certain call, so I'm using the [WebGet] attribute for the method. However when I call the method, the actual call that is produced is a POST (viewed by using Fiddler). My contract is as below:
[OperationContract]
[WebGet(UriTemplate = "...
I'm building a webservice that needs to be accessible to a variety of potential platforms, including a number of older ASP and ASP .NET applications. After some research, I settled on a WCF service with both a REST (webHttpBinding) and SOAP (wsHttpBinding) endpoint (that way, I can support a wide range of platforms and still make the .NE...
How can I change the data source (database server, username, password) that a Crystal report uses at runtime, running within a crystal server?
I have a crystal server and have uploaded reports that have a set datasource (SQL Server 2005 hosted on SERVER A, userA, passwordA). I would like to schedule reports to run using a different dat...
Which is better to parse JSON/XML on iPhone, so that i can interact with web apps.
Also which is the fastest and most efficient parser out there
...
Hello,
I am developing one iPhone application where I need to send some data (in XML format) from iPhone to server, on the server side I will parse that XML and get data for each XML node and than use them as per my requirement.
My question is:
How will I form the XML file on iPhone?
How will I send that XML file to server?
Which m...