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
3
votes
6 answers

Axis2 Web Service Client Generation - Types without modifying the client

Is it possible with Axis2 and Eclipse to generate a Web Service client and have it use java types that you already have in packages instead of creating it's own types. Reason being of course if I have type A already created and it creates it's own…
Shane
  • 467
  • 1
  • 4
  • 12
3
votes
0 answers

Consuming old axis generated WSDL

I am trying to generate the java stubs for the following WSDL http://telviva.com/local/telvivaapi.wsdl If I try and use CXF I get the following error: WSDLToJava Error: Rpc/encoded wsdls are not supported with CXF Many forums online say I need to…
Clinton Bosch
  • 2,497
  • 4
  • 32
  • 46
3
votes
1 answer

cxf wsdl2java generate 'protected' attributes, how to generate private ones?

I'm using cxf-codegen-plugin (maven) with wsdl2java goal to generate the java code from my wsdl. The problem is that it generates protected attributes when I want private attributes: My wsdl element:
Jerome VDL
  • 3,376
  • 4
  • 32
  • 33
3
votes
1 answer

Apache CXF :: wsdl2java ignoring catalog configuration for public entries

I am using Apache CXF 2.7.6 wsdl2java and it seems that the tool ignores or fails to find public catalog entries. In particular I have the following in one of my XSD files:
Marcus Junius Brutus
  • 26,087
  • 41
  • 189
  • 331
3
votes
0 answers

Maven CXF wsdl2java list setter not generated

tested few options to generate setters on collections from wsdl2java with CXF. wsdl2java generate-jaxb
seolia
  • 55
  • 1
  • 5
3
votes
1 answer

generating stubs from wsdl using axis 2 for client

I am a new bie to the world of webservices , I have to develop the client side code that is the java code,I have been provided a wsdl which I can see by opening that wsdl in the browser , As i have access to wsdl , I am using Axis 2 , I have to use…
Saral Saxena
  • 123
  • 2
  • 2
  • 10
3
votes
1 answer

Creating web service (not web service client) from WSDL file

I have a requirement, according to which i have to create an Axis2 Web service based on a wsdl file. I already got the wsdl file. I have been using wsdl2java earlier to create web service client but i don't know how to create web service using the…
Abhishek Kapoor
  • 125
  • 1
  • 11
3
votes
2 answers

Can't generate java classes from wsdl using wsdl2java

I have the this wsdl document generated from a .NET application using StackService. I'm using Apache CXF in order to get some generated java classes. I'm running the following command (windows): D:\SomePath>wsdl2java -d d:\temp…
Androiderson
  • 16,865
  • 6
  • 62
  • 72
3
votes
0 answers
3
votes
1 answer

How does CXF translate WSDL's localhost to actual server URL?

All WSDLs I have seen so far, use localhost to describe the services address. e.g.:
Withheld
  • 4,603
  • 10
  • 45
  • 76
3
votes
1 answer

How to configure JAXB XJC binding file (with CXF) to generate java DataHandler type with WDSL MTOM?

What do I have to put in the XJC external binding file such that it generates the DataHandler type from a XSD type base64Binary when MTOM is enabled in WSDL? According to the CXF doc (enter link description here) it can be enabled by adding…
edbras
  • 4,145
  • 9
  • 41
  • 78
3
votes
4 answers

Annotating CXF (wsdl2java) generated package

I need to add package level annotation (XmlJavaTypeAdapters type adapter). The problem is that when I run wsdl2java it generates package-info.java file for that package. When I try to add my own package-info.java I get error: "the type package-ingo…
lbednaszynski
  • 678
  • 2
  • 12
  • 24
3
votes
2 answers

Getting exception java.lang.NoSuchMethodError: org.apache.neethi.Constants.isPolicyElement

I'm connecting to a web service over SSL. I imported the certificate and added it to the java keystore. Then i created the client stub for the web service using wsdl2java. when i use this in a program and try to invoke the service it throws…
Chamila Adhikarinayake
  • 3,588
  • 5
  • 25
  • 32
3
votes
1 answer

Marshal not @XmlRootElement with JAXB to String

I need to marshal one JAXB generated object to String. The problem is that it does not have an @XmlRootElement annotation. It is not a root element. The element in XSD looks like this:
Paulius Matulionis
  • 23,085
  • 22
  • 103
  • 143
3
votes
3 answers

Interface is not visible from class loader

I'm new to play! framework and using wsdl2java tools. I'm developing a play! application that needs to interact with a SOAP webservice. I have the WSDL and created objects from it using jaxws. It's creating a bunch of java classes and 1 interface.…
Razzie
  • 30,834
  • 11
  • 63
  • 78