dev-resources.site
for different kinds of informations.
Error - Exception occurred during code generation for the WSDL
Published at
9/15/2022
Categories
java
soap
wsdl
Author
alinelsilva
Author
11 person written this
alinelsilva
open
I'm trying to generate the java classes from the .wsdl file, but when trying to generate the following error:
Exception occurred during code generation for the WSDL : java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/utils/NamespacePrefixList
java.lang.reflect.InvocationTargetException
In the pom I added the lib:
<dependency>
<groupId>org.apache.ws.xmlschema</groupId>
<artifactId>xmlschema-core</artifactId>
<version>2.2.1</version>
</dependency>
But the error remains.
Solution:
As decker's comment, I added the lib below in the pom and it worked, after that I managed to generate the class.
<dependency>
<groupId>org.apache.ws.xmlschema</groupId>
<artifactId>xmlschema-core</artifactId>
<version>2.0.2</version>
</dependency>
soap Article's
30 articles in total
REST VS SOAP
read article
OpenTelemetry Traces from IRIS implemented SOAP Web Services
read article
Top 6 SOAP API Documentation Tools to Streamline Your Development Process
read article
How to Turn Any SOAP Web Service into a REST API
read article
Getting hands dirty with SOAP
read article
Best Practices for Naming REST API Endpoints
read article
Choosing the Right API Protocol: GraphQL vs. REST vs. SOAP
read article
Mastering SOAP WSDL: Step-by-Step Tutorials and Examples
read article
SOAP Explained: With Javascript
read article
SOAP Integration in Salesforce
read article
Mastering Jakarta SOAP API: A Detailed Introduction for 2024
read article
Create SOAP Services Using ASP.NET Core
read article
How to use SOAP/WSDL APIs using SoapUI & Python Zeep
read article
Test SOAP Web Service using Postman tool
read article
π Supercharge Your APIs with GraphQL! π
read article
Debugging Web
read article
SOAP com TypeScript em pleno 2023
read article
XML Parsing em NodeJS com XMLBuilder2
read article
Comparing REST API and SOAP: Understanding the Key Differences
read article
Net::SAML2 0.60 TRIAL Released
read article
Error - Exception occurred during code generation for the WSDL
currently reading
How to call SOAP Services using REST
read article
Wednesday Links - Edition 2022-05-18
read article
Feign com SOAP: uma PoC
read article
Make a Soap call in React js by a webservice
read article
Implementando um Serviço com SOAP, (HTTP e XML).
read article
Client for WebSockets based on Node.js
read article
Validando o schema de arquivos XML com .Net e C#
read article
Signing and verifying SOAP messages with wss4j and Scala
read article
Contract First Web Service Development in .NET
read article
Featured ones: