Command line interface to the java2wsdl utility
Questions tagged [java2wsdl]
36 questions
1
vote
1 answer
@XmlSchemaType for ObjectFactory method
I have a XSD choice, both of them being of type javax.xml.datatype.XMLGregorianCalendar. As recommended, I have used the ObjectFactory and JAXBElement to differentiate between the two choices.
@XmlElementDecl(namespace = "http://me.com/1.0/api",…

Nisarg Shah
- 73
- 5
1
vote
2 answers
Why is server-config.wsdd not being created by the eclipse web services wizard?
I am using eclipse (Juno) to develop a web service for Tomcat 7 and Axis2. I have a java bean which I want to use to create the web service. The web service wizard seems to run ok but when the server starts I get this error message:
2012-11-08…

paul
- 13,312
- 23
- 81
- 144
0
votes
0 answers
Automaticly regeneration WSDL after update with AXIS 1.4
So i have w java project with AXIS 1.4 generated WSDL on eclipse
usually when i update a webService java class, i have to manually regenerate the new WSDL on eclipse before creating the new war file with maven clean install
Is there a way to make…

karDEVproj
- 11
- 4
0
votes
0 answers
wsdl schema namespace prefix is changing in different environments - AXIS2
I deployed a component having SOAP webservices in an Open Nebula recently. After deployment, we noticed the WSDL responses to be having a different namespace prefix
Problem: AlertBot was expecting to see
TEST
but, it…
0
votes
0 answers
How do i remove the tags from getting generated from my wsdl?
I need to generate a soap request like the below one :
Something
…

she_be_me
- 79
- 1
- 3
- 9
0
votes
0 answers
cxf-java2ws-plugin java2ws getting error org.apache.maven.lifecycle.LifecycleExecutionException:
I am new to cxf, and getting this error when I run mvn clean install -e with Maven plugin cxf-java2ws-plugin.
Here is my pom.xml:
2.2.2
2.5.6
…

Nasser Boukehil
- 401
- 2
- 8
- 18
0
votes
1 answer
XmlAnyElement lax = true any object returns list in SOAP UI but when consuming the service in JAVA get only the last object
I expect a list in response but i am getting only the last item expected from the list. what could i be doing wrong?
Wsdl part:

Sohaib Jamal
- 35
- 1
- 8
0
votes
1 answer
Top Down EJB Web Service Eclipse
I'm trying to create a Web Service Skeleton using the EJB but I don't see any options. How can get those options and create Top down EJB Web service using the Eclipse? I'm using Eclipse Neon.

iLearn
- 991
- 1
- 13
- 27
0
votes
1 answer
why void return method and throws no exception methods are not considered as one way operation by default in jax-ws?
I know that jaxws 2.2 specification says that all public non-static non-final method on a SEI which does not have WebMethod annotation with exclude as true, should be mapped to wsdl:operation elements.
It also says only the methods annotated with…

Senthilkumar Annadurai
- 412
- 1
- 4
- 17
0
votes
1 answer
What is the alternative solution for @javax.jws.WebMethod(exclude=true)?
In process of up-gradation CXF jars from 2.2.12 to 3.1.6, I am facing issue with "exclude=true" attribute in @javax.jws.WebMethod annotation while building my project. I am getting following exception.
[java] Error: java.lang.RuntimeException:
…

Sunny Gujarati
- 71
- 5
0
votes
0 answers
Not able to convert POJO to WSDL using java2wsdl.Getting noclassfound error
I read through the articles for converting java2wsdl using axis2. I have set the classpath to the directory where the jar created by Netbeans is located.
C:\axis2-1.7.1\bin\java2wsdl.bat -cp…
0
votes
1 answer
Can we default value in bean so even after WSDL generation the value will be retained?
I have a property
private boolean submitRequests = true;
but when WSDL is generated the resulting bean does not retain the default "true" value. Is there a way or any annotation which can make it retain the default value?

Shruti Rawat
- 687
- 6
- 11
- 24
0
votes
1 answer
how to find WSDL generated with java2wsdl
I am using below command but i dont know where the WSDL file s created
java2ws -o Customer.wsdl -d C:\OMG -t http://customeroffer.manage.ws.usddomega.alu.com -cp C:\omg\classes …

RaG
- 317
- 7
- 19
0
votes
1 answer
How to create soap request template using java
I want to create soap template for give WSDL(the WSDL will change).I want to create a soap template like SoupUI.Steps I need
1.User will give the give the URL
2.Parse the WSDL
3.Create soap template for soap request
4.for Given WSDL I need to create…

user3157084
- 159
- 1
- 3
- 8
0
votes
1 answer
Axis2 service and primitive parameters (issue with C# client)
I deployed "hello world" service (Tomcat + Axis2):
public class ServerLogic {
public int add(int x, int y) {
return x + y;
}
}
But Axis2 generated WSDL like this:
…

Alexander Kholodovitch
- 353
- 3
- 9