Questions tagged [jax-ws-customization]

JAX-WS customization allows to setup WSDL to Java mapping (override endpoint interface and exception class name, method names, parameter names, package name) and to control certain features (wrapping style, asynchronous calls).

66 questions
2
votes
0 answers

Adding prefix for all package names while using wsimport ant task

I am using wsimport ant task to generate client codes. As known, the package names of auto-generated classes are determined according to the namespaces located in WSDL. I want to change these package names and add prefix for package names. For…
Muratovic
  • 21
  • 4
2
votes
1 answer

Combine JAXWS and JAXB bindings

I'm customizing JAXB beans generated by an WSDL file with jaxws-maven-plugin. To customize them I'm using a binding file. Basically I want: Prevent the generation of JAXBElement Customize some element names My bindings file is:
lujop
  • 13,504
  • 9
  • 62
  • 95
2
votes
2 answers

How to put SAML token directly into JAX-WS service without calling STSClient

Last year I made JAX-WS client for a web service in this link This webservice use a STS service to get SAML token and use it to access main webservice. I use wsdl2java of apache cxf to generate JAX-WS client for this webservice. Everything was just…
2
votes
0 answers

Using JAXB binding extensions in wsimport

I know how to enable extensions in a plain JAXB bindings file - list them in the root element's extensionBindingPrefixes:
OrangeDog
  • 36,653
  • 12
  • 122
  • 207
2
votes
1 answer

Integration of jaxb binding file using CXF to generate client based on WSDL

I am trying to incorporate a JAXB binding file when using CXF XJC plugin to call wsdl2java. So I actually am generating the wsdl and using -createxsdimports to create external schema files so I can then execute the JAXB binding on that specific…
mstelz
  • 610
  • 4
  • 9
  • 19
2
votes
0 answers

wsdl2java: Add Annotation to WebService Method or let WebService extend an interface

We are currently working on a platform that uses SOAP with a WSDL interface. We take the top-down approach and generate java classes from the WSDL with JAX-WS. What I would like to do is to add annotations to methods of the created WebService…
nanoquack
  • 949
  • 2
  • 9
  • 26
2
votes
0 answers

Configuring a web-service as data source in jasper report

Can some one provide me with the steps to configure a web-service as a data source in jasper reports I read about implementation of custom data source but could not find any example explaining the steps in detail.
2
votes
3 answers

Deploying JAX-WS webapp in Tomcat 7

I am developing simple JAX-WS webservice. I am creating WAR file using ANT build script. The file when deployed to Tomcat 7 server, throws following exception and there is deployment error as follows. JAXB 2.1 API is being loaded from the bootstrap…
RickDavis
  • 2,276
  • 6
  • 25
  • 31
1
vote
0 answers

How to Customize @XmlType with jaxws-maven-plugin

I am using jaxws-maven-plugin to generate Java stubs from a WSDL file using the Java API for XML Web Services (JAX-WS) specification. I have a repo that reproduces the following issue on GitHub:…
1
vote
0 answers

JAX-WS - a: prefix in XML tag for Lists

we are upgrading webservices from Java 6 to Java 8 and from JAX-RS to JAX-WS. After the code upgrade, we noticed that the responses changes when the object involved is a List. Old responses are like…
1
vote
0 answers

How to bind multiple wsdl files?

I working on upgrading the services offered by a certain customer via WSDL files. These services were offered in a single WSDL file in prior version, for which I had single bindings.xml file to handle customization part. Now, these services are…
1
vote
1 answer

Generate Java code from WSDL file

I am new to Java. I am trying to create SOAP Web service client to consume a vendors webservice which requires username password and ssl certificate. A vendor provided me SoapUI project file. I imported the project file in SoapUI and ran the tests.…
Alex K
  • 39
  • 1
  • 1
  • 8
1
vote
0 answers

Calling CXF client from jsp for https is getting org.apache.cxf.service.factory.ServiceConstructionException

I am using JBoss 5.1 GA server and configured SSL in server.xml like below. Calling my CXF client from jsp is getting the below error: org.apache.cxf.service.factory.ServiceConstructionException Please help me to resolve this error. One more thing…
B Ravi
  • 11
  • 1
1
vote
0 answers

jax-ws maven plugin wsimport error processing external binding file

Environment : JAX-WS Metro 2.2.8 Tomcat 6 JAX-WS maven plugin 2.3 Eclipse Juno Issue : I not able to generate client side artifacts using jax-ws maven plugin with external binding file. Below is my binding.xml file :
Atul
  • 1,560
  • 5
  • 30
  • 75
1
vote
1 answer

cxf jax-ws no complexType for subclasses while using generic method

I am not quite familiar with CXF configuration. Here I am encountering a situation that a object (subclass) is going to be used for client but it does not declare in Endpoint. For example, there is a super class "SuperClass" and two subclasses…
fmchan
  • 760
  • 1
  • 11
  • 29