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
21
votes
1 answer

Are JAX-WS clients thread safe?

Because the initialization of the WS client side port is so costly we would like to reuse the same instance. We would also like to set different values in the BindingProvider/RequestContext before each call. Initially we would like to do…
PålOliver
  • 2,502
  • 1
  • 23
  • 27
21
votes
6 answers

Rolling log Files & removing old log files

I am working on a Java SOAP based webservice application where I am writing stdout to a text file as log for our reference. That file is growing enormously, so I need to check for the size of the file... For example if the file size crosses 10 Mb, I…
user2377755
  • 211
  • 1
  • 2
  • 4
10
votes
4 answers

What are WCF Proxies and what are they good for?

I have recently been educating myself about WCF and I have even written some production services using WCF. But I have never really looked too much into WCF until recently. I am aware of the idea of the "proxy" design pattern. I am also aware of the…
TheJediCowboy
  • 8,924
  • 28
  • 136
  • 208
9
votes
2 answers

Trapping a ConnectException in a JAX-WS webservice call

I am using JAX-WS 2.2.5 framework for calling WebServices. I want to identify the special case when the call fails because the Web Service is down or not accessible. In some calls, i get a WebServiceException. …
user93353
  • 13,733
  • 8
  • 60
  • 122
9
votes
4 answers

WS Client with Proxy and Autentification

I know this isn't exactly the correct way to ask a question, but I'm having a problem: I have a wsdl stored locally, and I need to create a Web Service Client to call that Web Service. The problem is the service is behind a firewall and I have to…
9
votes
5 answers

Eclipse Web Service Client wizard and CXF

I'm trying to create a Web Service Client using the Eclipse Juno SR2 wizard. The service is correctly deployed and running on a Glassfish 3.1.2 server and I can see the WSDL file or create the client using Axis. The problem arises if I try to use…
Marco
  • 2,389
  • 2
  • 16
  • 19
8
votes
3 answers

How to enforce an Axis Client to use TLSv1.2 protocol

A third party our application is integrate with has recently made changes in their security level protocols. In short, My Axis client should now send calls using TLSv1.1 or TLSv1.2. I have seen other posts regarding this, with some good…
mesh
  • 111
  • 1
  • 1
  • 5
7
votes
2 answers

Python HTTP request with controlled ordering of HTTP headers

I am programming a client interface to a restful web service in python and unfortunately the web service requires custom headers to be present in the request. I have been using Requests for this however the web service also requires the headers to…
user2509689
  • 71
  • 1
  • 2
6
votes
2 answers

Unable To connect remote server (Web Service)

I have tried to integrate this web service into my asp.net project but it popups such type of error ! If you have any idea regarding this kindly give me solution. There are very rare materials about oodle web services and oodle API. Try this URL…
Chintan
  • 2,768
  • 4
  • 27
  • 43
6
votes
1 answer

SOAP Request using groovy

I created the following groovy program test.groovy to invoke BI Publisher web service. I am able to get the soap response. Can anyone please help me to write the soapresponse ( Envelope.Body.runReportResponse.runReportReturn.reportBytes ) to pdf…
6
votes
2 answers

WCF: "Error creating reader for MTOM message"

Trying to get MTOM working in a WCF client. The particular function I'm trying to consume sends an MTOM-encoded byte array of a PDF document. Using SoapUI to test the API using the WSDL works fine; however, when I try to do the same thing in the…
Ant
  • 545
  • 1
  • 9
  • 26
5
votes
0 answers

javax.xml.ws.soap.SOAPFaultException: Error reading XMLStreamReader: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0]

I am trying to invoke soap webservice over https protocal. I have wsdl and generated classes by using Apache CXF, version : 3.0.5 when i post the request in soapui, i am getting successfull response from server but when the same is invoked from Java…
user2587669
  • 532
  • 4
  • 10
  • 22
5
votes
2 answers

How to consume Rest Web service in c#

I have written a webservice which on browser launch works fine. I pass a client id in this webservice and then returns a string containing the client name and it which we passed like this: http://prntscr.com/8c1g9z My code for creating service…
xav xav
  • 231
  • 2
  • 5
  • 12
5
votes
3 answers

JaxWS : Externalize Http Conduit name Attribute

I have the WSDL file for the SOAP webservice that i need to invoke over http. Using cxf wsdl2java plugin i have created the stub methods. I have created the webservice client using jaxws. The webservice has basic authentication enabled. I am trying…
5
votes
4 answers

DropWizard/Jersey API Clients

DropWizard uses Jersey under the hood for REST. I am trying to figure out how to write a client for the RESTful endpoints my DropWizard app will expose. For the sake of this example, let's say my DropWizard app has a CarResource, which exposes a few…
smeeb
  • 27,777
  • 57
  • 250
  • 447
1
2 3
15 16