Questions tagged [wsgen]

wsgen - Reads a web service endpoint implementation (SEI) class and generates all of the required artifacts for web service deployment, and invocation.

79 questions
1
vote
1 answer

Generate JAX-WS classes using wsgen plugin

I am trying to generate the wsdl and the classes to publish the service but when I try to publish and run the generated classes these ones missmatch the current java compiler version. I am using eclipse Eclipse version 2021-12 jdk1.8.0_321 If I…
Corvas
  • 11
  • 3
1
vote
2 answers

Compilation failure while executing wsgen task using maven 3.0.3

I am trying to get the NHIN-Direct Secure email gateway to compile. One of the projects craps out with the following error. [ERROR] Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:1.12:wsgen (default) on project config-service:…
MSVictim4_0
  • 11
  • 1
  • 3
1
vote
1 answer

CXF-SOAP gradle-plugin that works in java-11?

We have a CXF-SOAP service built with gradle, and trying to migrate it from java-8 to java-11. Is there any cxf-plugin for gradle available, that works under java-11? Or any demo/example of a cxf/soap-application that works under java-11 would also…
Rop
  • 3,359
  • 3
  • 38
  • 59
1
vote
1 answer

Command Line is too long when generating JAX-WS in Rational Application Developer

I am using IBM's RAD which is basically eclipse in most respects. We're on version 9.5. We've generated web services with the wizard before, but not recently. We think not since we upgraded to 9.5. Now we have a need to add to our web services…
Entropy
  • 1,219
  • 6
  • 21
  • 45
1
vote
1 answer

WSGEN error: compilation failed, errors should have been reported

I use this command from CMD and I just receive this "compilation failed" error. Even if I use the verbose option. What could be wrong? C:\work\test\WSDLGenerator\target\classes>wsgen -cp . US.ESB.WebService.General.General_GetProducts -wsdl -verbose…
user2287094
  • 267
  • 4
  • 13
1
vote
0 answers

Running ANT with Different JDKs via EXEC (APT/WSGEN workaround)

I hope this finds an ANT build master who has some experience running ANT with different JDK versions concurrently! I have inherited a fairly old set of libraries & ANT build files that currently work under Java 6/7. In attempting to modernize this…
J.M.
  • 11
  • 1
1
vote
0 answers

Wsgen cannot produce wsdl that uses com.sun.xml.ws.developer.StreamingAttachment

I'm having a very weird issue with a jax-ws web service class that we use. When I deploy the application on Tomcat, it properly generates the .wsdl file and I can access it from localhost:8080/server/MyWebservice?wsdl. However if I try to generate…
PentaKon
  • 4,139
  • 5
  • 43
  • 80
1
vote
0 answers

com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses unable to instantiate class

I am getting java.lang.UnsupportedClassVersionError: error while trying to deploy and start my war in WAS 8.5 server. I went through several issue which says it is due to version conflict of compiled jdk(1.7) and the running jre. But in my case…
vibhas
  • 1,449
  • 4
  • 18
  • 32
1
vote
1 answer

Execution basic of goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsgen failed

I am using Eclipse-Mars for JAX-WS Web Service, Maven based project which is on this link While I was running maven install org.jvnet.jax-ws-commons
MS Ibrahim
  • 1,789
  • 1
  • 16
  • 28
1
vote
1 answer

Create Client classes with wsgen

I have a wsdl reachable through an url. I'd like to generate client classes for using this web service using wsgen. How I can do it using as a parameter the wsdl url only? Thank you!
user448215
  • 11
  • 3
1
vote
1 answer

maven, wsgen and dynamic url

After implementing a test solution described here : Use Maven to trigger a wsgen & wsimport in a row, using wsdlLocation I wonder if there is a way to generate the client jar without knowing the WS URL, so that it would be usable against any similar…
benji
  • 2,331
  • 6
  • 33
  • 62
1
vote
1 answer

Java8 cannot use wsgen with a webservice endpoint that extends another class (Works with Java7)

I'm trying to use wsgen to generate wsdl files. If my webservice class extends another class I get an error but if I remove the extends it works. This is the error message: error: compilation failed, errors should have been reported Also wsgen…
Ali
  • 808
  • 2
  • 11
  • 20
1
vote
1 answer

Is it possible to keep enum values when using wsgen?

When I use wsgen on this java file public enum DayCountConventionMethod { METHOD_ACTUAL_360("Actual 360"), METHOD_ACTUAL_365("Actual 365"); private final String value; private DayCountConventionMethod(String value) { this.value…
sahst
  • 11
  • 1
1
vote
2 answers

JAX/WS wsgen is not generating

I have a problem like this ; Could you please help me if you know the reason? I m trying to generate jaxb classes for input and out types using wsgen command line utility.
nurdan karaman
  • 203
  • 2
  • 4
  • 13
1
vote
1 answer

wsgen limitations : what constructs to avoid

I'm creating a webservice using JAX-WS's (JSR 224's) @WebService and @WebMethod annotations. Although I've found the specification, I can't find the limitations I'm running into documented anywhere. Here's what I've stumbled across so far using…
Kaleb Pederson
  • 45,767
  • 19
  • 102
  • 147