webservice-client Questions
25
Solved
I need to consume a web service in my project. I use NetBeans so I right-clicked on my project and tried to add a new "Web Service Client". Last time I checked, this was the way to create a web ser...
Inflame asked 11/4, 2014 at 11:39
3
Solved
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...
Sumy asked 28/5, 2014 at 18:54
21
I am getting javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake exception when I try to do HTTPS Post of a web service through internet. But same code works for oth...
Espagnole asked 20/1, 2014 at 22:52
2
Solved
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...
Sarre asked 23/1, 2012 at 15:50
1
I want to use a SOAP web service prepared by another team, used internally in my new REST API prepared in ASP.NET Core. My web service client code was scaffolded with WCF Web Service Reference Prov...
Bortman asked 29/12, 2020 at 11:12
1
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 ...
Understrapper asked 8/11, 2020 at 15:37
6
Trying to retrieve the SOAP body from a SOAP response, but getting this error:
NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespace...
Straw asked 27/10, 2010 at 19:53
8
Solved
Trying to create a C# client (will be developed as a Windows service) that sends SOAP requests to a web service (and gets the results).
From this question I saw this code:
protected virtual WebRe...
Brook asked 25/1, 2011 at 9:32
4
Solved
I try to get information from web service that uses PasswordText WSS type. Firstly, I test it using soapUI and successfully got data. Then I implemented authentication on Java, writing SecurityHand...
Racemose asked 20/2, 2012 at 16:16
5
Despite that I have defined the related dependencies as I have added below, getting the java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl exception when my app makes a call...
Ionization asked 5/3, 2018 at 9:43
2
Solved
I'm developing a .Net application that communicates with a web service to get some data. The connection between the .Net application and the web service is done over HTTPS. When I call the web serv...
Tidings asked 28/2, 2012 at 13:16
6
Solved
Is it possible to log the request/response as XML using CXF, ideally to a separate file so I can monitor what an application is doing?
Spinelli asked 4/1, 2011 at 10:4
1
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...
Valerlan asked 4/8, 2018 at 17:20
2
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 ...
Abbey asked 24/5, 2019 at 15:2
5
We have an application which needs to consume an external web service. To do this we have generated the set of Java artifacts from the WSDL via Maven using the wsdl2java goal provided by the cxf-co...
Trinh asked 19/9, 2013 at 13:50
1
I can request soap web service server using soap ui, but when using java i found some problem, like ClientProtocolException, please help me, i dont know what is wrong with my code, i'm ready yet co...
Astral asked 10/4, 2018 at 8:16
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 com...
Cellophane asked 21/12, 2011 at 11:9
0
I am using the jaxws maven plugin to generate webservices access classes. During the generation the following warning is printed:
[WARNING] SOAP port "MyServicePort" uses a non-standard SOAP 1.2 b...
Annulose asked 4/7, 2018 at 9:10
4
I try to invoke HTTPS SOAP web service through java code:
URL url = new URL("https://somehost:8181/services/"SomeService?wsdl");
QName qname = new QName("http://services.somehost.com/", "SomeSer...
Crossjack asked 25/1, 2013 at 13:40
4
Solved
Since initialization of the WS client service and port takes ages I like to initialize them once at startup and reuse the same instance of the port.
Initalization would look something like this:
p...
Bragg asked 15/5, 2012 at 11:42
5
Solved
I'm using SOAPUI tool to access JAX-WS web services deployed in Weblogic 10.3.2
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.pc3.pol...
Wisecrack asked 6/12, 2010 at 16:3
1
Solved
I have created a Java client to interact with a SOAP webservice using Axis2 (1.7.6) as code generator. The problem is with some inputs the client is throwing an exception with the message:
org.apa...
Grevera asked 21/11, 2017 at 19:35
5
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 ge...
Cocytus asked 1/3, 2011 at 8:8
9
Solved
Below is a demo SOAP request message:
HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Content-Length: nnnn
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope...
Argonaut asked 27/12, 2010 at 16:55
4
Solved
My goal is to create a Web Service client that runs in a standalone jar with all the dependencies using mvn assembly:single
I generated the client using CXF codegen wsdl2java, creating a @WebServi...
Stoop asked 30/1, 2012 at 18:52
1 Next >
© 2022 - 2024 — McMap. All rights reserved.