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

How to pass a DateTime value to a WebMethod (ASMX)

I have a WebMethod with a parameter defined as DateTime. When I call that webservice, I get this error: at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() at …
Cleiton
  • 17,663
  • 13
  • 46
  • 59
11
votes
2 answers

JAX WS client cannot authenticate

I'm trying to consume a secure (HTTPS schema) web-service with help of standard JAVA 7 JAX WS tools. This web-service requires authentication. I have already successfully added certificate to my local java keystore. All needed classes I've generated…
10
votes
2 answers

"WARNING: Unable to find required classes" when making a web service client

I have to make a web service client from an wsdl file. I have followed tutorial to create and test the service client in the eclipse wizard, and (I thought that I have implemented the code to call the service), but I keep getting this stack trace, I…
Julia
  • 1,217
  • 8
  • 23
  • 46
10
votes
5 answers

How to resolve failure of JAX_WS web service invocation "MustUnderstand headers are not understood"?

I'm using SOAPUI tool to access JAX-WS web services deployed in Weblogic 10.3.2 Request:
Roman Kagan
  • 10,440
  • 26
  • 86
  • 126
10
votes
0 answers

Can .NET web services with wsHttpBinding be consumed by python

I got a problem because I have a web service with wsHttpBinding: I can't get my python code call it, every time that I try to call I receive this error…
Carlo 1585
  • 1,455
  • 1
  • 22
  • 40
9
votes
1 answer

SoapHttpClientProtocol log response xml

For a couple of days we have problem with our app. We use SoapHttpClientProtocol in order to invoke java mbeans. This basically makes a call to a java webservice to invoke methods. Our problem is that sometimes we get the following…
Radu D
  • 3,505
  • 9
  • 42
  • 69
9
votes
5 answers

JSON array type resolution in ASP.Net webservices

So I have worked out how to pass my custom objects into ASP.Net json webservices. Works a charm. Problem I am having is passing in straight arrays of my custom objects or alternatively passing in arrays that are parameters of my custom objects. So…
Maxim Gershkovich
  • 45,951
  • 44
  • 147
  • 243
9
votes
1 answer

How to remove empty header from SOAP message?

I am using Spring-WS for consuming Webservice which compains if SOAP envelop has empty header element. I figured out that default SOAPMessage implementation adds one. How can I remove it? Thanks in advance
zegoline
  • 574
  • 2
  • 8
  • 21
9
votes
2 answers

ServiceConstructionException when creating a CXF web service client

I created a web service client and I am receiving the following error when the web service is being created. I was wondering if I am missing something on this error: Error running SQL module:…
JohnC
  • 155
  • 2
  • 4
  • 9
9
votes
7 answers

Should I Use Core Data or not?

I'm developing an application for the iPhone which gets all data from a database from a web service. I receive the information in JSON format and make constant calls to the web service for data. My question is should I be using core data? Right now…
9
votes
1 answer

Google Webmaster Tool API in c#

I want to use Google Webmaster Tool API in c# application. I have gone through different documents that are available on https://developers.google.com. Unfortunately I did not get any working example of using Google WT API using .Net . I have also…
8
votes
2 answers

Error consuming web service due to lack of certificate in java (XML SOAP based)

I need to consume a web service which was built under Https in java. The Web Service Client was generated using Eclipse and to call it I use the following code: ServicioTimbradoPruebasLocator ServicioTimbradoLocator = new…
user1084509
  • 1,832
  • 10
  • 33
  • 48
8
votes
3 answers

How to create an Axis2 Web Service Client in Eclipse?

I'd like to use the "Web Service Client" wizard to create a web service client in Eclipse, but the wizard doesn't allow me to choose Axis2 as the web service runtime; I'm stuck with just plain Axis. I start off at the following screen (which I got…
Jay Sullivan
  • 17,332
  • 11
  • 62
  • 86
8
votes
1 answer

Wiremock simulate a proxy server running

I want to add a test for the following e2e scenario: My app is making a web request to an external service through an internal proxy server, the proxy server manipulates the request body, forwards the request to the desination host and returns the…
v78
  • 2,803
  • 21
  • 44
8
votes
2 answers

Reusing types across multiple webservices

I have a collection of related webservices that share some of the types between them, notably the "token" generated by the TokenService. When using "add reference" in Visual Studio, proxy classes are generated and many classes, such as the Token…
CooncilWorker
  • 405
  • 3
  • 12
1 2
3
75 76