Maven plugin adapter for JAX-WS's toolset
Questions tagged [jaxws-maven-plugin]
60 questions
16
votes
0 answers
SOAP port uses a non-standard SOAP 1.2 binding
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 binding.
line XXX of http://...?wsdl
By adding an…

Lonzak
- 9,334
- 5
- 57
- 88
6
votes
0 answers
Can we change the dynamically - with JAX-WS
I am new to soap web services,wanted to know can we change the location of soap:address according to the environment it is deployed. I am using jaxws-spring

user3132347
- 363
- 1
- 7
- 27
6
votes
2 answers
Wsimport failing in Java 11
In Java 8, I was using codehaus' jaxws-maven-plugin version 2.5 for wsimport goal in maven. Now I am moving my application to Java 11 and the plugin execution gives error. …

Aditya Batra
- 263
- 1
- 2
- 18
6
votes
1 answer
How to pass parameter to Maven plugin from CLI?

Aamir Khan
- 2,945
- 2
- 25
- 32
6
votes
4 answers
java.lang.VerifyError: Inconsistent stackmap frames at branch target 421
I get following error when I try to deploy a war file.
SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.VerifyError: Inconsistent stackmap frames at branch target 421
Exception Details:
Location:
…

Shanaka Kuruwita
- 689
- 2
- 6
- 19
5
votes
1 answer
Java Code generation from XSD/WSDL for Jakarta 4.0.0 using Maven Plugin
I have wasted mutiple days trying to figure it out, how can something that seems pretty straightforward (generating code from a WSDL/XSD) be so extremly complicated. Are there any approaches? I feel I have tried them all, in diffrent versions using…

Chris
- 109
- 2
- 9
5
votes
1 answer
GlassFish Server deployment
I am new using GlassFish Server and WS. I just deployed a Web app. generated with maven having this web.xml
…

en Lopes
- 1,863
- 11
- 48
- 90
5
votes
1 answer
jax-ws maven plugin sets wsdlLocation to absolute path
I generate web service client using
org.jvnet.jax-ws-commons
jaxws-maven-plugin
2.3
2.1
false
…

cynepnaxa
- 1,024
- 1
- 14
- 30
4
votes
1 answer
jaxws: It is not a jaxws or a jaxb binding file
I'm getting this error message:
[WARNING] Ignoring: binding file "file:/home/jeusdi/projects/salut/hes/hes-visor-api-service/src/jaxws/bindings.xml". It is not a jaxws or a jaxb binding file
It's telling me that my binding.xml file is not valid…

Jordi
- 20,868
- 39
- 149
- 333
4
votes
2 answers
Using generated code in unit tests with maven clean build?
I have a maven project using the JAXWS plugin to generate some code based on a WSDL using wsimport. If I run mvn generate-sources this code gets generated.
In addition I have JUnit unit tests that reference generated classes.
According to the docs…

Ben Thurley
- 6,943
- 4
- 31
- 54
4
votes
0 answers
Using different package names for bindings and wsdl using the jaxws maven plugin
We have a special requirement with our application: files generated against the wsdl should have a given package name and files generated against xsd files should have another package name.
There does not seem to have a way to customize this with…

balteo
- 23,602
- 63
- 219
- 412
3
votes
1 answer
How to resolve dependency between files generated by maven plugin at compile time?
Ok, let me try to put my problem across as less confusing as I can.
I have a standard maven project with a few Maven plugins -
1) maven-antrun-plugin
2) Custom maven plugin, say, my-maven-plugin
3) jaxws-maven-plugin
Now here's the complicated…

latestVersion
- 458
- 1
- 6
- 17
2
votes
1 answer
Why is jaxws-maven-plugin ignoring my .WSDL file?
I am using the jaxws-maven-plugin from MojoHaus to generate Java classes from a .WSDL file in my repository following the example here.
pom.xml:
org.codehaus.mojo
…

Brendan McCauley
- 79
- 8
2
votes
1 answer
"Invocation of com.sun.tools.ws.wscompile.WsimportTool failed" Error During Compilation With JDK 1.8
I am working on a project and trying to migrate from compiler ver. from JDK 1.7 to 1.8. I have received the below error on one of the modules during build and I am not able to solve it.
Failed to execute goal…

csel
- 187
- 2
- 5
- 19
2
votes
0 answers
maven command to execute multiple executions in plugin
I am trying to generate sources from wsdl
This is my plug-in.
org.codehaus.mojo
build-helper-maven-plugin
1.9
…

william
- 7,284
- 19
- 66
- 106