jax-ws Questions

3

Solved

I have an application that needs to make a SOAP client request to a system on the Internet, so it needs to go though our HTTP proxy. One can do this by setting system-wide values such as system pr...
Incurrence asked 22/6, 2011 at 22:5

5

Solved

My environment is a Maven Project and Wildfly (8.2.1) as Application Server. What I need is to connect wihin a incoming REST call to a third party server using SOAP. I need SSL Client Authenticatio...
Mahratta asked 11/5, 2016 at 12:9

10

Solved

I have a problem creating and connecting a Java client to a running Web Service. I use the following code: Service myService = null; URL wsdlLocation = new URL("http://myservice?wsdl"); QName ser...
Plurality asked 12/9, 2013 at 10:20

6

I'm currently working on a project which needs wsimport, but we use JDK 11 and I discovered, that wsimport was removed from JDK since this version. I searched for answers and I tried adding this de...
Porscheporsena asked 12/11, 2018 at 17:2

7

I'm using CXF 2.1 to generate java code from a wsdl, but I'm getting the following error: WSDLToJava Error: Rpc/encoded wsdls are not supported in JAXWS 2.0 org.apache.cxf.tools.common.ToolExcept...
Trachytic asked 5/1, 2009 at 10:45

3

Solved

I'm trying to access a third party web service that requires me to create a security header passing in time information, user name, and password. I've scoured the web for working examples and have ...
Marlow asked 12/1, 2012 at 18:13

3

Solved

I'm trying to have two execution blocks inside a maven plugin with separate configurations, but maven seems to ignore the configuration blocks inside the execution blocks and only uses the configur...
Blintz asked 17/7, 2013 at 9:9

10

Solved

I have created a JAX-WS Web Service on top of Glassfish which requires basic HTTP authentication. Now I want to create a standalone java application client for that Web Service but I don't have a ...
Paba asked 15/8, 2011 at 22:5

9

Solved

I am trying to create a simple web service using Apache CXF 2.6 runtime in Tomcat v7 using Java in Eclipse. I am following this tutorial http://www.youtube.com/watch?v=o2Vjs8ylmFM&feature=autop...
Sarchet asked 3/6, 2012 at 5:41

2

Solved

I made a wsdl using sun-jaxws. I created a web service client in Netbeans, and successfully called the wsdl web service. Then I configured my nginx server to access the web service by https. When I...
Commend asked 11/12, 2015 at 12:6

5

Solved

In my spring boot ws based application I have created a jax-ws webservice following a contract first approach. The Web service is up but I cannot autowire my other beans inside my webservice. How c...
Saccharose asked 7/8, 2014 at 8:20

8

Solved

The problem is I need to build a web service client from a file I'm been provided. I've stored this file on the local file system and, while I keep the WSDL file in the correct file system folder, ...
Graubert asked 12/11, 2010 at 10:14

4

Is there a way to reference a handler configuration file (e.g.: handler.xml) that is distributed inside a JAR file? Something like this: @HandlerChain(file="somefile.jar") or @HandlerChain(file="m...
Coimbatore asked 26/10, 2011 at 20:46

2

Solved

I did a request and my program spit out WARNING: Input Action on WSDL operation Search and @Action on its associated Web Method search did not match and will cause problems in dispatching the requ...
Demirep asked 9/9, 2014 at 17:17

3

Solved

I need to consume old-school RPC/encoded WSDL webservice for my backend. At first I tried to use Apache CXF and JAX-WS for that, but JAX-WS wsimport tool doesn't eat rpc/enoded WSDL. [ERROR] rpc...
Preece asked 2/9, 2011 at 13:28

1

I'm calling a remote web service and am occasionally getting the following error:- Error caught: com.sun.xml.internal.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/plain;char...
Sideways asked 21/9, 2018 at 14:53

4

I'm having the following problem (reported there by someone else) when running my enterprise application under Glassfish. Under Jetty it works fine. javax/xml/ws/spi/Provider mentions creating a M...
Brachiopod asked 14/1, 2010 at 12:42

5

Solved

I have a JAX-WS-driven web service whose WSDL we generate a web service client from in another Maven module (which I'll call ws-consumer). For better or worse, we copy the "published WSDLs" (the v...
Adrien asked 21/3, 2012 at 10:16

4

How do you disable certificate validation in JAX-WS client using javax.xml.ws.Service? I tried creating an all-trusting TrustManager in the SSLSocketFactory and tried to bind it with BindingProvi...
Waffle asked 18/9, 2012 at 8:57

3

I am making a request to an API and getting a response status code of 200. Response of the api includes a json response. import javax.ws.rs.core.Response; Response response = webclient.post(Som...
Eighteenth asked 8/8, 2014 at 5:11

4

Solved

For development I use Eclipse Helios. In one of my projects in the project explorer a new node showed up. It is called JAX-WS Web Services. I do NOT use webservices in my project. The node has two ...
Urian asked 23/9, 2010 at 10:54

10

Solved

I'm working on a server in a distributed application that has browser clients and also participates in server-to-server communication with a 3rd party. My server has a CA-signed certificate to let ...
Gilgai asked 12/6, 2012 at 16:48

2

Solved

I am trying to learn WebServices (Axis2) I am using Jboss EAP 7.0, eclipse_mars with JDK 8, and the latest Axis2 (axis2-1.7.4). When running the client code, package com.durgasoft.service; publ...
Inconsequential asked 8/5, 2017 at 12:37

4

Solved

I'm relative new to the webservices world and my research seems to have confused me more than enlighten me, my problem is that I was given a library(jar) which I have to extend with some webservice...
Poulos asked 11/4, 2013 at 3:28

3

I am facing strange problem during build of our project. The problem boils down probably to dependency on jaxws-rt 2.2.10. The main problem is this warning which stops transitive dependencies to pr...
Conduce asked 8/8, 2018 at 10:49

© 2022 - 2024 — McMap. All rights reserved.