4,044 questions
1 vote
1 answer
121 views
Ant JWSC Task failed on WebLogic 14c and JDK17
I am Trying jaxws sample Program in weblogic 14.1.2, Ant 1.0.15 and JDK 17. Jwsc task failed when building webservice. I have tried all the settings like ANT_OPTS and JAVA_TOOL_OPTIONS to set module ...
0 votes
1 answer
147 views
Not able to generate Jakarta based import from javax
I am trying to migrate to java 21. I have a binding.xjb file which uses jaxb and jaxws for generating java code from wsdl and xsd files. I have run mvn rewrite: run to run the recipe for migration ...
0 votes
0 answers
50 views
ClassNotFoundException for javax.xml.ws.Service after upgrading Spring Boot [duplicate]
We have a project with Java 17, Spring Boot 2.7.18 and Spring 5.3.37. I upgraded it to Spring Boot to 3.4.3 and Spring to 6.2.3. When the application was run, a ClassNotFoundException (for the class ...
1 vote
0 answers
57 views
JAX-WS / JAXB: Unable to target embedded XSD schema node in WSDL via bindings.xml
I’m trying to generate Java classes from a WSDL file using the Maven plugin com.sun.xml.ws:jaxws-maven-plugin. The WSDL includes embedded XSD schema(s), and I’m not allowed to modify the WSDL or its ...
0 votes
1 answer
132 views
wildfly quickstart jaxws retail deployment failed [closed]
im trying to run a wildfly example from https://github.com/wildfly/quickstart/tree/main/jaxws-retail when i deploy i get error Caused by: org.jboss.msc.service.DuplicateServiceException: WFLYUT0105: ...
0 votes
0 answers
252 views
Provider com.sun.xml.internal.ws.spi.ProviderImpl not found
We have an internal application which is running fine in Java 8. I tried upgrading it to Java 17, but getting this exception "Provider com.sun.xml.internal.ws.spi.ProviderImpl not found". I ...
0 votes
0 answers
34 views
JAXWS and ApacheAxis2 not able to colive in dependencies
Due to some unavoidable reasons, I have both JAXWS-2.3.1 and ApacheAxis2-1.6 in my dependencies. I have written code using JAXWS to call SOAP API. I’m encountering an issue when trying to call a SOAP ...
1 vote
0 answers
59 views
(Open) Liberty ignores JAX WS MTOM's threshold
The following problem occurs to me while migrating from IBM's WebSphere Traditional towards IBM WebSphere Liberty. I have a SOAP Java Service class annotated with: @MTOM(enabled = true, threshold = ...
0 votes
0 answers
158 views
JAX-WS SOAP client not keeping tcp connection alive
I am using JAX-WS 4.x. When I make the SOAP calls from my client, I notice that the client side terminates the TCP connection after a set timeout. I can see the following headers in my SOAP HTTP ...
1 vote
0 answers
56 views
JAX-WS interceptor is not being triggerd
The problem is that after adding JAX-WS to my project, specifically to the file that will be generated, I tested the generated file, but nothing related to the interceptor appeared. It seems like I ...
0 votes
0 answers
580 views
Upgrading from Java 8 to Java 11: NoClassDefFoundError: javax/activation/DataSource
I'm working on upgrading a project from Java 8 to Java 11. The project uses an ant build script that calls wsimport, which I've found has been deprecated and is no longer included with the JDK. Not ...
0 votes
0 answers
28 views
Configuring JAX WS Client to maintain all received cookies
I'm looking for a way to configure a JAX WS BindingProvider to maintain all cookies received in the set-cookie header response. I know about the javax.xml.ws.session.maintain property but this ...
1 vote
0 answers
568 views
How to set soap version to 1.2 for a web service client using spring-ws-core?
My client is using org.springframework.ws:spring-ws-core:4.0.11, which internally relies on Jakarta XML Web Services (JAX-WS). I need to generate a client proxy for a web service that supports both ...
0 votes
1 answer
77 views
How does jaxws-ri route a SOAP request to the correct method while SOAPAction HTTP header is empty string?
I am using jaxws-ri, version 2.3.2, on Tomcat I have simple class with some JAX-WS annotations: @WebService() public class Test { @WebMethod() public String validateCard(String id) { ...
3 votes
1 answer
127 views
Receiving null result from SOAP request
I'm trying to make a soap request to a Brazilian government endpoint and I'm facing some trouble. They make the following wsdl available: https://mdfe-homologacao.svrs.rs.gov.br/ws/MDFeRecepcaoSinc/...