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
3
votes
2 answers
Not Able to get Connected with the Magento Store
I have checked many alternatives before posting here..
I don't get why i am getting this Error like UnKnownHost Exception..Please someone guide me to the Solution.
MyCalling Class
public class AndroidLoginExampleActivity extends Activity
{
…

Haresh Chaudhary
- 4,390
- 1
- 34
- 57
3
votes
1 answer
org.xml.sax.SAXException: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType using Axis in Java
I am making a soap call using Java source packages that was created from a WSDL.
After inserting the neccessary details the application makes the call and receives the errors;
Code:
public static String getRioInformation(String msisdn, String…

miller2j
- 79
- 2
- 7
3
votes
2 answers
CXF maven plugin generate classes in wrong directory
I'm using maven cxf-codegen-plugin to generate java web service files from wsdl.
The plugin works fine if I'm trying to generate the files in the default output directory
(target\generated-sources\cxf),
but if I'm trying to generate them in other…
Alon
3
votes
1 answer
How to make axis/axis2 to generate toString method for generated classes?
Is it possible to make axis/axis2 to generate toString method for classes generated by wsdl2java? They can be created manually using IDE such as Eclipse, but they will need to be regenerated each time wsdl2java is launched.
Without this method, an…

Danubian Sailor
- 1
- 38
- 145
- 223
3
votes
1 answer
CXF ClientProxy getClient "not a proxy instance"
I'm attempting to use WS-security with my Apache CXF client. I need to get a hold of the client endpoint so I can add a WSS4J interceptor. However, when I call ClientProxy.getClient() I get an IllegalArgumentException with the following…

Clayton
- 6,089
- 10
- 44
- 47
2
votes
1 answer
CXF client loads wsdl for both service and port?
In a java web app, I need to call a remote soap service, and I'm trying to use a CXF 2.5.0-generated client. The soap service is provided by a particular ERP vendor, and its wsdl is monstrous, thousands of types, dozens of xsd imports, etc. …

dave thompson
- 133
- 3
- 9
2
votes
2 answers
Logging request-response from java service
I have generated some proxy classes that are consumed by a Java Service. (using WSDL2JAVA)
I need to find a way to log requests and responses whenever the proxy class invokes the respective external web service.
Is there any easy way to achieve…

Silvestre
- 804
- 11
- 25
2
votes
1 answer
What is role of SoapBindingImpl.java file
When we use -s option while generating stubs using wsdl2java(apache axis) tool it generates SoapBindingImpl.java file.
This file contains all the method definition.
What is use of this file?
When exactly we need to edit the functions…

shantanu
- 1,748
- 3
- 19
- 34
2
votes
1 answer
wsdl2java is not generating the proper stub
I am trying to use a third party web service which is exposed through a WSDL.
I am generating stubs using wsdl2java (axis) tool.
Now when I am using the same service (the same wsdl) through a SOAP client (SOUP UI Pro) it asks for authentication…

shantanu
- 1,748
- 3
- 19
- 34
2
votes
1 answer
gradle with wsdl2java plugin
I'm using no.nils.wsdl2java plugin, full gradle.build file looks like:
plugins {
id 'org.springframework.boot' version '2.3.4.RELEASE'
id 'io.spring.dependency-management' version '1.0.12.RELEASE'
id 'java'
id "no.nils.wsdl2java"…

LordCommander
- 87
- 10
2
votes
1 answer
Code generation from WSDL: Property "Error" is already defined, but there is no nothing called "Error" in the files
We are attempting to generate Java classes from this wsdl file: http://ws.infotorg.no/xml/NE/EDROnline/2017-01-23/EDROnline.wsdl.
To do generate the code we use maven as a build tool, where we have specified the following build plugin:
…

Naphat Amundsen
- 1,519
- 1
- 6
- 17
2
votes
0 answers
Need to use no.nils.wsdl2java for gradle 7.0.2 and JDK 8.0.332.9
I need to use wsdl2 plugin for gradle 7.0.2 and my JDK version is 8.0.332.9
Below is the lines of code in build.gradle I wrote but I am getting an error Failed to apply plugin no.nils.wsdl2java > Configuration with name 'compile' not found.
Can…

Shrutika Subhash Dorugade
- 303
- 1
- 3
- 11
2
votes
0 answers
WSDL service location base URL will be different in each environment and how to not build the same jar over and over again
I have a wsdl file, which contains service-tag and partial view of it:

yusuf tezel
- 1,232
- 13
- 18
2
votes
1 answer
How to convert a WSDL file made for SOAP 1.1 to support SOAP 1.2
Years ago, I built a SOAP 1.1 service based upon a WSDL I was given. This was rather basic: I executed Axis' WSDL2Java and used the generated classes as base.
Now I'm told to migrate this service so people can reach it using SOAP 1.2.
What should I…

Olivier Grégoire
- 33,839
- 23
- 96
- 137
2
votes
2 answers
cxf-codegen-plugin keeps giving me "Failed to generate types" error message
Hoping for some feedback on this issue that has been troubling for a while.
I use maven for building a simple web services client application.
It uses several wsdls ( around 8 ) the wsdls have xsd imports ( roughly 2 per wsdl for each request and…

Daniel
- 21
- 1
- 3