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
0
votes
1 answer

Change imported XSD package in WSDL2JAVA

SampleService.wsdl using WSDL2JAVA maven will generate a class SampleService.java and a POJO…
bharanitharan
  • 2,539
  • 5
  • 32
  • 30
0
votes
1 answer

CXF - webservice endpoint has changed, WSDL has not

My application used CXF WSDL2JAVA to generate the Java classes from a client supplied WSDL. They've now changed their webservice to have 3 additional string fields in the response. It would be a bit of rework for us to regenerate the java classes,…
Gribbler
  • 414
  • 1
  • 6
  • 21
0
votes
1 answer

How specify to Jaxb plugin to generate only one schema from wsdl

I use maven-jaxb2-plugin to generate classes from wsdl file. My wsdl fila has multiple schema entries, but i need only one. So is it possible to specify which shema i'd like to generate. maybe in pom.xml or xjb binding file ? My pop.xml…
Zygimantas Gatelis
  • 1,923
  • 2
  • 18
  • 27
0
votes
2 answers

Ant Build Issue: NoClassDefFoundError

I'm new to Ant and this application. I'm not able to decode this error message. C:\Eclipse\sources_int\external-sources>ant netstudy-generate-client Buildfile: C:\Eclipse\sources_int\external-sources\build.xml netstudy-generate-client: [delete]…
AppSensei
  • 8,270
  • 22
  • 71
  • 99
0
votes
1 answer

Client classes generated by cxf-codegen-plugin:wsdl2java missing Policies attached in WSDL

I used cxf-codegen-plugin to generate client classes: org.apache.cxf cxf-codegen-plugin 2.7.4
whz-pa
  • 25
  • 4
0
votes
1 answer

Axis 1.4.1 wsdl2Java Locator classes

I spend a good amount of time on rest services but not so much on SOAP services. So this might be a stupid question, but i am going to ask it anyway. I am building my wsdl files with wsdl2java (axis 1.4.1). The sample code I was given has a Service…
Jon C Crawley
  • 31
  • 2
  • 6
0
votes
0 answers

org.apache.axis2.AxisFault: unknown on connecting to web service from client

I am running into 'org.apache.axis2.AxisFault: unknown' exceptions when connecting to a web service from client stub. This is an axis 2 web service. Client and server side stubs were generated by using WSDL2Java. I used the below links to embed or…
Superman9999
  • 815
  • 3
  • 16
  • 30
0
votes
1 answer

Using axis 1.4 on server side and axis 2.0 on client side

I have a wsdl and xsd to create a web service. I am planning to use axis's wsdltojava to generate the stub and skeleton. The server side Axis is on 1.4 version and client side Axis is on version 2.0. In the initially phases of the project, we…
Superman9999
  • 815
  • 3
  • 16
  • 30
0
votes
1 answer

Using Maven and Apache CXF code-gen with different endpoints in testing and production

I have a Java web project that consumes a web service, using Apache CXF to generate the underlying code, based on the WSDL published by the service. I have a test version of the service for development and a production version. The endpoints of the…
Geeb
  • 631
  • 8
  • 19
0
votes
3 answers

wsdl2java error on generating the java classes

I'm trying to write a java SOAP client for a PHP SOAP server. For an easier start I would like to generate the java classes via wsdl2java, but unfortunately I'm getting the following error from wsdl2java. [edit] I forgot to mention, that I'm using…
Neithan
  • 171
  • 1
  • 3
  • 11
0
votes
1 answer

JAX-WS nillable schema validation for string does not seem to work

I have java code generated by apache CXF wsdl2java tool. I turn on schema validation by setting: In .wsdl file I have those kind of…
M314
  • 925
  • 3
  • 13
  • 37
0
votes
1 answer

Is there tool similar to CXF wsdl2java can generate client code for aegis?

CXF wsdl2java tool can generate client code which databinding is jaxb. It seems wsdl2java can not generate aegis code. Is there a similar tool can generate client code for aegis?
Joe Wu
  • 727
  • 1
  • 8
  • 14
0
votes
2 answers

Where to set username and password in a Web Service client?

I was provided this WSDL, and I have to develop a client for it (I've been making questions here about it lol).
Hikari
  • 3,797
  • 12
  • 47
  • 77
0
votes
3 answers

how to read file from client system with java? I have to use wsdl?

I want to read file from client system, I have path of client system where our file is generated, I want to use WSDL to do this functionality ... I am new to WSDL if any body already did please guide me how to read file from client system with WSDL…
Garudadwajan
  • 689
  • 4
  • 11
  • 24
0
votes
2 answers

Creating client jar from a WSDL

I am supposed to consume a SOAP service exposed by a third party. I have 2 basic questions w.r.t that: Q1. The WSDL needs a basic authentication to access through the browser. Now when I try creating the client jar using wsgen/WSDL2JAVA/ using…
user1912337
  • 1
  • 1
  • 2