jax-ws Questions

5

I'm building web service using JAX-WS. I have a strange problem that the annotation @XmlElement(required=true) for @WebParam works in some @WebService class, but doesn't work in some others. I hav...
Cylix asked 23/10, 2011 at 21:51

11

I saw the same issue in many different locations and even after a good portion of googling, I could not resolve it. What I am trying to do (the bigger picture) is to go through The java web service...
Philipson asked 23/2, 2011 at 13:31

3

I wrote a simple JAX-WS web service for tomcat application server on java. I have one interface and on implementation class: interface @WebService(name = "myWs") @SOAPBinding(style = Style.RPC)...
Lizzielizzy asked 1/7, 2013 at 7:54

6

Hi I have got the webservice up and running , i have used jax ws. I have used Spring to be able to use beans with Autowired and stuff that spring gives like property value injection in applicationC...
Ricoriki asked 23/9, 2012 at 19:49

9

Solved

I've set up a SOAP WebServiceProvider in JAX-WS, but I'm having trouble figuring out how to get the raw XML from a SOAPMessage (or any Node) object. Here's a sample of the code I've got right now, ...
Wriest asked 6/2, 2009 at 22:4

6

I'm working on a WebService Client and I want to set a Timeout for my WebService Call. I have tried different approaches but still I'm not able to achieve this. I'm using JAX-WS for code generation...
Killjoy asked 20/12, 2012 at 7:17

6

Can somebody explain to me the differences between Document and RPC style webservices? Apart from JAX-RPC, the next version is JAX-WS, which supports both Document and RPC styles. I also understand...
Coenesthesia asked 30/1, 2012 at 10:31

1

Is there a way to use @Inject or @EJB in a CXF interceptor? I know I can still do a JNDI lookup but I'd rather avoid it. I find it weird that JAX-WS handlers are managed but CXF interceptors are n...
Dissimulate asked 21/8, 2015 at 7:59

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

2

Solved

In Java 11, JAX-WS has been removed from the JDK. It prevents to generate easily JAX-WS classes with a Maven plugin using wsimport under the hood. I am using the following configuration for the Mav...
Preeminence asked 6/11, 2018 at 13:0

8

I want to log raw soap post requests if there are any errors , I am using JAX-WS. Any help will be appreciated. Is there an easy way (aka: not using a proxy) to get access to the raw request/respo...
Ulcerative asked 18/3, 2011 at 10:9

2

Solved

We are trying to do a security implementation in our JAX web services and are passing the UserName and Password in the header as below. <soapenv:Header> <wsse:Security soapenv:mustUnders...
Decomposed asked 12/2, 2015 at 20:25

1

Solved

I'm trying to create a simple message using SOAP: MessageFactory mf = MessageFactory.newInstance(); SOAPMessage message = mf.createMessage(); When I build the project with Java 8 it's fine...
Sonny asked 7/2, 2019 at 13:2

3

Solved

I am attempting to get CXF and Sprint Boot to play nicely. I have a JAX-WS service endpoint called SubscriberApi. Looking at the spring-boot logs I see successful mapping: Mapping servlet: 'CXFSer...
Materiel asked 24/11, 2014 at 20:21

4

Solved

I'm currently working with an XML Schema that has <xsd:annotation>/<xsd:documentation> on most types and elements. When I generate Java Beans from this XML Schema, then the Javadoc of t...
Pampero asked 30/10, 2009 at 14:48

4

Solved

I generated a web-service client using JBoss utils (JAX-WS compatible) using Eclipse 'web service client from a wsdl'. So, the only thing I provided was a url to a web-service WSDL. Now, the web ...
Carcajou asked 22/3, 2010 at 8:15

13

I'm writing a fat client that makes use of a SOAP service for some features (bug reporting etc.) I've got JAX-WS working fine, but by default (in netbeans at least) it fetches the WSDL from the re...
Children asked 19/4, 2009 at 3:20

1

Solved

I've used wsimport and other Metro tools for many years but since the removal of Java EE modules from Java 11, I can't find the tools. Where can I find the wsimport executable?
Thilda asked 7/11, 2018 at 15:19

2

Solved

I'd like to create Maven project which will build my webservice to war file, ready to be deployed on GlassFish. Looks like piece of cake, however I can't find any tutorial that would explain how to...
Twoply asked 26/7, 2015 at 10:42

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

4

Been trying to get jax-ws web service working in websphere 8.5 but no success. I have tried Java bean & war packaging, stateless ejb & jar packaging but it just does not work. I am trying...
Deem asked 29/3, 2013 at 1:19

4

Solved

We're currently running on WebLogic 12.1.2. And in this environment our application runs fine. What we want now is to homologate our applications to WebLogic 12.1.3 environments. But we are facin...
Pectoralis asked 23/9, 2014 at 20:3

3

I have created a web service with apache-cxf-2.7.4. I entered the classes produced in my project. the libraries I have in my project are: math3-commons-3.2.jar XStream-1.4.4.jar jaxws-api-2.2.5.j...
Artificiality asked 29/5, 2013 at 13:20

3

Solved

I am implementing many JAX-WS web services with a common Handler class to validate the correct structure of incoming SOAP messages. Is there some way to obtain the URL to which is directed the cu...
Spitz asked 27/12, 2013 at 10:50

3

Solved

I'm a bit exasperated with this issue. Lets check if someone has implemented something similar. I have a java 8 web application with 8 WS implemented. Some of this WS, make inserts and updates th...
Nordau asked 2/8, 2018 at 13:20

© 2022 - 2024 — McMap. All rights reserved.