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
2
votes
2 answers

How to disable self signed certificate at client in java?

I am having genuine certificate "salientrisk.crt" and "salientrisk.key" , Server is configured as SSL server with these certificate , now on client side if i have the same certificate then only it should be able to do handshake other wise it should…
user4772709
2
votes
0 answers

How to call List values in a Webservice from android device

I have configured a simple webservice at my glassfish server. Its a localhost:4848. The Webservice is configured perfectly as I can call the addProduct() and getProduct() methods successfully by tester of glassfish server. Now I have developed an…
Mushtaq
  • 29
  • 6
2
votes
1 answer

Trying to implement SSL on the Jersey client in order to talk to a secure server

I'm following the example atb the end of chapter 3 in Sunil Gulabani's Developing RESTful Web Services with Jersey 2.0" Here's the code: SSLContext sslContext = null; try { sslContext = SSLContext.getInstance("SSL"); } catch…
caspersgrin
  • 241
  • 1
  • 5
  • 15
2
votes
1 answer

NullPointerException in webservice client after introduction of axis2

We have some trouble with our web service client. The axis implementation we use was upgraded from version 1.3 to 1.4 and at the same time axis2 modules were introduced to the classpath. If you try to use the client to send a request now, the…
Viciouss
  • 283
  • 4
  • 20
2
votes
1 answer

How to understand this kind of use of AsyncHandler in an asynchronous web service client code, in Java?

I ran into this piece of code when learning to write an asynchronous client of a web service. I am trying to understand how "new AsyncHandler() {...}" is used here. I am relatively new to Java, and there are a few things that I don't…
2
votes
1 answer

Extending WebService Proxy class (imported from WSDL) methods

I've created an WebService proxy class based on a WSDL (in my Visual Studio 2010 .NET solution). Now what I need is, that the soap header of my request to the remote web service have a specific format, imagine something with two or three fields is…
João Pinho
  • 3,725
  • 1
  • 19
  • 29
2
votes
1 answer

Is wsdl used at runtime for actually making a connection

After i have used wsdl to generate web service client classes, do i still need to use the wsdl at runtime? It seems like i dont have to, but in the generated classes , I see a url link to the wsdl file. So is the wsdl needed at runtime for the…
Victor
  • 16,609
  • 71
  • 229
  • 409
2
votes
0 answers

JAX-WS WebService Client - Streaming large attachements - different behavior, depending on JRE version

I created a WebService client from a provided WSDL-File, using the already in the JRE bundled JAX-WS API. I generated the proxy classes with the wsimport tool of JDK6 Update 37. The client should be able to download large files/data, using MTOM and…
Christopher
  • 694
  • 7
  • 15
2
votes
1 answer

Error while making webservice call

I am accessing a webservice exposed by some other guy as a client using axis2 and I have made a wrapper method for abcStub .java (Stub java file made by running some batch) and tried to instantiate the Stub file inside the wrapper java file.…
Survivor - 2012
  • 300
  • 4
  • 19
2
votes
1 answer

Response code is null while executing Axis2 webservice client in java but webservice executed successfully at the server end

I am working on axis2 webservice in java for insertion of records into database. i am testing the webservice client, it return null response code, actually i return integer value in webservice but i inserted the records in database successfully, i…
Madhuri
  • 187
  • 1
  • 4
  • 10
2
votes
1 answer

unable to generate fault type while calling java axis webservice

Hi my sincere thanks to techies, let me explain what im facing issue. iam calling axis java webservice from vs 2010 if iam trying to call the service direclty using [.wsdl] link using soap ui and in .net add ref im getting errors. now i was…
2
votes
1 answer

Consuming Webservice with SSL certificate in NetBeans: How to configure Truststore and KeyStrore

I have generated the client Binding using NetBeans NetBeans -> New -> Java Project Right Click -> Webservice Client Here I gave my wsdl url and generated the client bindings. I want to configure KeyStore, TrustStore. I have client.cer and…
Azhar
  • 933
  • 1
  • 12
  • 28
2
votes
1 answer

how to consume java webservice from .net and wcf

I am stuck with an interoperatibility issue. I am from .net and have to consume a Java Secured Service by signing request using x509 certificate. I have WSDL and generated service reference in .net wcf client and added x509 certificate credentials…
Dhaval
  • 113
  • 7
2
votes
0 answers

Axis2 Stub Object in repeated task

I am using the axis 2 to communicate with the third party webservices. This webservice is going to be invoked in a timer for every 1 minute and the timer is going to run for several days. Now my question is whether we need to create the stub object…
2
votes
4 answers

Webservice client cannot find wsdl

I have created two webservices clients in NetBeans 7.1, mimicking the tutorial they have on their website. I had done the first one a while ago against a wsdl file located at a http location, and had no problem using the webservice The webservice…
user973718
  • 225
  • 2
  • 5
  • 16