WSDL2Java is a JAX-RPC tool that is run against the WSDL file to create Java APIs and deployment descriptor templates according to these specifications.
Questions tagged [wsdl2java]
656 questions
5
votes
2 answers
Pass a HashMap over SOAP using JAXB
I am trying to pass a Hashmap over SOAP. I am using CXF wsdl2java to create my schema. And I have created a wrapper class for my HashMap since Hashmap itself cannot be passed over the line.
I have then created adapters to morph that Hashmap into a…

mstelz
- 610
- 4
- 9
- 19
5
votes
3 answers
WSDL generating repeatable build
I have been asked to look at the build process of an existing service based application. It has several service based modules in which some of the services are provided by a 3rd party. The wsdls used in the build process are brought down and into…

theINtoy
- 3,388
- 2
- 37
- 60
5
votes
1 answer
Using xmlbeans bindings for cxf wsdl2java
I am getting started with using apache CXF 2.1.5 and xmlbeans to generate a web service client. The FAQ page shows how to use jaxb bindings to have java.util.Date binding for xsd:dateTime:

Bala
- 979
- 1
- 10
- 21
4
votes
2 answers
Altering the timeout setting of an Axis 1.4 generated SOAP Java client
I have a problem with changing the standard options used by an Axis 1.4 generated web service client code.
We consume a certain web service of a partner who is using the old RPC/Encoded style, which basically means we're not able to go for Axis 2…

Jens
- 41
- 1
- 1
- 3
4
votes
2 answers
How is build-wsdl2java.xml generated?
I've inherited the code base for a Java application which talks to a few SOAP web services. Proxy classes to do this are generated using an ANT task calling wsdl2java. As my Java experience is quite limited, I'm still trying to get my head around…

Cleggy
- 715
- 9
- 24
4
votes
3 answers
Integer to int using jaxb
I have a weird situation where the getter in a class returns a primitive int type, and the setter takes a Integer class.
When jaxb unmarshals an element to this class, it cannot find the setter it is looking for:
public class Foo {
int bar;
…

rouble
- 16,364
- 16
- 107
- 102
4
votes
2 answers
cxf-codegen-plugin 4.0.0 ignores bindingFile
I create code from a wsdl based on the cxf-codegen-plugin. I use additional bindings to
change the package
use Date instead of XmlGregorianCalender
this works fine with version 3.5.5
When I switch to 4.0.0 this does not work anymore (default…

Marius
- 365
- 4
- 18
4
votes
1 answer
CXF auto generation fails
When I add the plugin to the pom file, I get an error on the application and I cannot create my service.
I'm trying to get the cxf-codegen-plugin to generate sources from my wsdl file.I did research but couldn't find a solution.I need your…

island
- 43
- 1
- 11
4
votes
1 answer
Axis2 generated Stubs are thread-safe?
Are the Stubs generated by WSDL2JAVA (using XMLBeans binding option) through Axis2 1.5.4 thread-safe?
Actually I have created one Stub for a Web Service that I am invoking through multiple threads. I have configured my own…

Haq Yunus
- 41
- 1
- 2
4
votes
1 answer
Soap request signed by certificate. WS-Security
I received the WSDL which contains the security policy, as for now, judging by the wsdl i found out that it means that i need it to sign with certificate. No token server should be used.
What i did:
I used cxf wsdl2java to create java classes from…

sadxd
- 71
- 1
- 8
4
votes
2 answers
Generated sources from WSDL using WSDL2Java generates classes with deprecated API javax xml ws on java 11
On my project I am using java 11.
based on a WSDL file, i generate code classes using cxf-codegen-plugin maven plugin.
the classes generated, use javax.xml.ws.* and other APIs on java 11.
example :
one of the generated Classes extends Service …

marcAntoine
- 668
- 5
- 19
- 35
4
votes
1 answer
How to run Apache CXF wadl2java with JDK 12?
The following command used to work flawlessly:
C:\tools\apache-cxf-3.3.1\bin\wsdl2java -client -d generated foo.wsdl
It no longer works with the latest version of JDK - 12. I have downloaded the latest version of Apache CXF, and still get the same…

Hong
- 17,643
- 21
- 81
- 142
4
votes
3 answers
Bundling wsdl in jar with CXF wsdl2java
I'm working on an implementation that will use a wsdl that I have gotten from a vendor. Our project is running on Spring and CXF, and I'd like to create a jar that will allow me to access this vendor's wsdl services, but I'm running into classpath…

Andre Azzolini
- 95
- 1
- 1
- 6
4
votes
4 answers
Why is axistools-maven-plugin trying to access this relative schema location?
We're doing a web service project with Axis 1.x and I'm having problems getting the Maven build to work.
I do a
mvn clean generate-sources
which triggers axistools-maven-plugin's wsdl2java goal. It eventually aborts with
[INFO]…

Henrik Heimbuerger
- 9,924
- 6
- 56
- 69
4
votes
6 answers
Gradle wsdl generating
I want to generate java files from wsdl. I try to use wsdl2java gradle plugin. I define the plugin:
subprojects {
buildscript{
repositories{
jcenter()
mavenCentral()
}
dependencies {
classpath…

LakiGeri
- 2,046
- 6
- 30
- 56