Questions tagged [wsdl2java]

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.

656 questions
6
votes
1 answer

Axis Marshaller

I have a group of classes that were created using wsdl2java (Axis 1.4) and am looking for a way to unmarshal and marshal the data from/to String and Object. I have written a JAXB unmarshaller that works well for some of our newer internal objects …
cmutt78
  • 861
  • 1
  • 9
  • 18
6
votes
1 answer

javax.xml.ws.WebServiceException: Port {http://tempuri.org/}WSHttpBinding_IDWService not found

I'm trying to consume a webservice in java, using a client generated from the wsdl file with wsdl2java. I'm using Eclipse version Helios and jdk 1.6.0_20, and I've generated the .class files using wsld2java with the options: "-d…
JJ T
  • 61
  • 1
  • 1
  • 2
6
votes
1 answer

Axis2 Namespace/Classpath Issue

I work on a web application that calls multiple web service clients from within its code. Each web service has some common namespaces, however I am currently mapping these namespaces to different packages when I generate each client e.g. Web Service…
ManoDestra
  • 6,325
  • 6
  • 26
  • 50
6
votes
2 answers

CXF: How to change package of WSDL imported XML Schema using JAXB external binding file?

I have a WSDL file which imports several XML Schemas, each of them having the same namespace (let's call it A). I'm trying to use a JAXB external binding file to change the generated package name (to let's say B) for those schemas. Here is an…
reef
  • 1,813
  • 2
  • 23
  • 36
6
votes
1 answer

cxf:cxf-codegen-plugin:2.1.2:wsdl2java failed:Illegal character in opaque part at index 2

I'm unable to use cxf:cxf-codegen-plugin to generate required sources from WSDL due to the following exception: [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.1.2:wsdl2java (generate-sources) on project innoclient: Execution…
kallada
  • 1,829
  • 4
  • 33
  • 64
6
votes
1 answer

CUCM AXL API wrong SoapAction

I want to make SQL query to CUCM DB. I generated Java classes from WSDL with Maven jaxb2 plugin, but Cisco AXL docs advice to use wsdl2java. I've got lot of Java classes with Req/Res endings (request and response as I understand). This is my…
6
votes
3 answers

apache cxf wsdl2java Failed to generate types->Access is denied

I'm struggling to fix this issue since 2013... I'm using Windows 7. [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.1.2:wsdl2java (generate-sources) on project service-data-model-provider: Execution generate-sources of goal…
Prem
  • 93
  • 1
  • 1
  • 5
6
votes
2 answers

maven wsdl2java configuration not working properly

I am looking to execute wsdl2java via maven and have tried several different methods with no full success. The first way I was doing it: org.codehaus.mojo exec-maven-plugin
eisbaer
  • 328
  • 1
  • 3
  • 10
6
votes
2 answers

Skip maven2 plugin by default

I am looking for a way to not have a plugin execute on install. More specifically, my scenario is as follows: I am using org.apache.cxf:cxf-codegen-plugin to generate source code. Every time I clean+install the source is generated I only want…
Octoberdan
  • 460
  • 5
  • 10
6
votes
2 answers

Apache Axis WSDL2Java error - Missing element

We are integrating a third party SOAP web services in our application. The WSDL is used with SOAPUI tool, where sample requests and responses worked fine. When we try to integrate with apache Axis 1.3, where we tried WSDL2JAVA with the WSDL. We…
Pearl
  • 61
  • 1
  • 1
  • 4
6
votes
1 answer

maven pom.xml complains that a execution cannot resolve dependencies but functions correctly

I have a Java project that uses a WSDL service. The pom gives an error (so there is the red X on my project) but everything builds and runs correctly. I am quite stumped, any ideas are appricated. Here is the trouble maker: < !-- WSDL stub…
riiich
  • 861
  • 8
  • 12
6
votes
2 answers

How WSDLToJava in cxf works?

'org.apache.cxf.tools.wsdlto.WSDLToJava' converts wsdl to java classes. Is it using JAXB internally?How come this command is able to generate classes like how 'xjc' creates?Can somebody explain me how it works?
sskumar86
  • 161
  • 1
  • 2
  • 13
6
votes
1 answer

IntelliJ Idea 11 - No menu to generate Java code from WSDL

Despite I enabled Web services support, I can not see "Generate Java code from WSDL" menu item in Tools -> WebServices. Do I need to install any plugin or something else for this?
talha06
  • 6,206
  • 21
  • 92
  • 147
6
votes
2 answers

Why is WSDL parser still importing external documents?

I tried to turn off importing documents in WSDL4J (1.6.2) in the way suggested by the API documentation: wsdlReader.setFeature("javax.wsdl.importDocuments", false); In fact, it stops importing XML schema files declared with wsdl:import tag, but…
dzieciou
  • 4,049
  • 8
  • 41
  • 85
6
votes
2 answers

How to dynamically autogenerate Java Beans from WSDL?

I would like to develop an application to test Web Services, which will automatically generate a JSF form using parameters from the provided WSDL. The WSDL URL is provided by user and I don't know the names of operations before parsing it. I would…
niutech
  • 28,923
  • 15
  • 96
  • 106