Questions tagged [webservice-client]

An application which calls on and consumes the response of a web service.

An application which calls on and consumes the response of a web service.

1128 questions
8
votes
5 answers

Webservice call returns error 500

I have started a small project in Java. I have to create a client which will send xml to a url as a HTTP POST request. I try it using java.net.* package (Following is the piece of code) but I am getting error as follows: java.io.IOException: Server…
sushil
  • 81
  • 1
  • 1
  • 3
8
votes
3 answers

Precious Metals API/Webservice wanted

Is there a free webservice/api (on Yahoo or other platforms) that can return live stock prices for precious metals rates (Gold, Silver, Platinium, Palladium)? Here is a paid service : http://www.kitco.com/market/ (It would be great if it comes from…
Zakaria
  • 14,892
  • 22
  • 84
  • 125
8
votes
3 answers

How to create Password Digest for use with Web Service?

I am trying to create a passwordDigest util which can be used in different environments which are capable of running java byte code. First of all I create nonce. It is done like so. public static String buildNonce(){ StringBuffer nonce=new…
svager
  • 769
  • 5
  • 13
  • 32
7
votes
2 answers

Delphi XE2 HTTPRIO Unable to retrieve the URL endpoint for Service/Port

I am converting a Delphi 2007 program to Delphi XE2 and having a problem with the following error message: Unable to retrieve the URL endpoint for service/port "/" from WSDL 'http://.....' The service I am connecting to is written in Delphi 2007.…
7
votes
1 answer

"Exception javax.xml.ws.WebServiceException: Unsupported endpoint address" trying to call web service using JAX-WS 2.1

I'm trying to call the web service here: http://publicbetawebservices.hotel.de/V2_8/FreeHotelSearchWebService.svc?WSDL I've generated proxy classes using wsimport with JDK1.6.0_29. My wsimport command line is: wsimport.exe" -keep…
Justin
  • 79
  • 1
  • 1
  • 3
7
votes
2 answers

Share an enum between ASMX Web Services

I have a web service project with several web services. Two of this web services share an enum that is defined in a BL class, like so: public class HumanResourcesService { public SomeLibrary.Employee GetEmployee(int employeeCode) { …
Meryovi
  • 6,121
  • 5
  • 42
  • 65
7
votes
1 answer

Creating client using Ws import not generating service and port class

I generated wsdl using Ws gen in my application. For that wsdl I tried to generate client so used Ws import with Maven. Client generation is successful but only request, response, exception, object factory and package classes are …
sonia stanley
  • 71
  • 1
  • 2
7
votes
1 answer

Detecting Client Disconnects in Web Services

I'm using the Apache CXF Web Services stack. When a client times out or disconnects from the server before the operation is complete, the server keeps running the operation until it is complete. I would like to have the server detect when the client…
Chris Dail
  • 25,715
  • 9
  • 65
  • 74
7
votes
0 answers

How to set a Security Token in WCF?

I'm upgrading an application from .net 1.1 to 3.5. This app connects to a WCF service. Previously the web service client was configured to use a Security Token, like so: RegistrationWSWse registrationService = new…
Paul Fryer
  • 9,268
  • 14
  • 61
  • 93
7
votes
2 answers

How to create a HelloWorld JAX-WS example (client - service)?

I'm really new in Java Web Service. I can say that my knowledge level is only 10%. Can somebody please give me a HelloWorld Example of JAX-WS (client - service) with explanations?...
pmark019
  • 1,199
  • 5
  • 15
  • 24
7
votes
1 answer

How do I prevent my .NET SOAP client from including "Connection: KeepAlive" in the HTTP headers. (using WSE3.0)

In the HTTP Connection header, my web service client is including: Connection: Keep-Alive I want to disable this. After doing some research, it appears the way to do this is to set the KeepAlive member of the SoapHttpChannelOptions class to false.…
blak3r
  • 16,066
  • 16
  • 78
  • 98
6
votes
1 answer

Error occurred while buffering incoming SOAP message using Metro client

I am using Metro 2 client to consume the "Secure wcf web service in Java". But Metro client does not gives any response and stay in hang mode after very long time it produce the output as an error: Stack Trace: SEVERE: WSSMSG0001: Error occurred…
subodh
  • 6,136
  • 12
  • 51
  • 73
6
votes
2 answers

How to create a Java client for Web Service?

I have successfully created Web Service. Tested it and getting the WSDL file also. The client that will use this Web Service is a simple Java class. I am able to create a jsp client and call the methods of Web Service. But I need to call the Web…
jQueen
  • 552
  • 1
  • 7
  • 16
6
votes
1 answer

Web service client library for C++

I'd like to implement a web service client for a project on Windows. I want to get web service info, soap request and soap response. I need a C++ library that I can use for these purposes (not wsdlpull). Requirements: should be a C++ library can be…
csk
  • 418
  • 1
  • 5
  • 11
6
votes
2 answers

Missing @XmlRootElement when creating a client from a wsdl

I have a question in regards to consuming a web service based on a third party wsdl file. I've taken the given wsdl and generated the 120+ java files required. This process was done by using xjc. Within the Sping environment, I was able to…
user310340
  • 61
  • 1
  • 1
  • 4