Questions tagged [jbossws]

JBossWS features include many specifications / standards implementations as well as additional features, options, tools to improve ease of use, endpoint management and monitoring, etc.

JBossWS features include many specifications / standards implementations as well as additional features, options, tools to improve ease of use, endpoint management and monitoring, etc.

81 questions
52
votes
5 answers

java.util.List is an interface, and JAXB can't handle interfaces

I seemed to get the following exception when trying to deploy my application: Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions java.util.List is an interface, and JAXB can't handle…
Shervin Asgari
  • 23,901
  • 30
  • 103
  • 143
38
votes
4 answers

IllegalAnnotationException: Two classes have the same XML type name

I am developing web service under JBoss 5 and Java 1.6. What could possibly cause this exception? Below is my simplified web service code. @Stateless @WebService() public class AccountWS { @WebMethod() public CreateAccountResponse…
Rosdi Kasim
  • 24,267
  • 23
  • 130
  • 154
10
votes
1 answer

How to get SOAP fault's faultcode when handling custom fault exception

Our system consumes SOAP Web Service, using JAX-WS client stubs generated based on service's WSDL. In case of error server returns SOAP faults like this:
Nikoloz
  • 453
  • 1
  • 3
  • 11
6
votes
3 answers

Use native Java SE 6 JAX-WS implementation instead of JBoss WS stack

JBoss 6.0 Final is shipped with JBoss WS (Apache CXF stack by default), I know that I can replace the default implementation with the respective JBoss WS Native or Metro versions from JBossWS downloads site. The problem is, I've a client jar library…
Anthony Accioly
  • 21,918
  • 9
  • 70
  • 118
5
votes
4 answers

org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http/

In a wsdl-file I have the following line: When I deploy the webapplication (on JBOSS 5.1.0) and try to access the wsdl I get the following exception: org.apache.cxf.BusException: No DestinationFactory was found for the namespace…
aksamit
  • 2,325
  • 8
  • 28
  • 40
4
votes
0 answers

Wildfly 10 JBossWS SOAP address rewrite for wsdl-uri-scheme=https for nested XML schema documents (XSD) referenced by the WSDL behind reverse proxy

NOTE: Cross post from developer.jboss.org We have Wildfly 10 configured behind NGINX as a reverse proxy for handling the SSL requirements of the web service. Wildfly serves everything as plain HTTP and NGINX handles the HTTPS side of the request. We…
nicoschl
  • 2,346
  • 1
  • 17
  • 17
4
votes
2 answers

Cannot deploy my application on OpenShift: "Failed to execute: 'control deploy' for /var/lib/openshift/XXX/jbossews"

When pushing new changes to my OpenShift repository, the application gets well built but cannot get deployed: Repository ssh://XXX@myapp-mydomain.rhcloud.com/~/git/app.git/ The jbossews cartridge is already stopped Stopping MongoDB…
sp00m
  • 47,968
  • 31
  • 142
  • 252
4
votes
1 answer

WildFly 8.2.0, JBossWS using reverse proxy generates incorrect https soap:address

My setup is a apache server on https acting as a reverse proxy to WildFly 8.2.0 responding on port 8080. The web service is created using the bottom up approach via annotations. The soap:address that is generated does not have the correct protocol…
Lloyd Meinholz
  • 2,580
  • 1
  • 22
  • 20
3
votes
1 answer

Get IP address in JBoss Web Service

I developed a java class with an only method and turned into web service (JBOSS) using JBossWS. I would like to get the IP address of the client who started the request. (I'm not using jsp) public String getMyIP() { //get IP from client from…
Hectoret
  • 3,553
  • 13
  • 49
  • 56
3
votes
1 answer

Not able to create client for web service in java

`I am using JBossWS as runtime environment and server configuration as JBoss AS 4.2 As I click on Finish button for creating client , I get teh following error: java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/cmd/WSConsume Caused by:…
3
votes
1 answer

Where to put jboss-web.xml for ejb-jar?

We have the following situation: We have a SOAP WebService that is implemented using JBossWS. It is an EJB inside an EJB JAR inside an EAR. We have set up a second dedicated server with a dedicated port inside the undertow subsystem of Wildfly. We…
Philippe Marschall
  • 4,452
  • 1
  • 34
  • 52
3
votes
1 answer

Spring configuration in JBossWS

I'm trying to expose a web service using JBossWS (native stack) and also take advantage of Spring's dependency injection. Here is a scrubbed down version of my code: web.xml:
bhinks
  • 1,359
  • 1
  • 9
  • 14
3
votes
0 answers

Override endpoint URL using @WebServiceRef on EJB via XML in JBoss AS7.x

In JBoss 5, I could do the following: @Stateless public class MyServiceBean implements MyService { @WebServiceRef(name = "services/MyWebService") MyWebPort myWebService; ... } and override myWebService endpoint URL in…
Xavier Dury
  • 1,530
  • 1
  • 16
  • 23
3
votes
5 answers

NPE in JBossWS on JBoss 4.2.2 with jmxremote enabled

I am trying to set up JBoss 4.2.2 and JConsole for remote monitoring. As per many of the how-to's I have found on the web to do this you need to enable jmxremote by setting the following options in run.conf. (I realize the other two opts disable…
Jeremy
  • 2,870
  • 3
  • 23
  • 31
3
votes
1 answer

Prevent Enum in Java XML Web Services

I love Enum for the type safety and also it makes code much more readable. I always make use of Enum whenever I get the chance. Problem started when I need to expose these codes as web services. For example, if I have an enum like this: public enum…
Rosdi Kasim
  • 24,267
  • 23
  • 130
  • 154
1
2 3 4 5 6