Questions tagged [webservices-client]

A web service client is a consumer of a defined web service, based on its contract (the service API) and constraints (i.e. security).

A web service client is a consumer of a defined web service, based on its contract (the service API) and constraints (i.e. security).

Web service clients can be automatically generated (based on a given contract and via technology related tools) or developed using the given service API and a technology of choice.

234 questions
1
vote
2 answers

Reusing an HttpsUrlConnection... don't want to get a new connection each time. How reuse?

I want to call a secure webservice, using a cert that I have... the server takes a long time to authenticate with the cert, and, while this is ok the first time, the user will call it over and over again (in the same "session") and I feel I ought to…
Wanderer
  • 1,583
  • 4
  • 20
  • 36
1
vote
0 answers

Web services: No connection could be made because the target machine actively refused it

I'm trying to set up a website(ASP.net in c#). As a part of this, First I'm trying to set it up on my windows 7 station. The website also has web services layer. I'm hosting the website on local IIS 7.5. Web services are where the data is fetched…
SaraDob
  • 77
  • 11
1
vote
0 answers

Set Timeout on API request

This is my issue. I have an API where i make calls to get data from. Something like this: "res = client.GetResult(sessionID, out ResultObject, out Err);" where "GetResult" would be the method where the call is made passing SessionId as a parameter…
Cessna
  • 309
  • 2
  • 8
  • 21
1
vote
0 answers

Playframework Ning WS and thread

I have simple java method to upload file from local disk to remote web service, and it's working great in controller class. Now I moved this method into separated class. I try to call this method from thread : public void run(){ while…
1
vote
2 answers

Error while doing Salesforce Authentication from C# Client Application

Below is the complete code I have written to work with login() for Salesforce authentication. But, I am getting error if I execute the code in .Net client (Console Application). Can anybody please suggest me how to solve this problem. My onsite…
Ashok kumar
  • 1,593
  • 4
  • 33
  • 68
1
vote
3 answers

security when calling a webservice or aspx page with password

I'm wondering if I have a web service like this: Login(username, password) or a page like login.aspx?u=username&p=pass If they were called from a desktop app, which would be more secure. From what i've read a sniffer can read the request and…
gideon
  • 19,329
  • 11
  • 72
  • 113
1
vote
1 answer

Always connect to Webservice or local storage Android?

I'm developing a personal project with Android and struggling here with some doubts about the better way to develop it. Well, my project consists of my app consuming a Rest Webservice (which I already developed with Java and Spring) and showing up…
Rafael Paz
  • 497
  • 7
  • 22
1
vote
1 answer

How to consume webservice not as localhost

I was asked to generate a consumer class of a webservice c# code(which was given to me), my consumer c# code must call all its functions, i followed c-sharpcorner link and successfully done it. But here in this url place i added the url…
1
vote
1 answer

WCF DateTimes and Android

There is a nightmare i am leaving these days. And it is the DateTimes in android and the Web services I have a WCF webservice located in a -5:00 UTC time zone and i develop an app for multi time zones How can i handle my users datetimes so it…
Ahmed Hashem
  • 145
  • 2
  • 8
1
vote
2 answers

How to post data(in Json format) to webservice method which is return response in json format in C#

Here is the web service method [WebMethod] public void GetEmployees(int pageNumber, int pageSize) { List listEmployees = new List(); string cs = …
Anandb
  • 11
  • 1
1
vote
0 answers

Application Authentication With JAX-WS

Im creating a client API for a JAX-WS web service using wsimport tool(used the jaxws-maven-plugin:wsimport goal). The resulting API worked just fine. Now when security was introduced and wsimport run again on the updated WSDL file, I got an…
knk
  • 79
  • 1
  • 9
1
vote
1 answer

call webservice and show data on listview

Send request format is {"method":"item_list","parameter":{"category_id":"1"}} I want to pass json on btn_choose_menu click package com.example.pattipizza; import android.os.Bundle; import android.view.View;`enter code here` import…
1
vote
0 answers

call webservice and error: This error page might contain sensitive information

I have web service with a web method "Login". I test it in my client and on the server. On my client and my server "Login" doesn't have any error and run trusly. My server has two network card and I don't have access to second IP in my local…
user3702192
  • 37
  • 1
  • 1
  • 5
1
vote
0 answers

Serialize a dictionary to send using KSOAP2

I'm having a problem trying to send an dictionary to a .NET web service. I want make request this :
1
vote
1 answer

Trying to consume .Net webservice in Coldfusion 10, wdsl giving me headaches

I have been a coldfusion developer since 1999 but the last few years I have been working more with other technologies. Recently I have been asked to implement a client for a webservice that allows one to order pharmacists medicines at a wholesale…