Questions tagged [jax-ws]
JAX-WS is the JSR 224 defining a Java API for XML-Based Web Services
jax-ws
4,071
questions
0
votes
0
answers
13
views
Migrate org.springframework.oxm.xmlbeans.XmlBeansMarshaller to latest version
I have the following code:
Gradle dependencies:
implementation 'org.springframework:spring-oxm:4.1.7.RELEASE'
implementation "org.apache.cxf:cxf-rt-frontend-jaxws:3.4.2"
code:
import org....
-1
votes
1
answer
22
views
Performance SOAPHandler handleMessage
I want to log all Request / Response data of a WS communication. I must do the logging (its more dumping the data into a RDBMS) asynchronous to not affect the performance of the WS communication ...
0
votes
0
answers
88
views
How to create a JAVA SOAP Web Service?
I want to create a SOAP Web Service. I am using JDK 17, Axis2 1.8.2, Tomcat 10.1, Eclips (2024-03).
I want to implement some endpoints to call with SOAP UI or other client.
Issues:
After creating the ...
1
vote
1
answer
40
views
OpenLiberty: Configuration of JAX-WS communication timeouts like connection timeout, receive-timeout using server.xml
We are accessing SOAP based WebServices ( using JAX-WS ) on WebSphere Liberty (24.0.0.5) and are looking for the best way to configure communication timeouts like connect-timeout, receive-timeout for ...
0
votes
1
answer
73
views
Getting "Not a proxy instance" error when mocking ClientProxy.getClient() in unit tests [duplicate]
I am writing a unit test for a method that creates a proxy using JaxWsProxyFactoryBean and sets up some properties. However, I'm encountering a java.lang.IllegalArgumentException: not a proxy instance ...
0
votes
0
answers
69
views
Handling Serializable type in Spring SOAP Client
I have to call a very old SOAP service from my Spring Boot application. I use the cxf-codegen-plugin to generate the java stubs at compile time using wsdl2java. Now, I have these elements that are ...
0
votes
0
answers
35
views
Migrating to java 11 but getting javax imports when I want jakarta when I use the wsimport feature from jaxws-maven-plugin plugin [duplicate]
I'm migrating an existing java web application from java 8 to java 11.
In the pom.xml file the project does invoke javaxws-maven-plugin:
<plugin>
<groupId>org....
0
votes
0
answers
330
views
Apache CXF - java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
I have migrated my application from Java 8 to Java 17 and upgrading corresponding dependent libraries, including javax to jakarta namespace refactor. However, I am facing issues with Apache CXF ...
0
votes
0
answers
28
views
Consume JaxWs API SOAP with Security inside header section
Im trying to consume a soap api, more specifically the api of job_requisition. The type of authentication that this api has is through the header
The problem I have is that I generate the header ...
2
votes
0
answers
149
views
JAX-WS: differences between "jaxws-rt" and "rt" in "com.sun.xml.ws" Maven group
I'm trying to figure out the differences between jaxws-rt and rt. I've compared both the two poms and the content of the jars but this led to more questions rather than answers. They have many ...
0
votes
0
answers
28
views
How to share/reuse classes between modularized JAXB/JAX-WS maven modules?
I have the following maven project where I generate java classes from XML schemas in a first module then try to use those classes in a second module.
The second module defines a WSDL which uses the ...
0
votes
0
answers
330
views
Replacement of jaxws-spring in Spring 6.1
I was using jaxws-spring in my project for Spring-JAX WS integration. My current xml configuration looks like this:
<beans xmlns: "http://www.springframework.org/schema/beans"
xmlns:ws=&...
0
votes
0
answers
22
views
How to consume RPC encoded WSDL in JAX-WS 2+
We are trying to consume encoded wsdl in our application. Tried using Apache Axis 1.4 but it is now not in use and so it has some security flaws so can not use it. Can someone help with some other ...
0
votes
0
answers
45
views
Switching from wsconsume to wsimport changes namespace
I'm having problems with code generated from wdl while porting from Java 8 to Java 11.
Using maven 3.8.7 in both cases.
This is the pom.xml file that has been working with Java 1.8.0
<plugin>
&...
0
votes
0
answers
81
views
How to make requests with auto-generated wsdl in Spring Boot
I have an integration task with some service. In this case I got some wsdl url, some .jks file and password. Nothing else. I already tested this wsdl endpoints by SoapUI and got success results (can ...