jbossws

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

邮差的信 提交于 2021-02-07 07:58:26
问题 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 or port. I have modified the standalone.xml to specify the wsdl-host and allow modification of the WSDL URL. The webservices subsystem are as follows: <subsystem xmlns="urn:jboss:domain:webservices:1.2"> <wsdl-host>myhost.com</wsdl-host> <modify

How to have a HashMap as @WebParam with JBossWS 3.1.2

旧街凉风 提交于 2020-01-01 07:00:07
问题 I am trying to develop a web service with JBossWS 3.1.2 that has a HashMap as one of its arguments. I am using this version of JBossWS because that is what is distributed with the version of JBoss that I am using. I am using wsprovide to generate the WSDL and wsconsume to create WS client stubs. A simplified version of my WebService is: @WebService(targetNamespace = "http://localhost/ping", serviceName = "Ping") @SOAPBinding(style = SOAPBinding.Style.RPC) public class Ping { @WebMethod

Creating webservice and client with JBossWS using Complex objects as arguments and return types

喜欢而已 提交于 2019-12-24 20:27:12
问题 I am developing a WebService and Client for it using JBoss 5.1.0GA. The JBossWs stack was already preinstalled with the binary that I downloaded and as I understand it is JBossWs 3.1.2GA I have developed a web service using this setup and have also created a client successfully. This is what I have. A pojo web service deployed as a war file. @WebService public class Service{ @WebMethod public CompleObj getConfiguration() { CompleObj oConf = new CompleObj (); for (int i = 0; i < 10; i++) {

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

一曲冷凌霜 提交于 2019-12-17 15:37:32
问题 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 interfaces. this problem is related to the following location: at java.util.List at private java.util.List foobar.alkohol.register.webservice.jaxws.GetRelationsFromPersonResponse._return at foobar.alkohol.register.webservice.jaxws

wsimport multiple generated wsdl's

Deadly 提交于 2019-12-11 12:49:20
问题 I am using jbossws (with jax-ws) to serve 3 webservices generated from annotated POJOs. These 3 webservices share a few data classes and also have a common method ( ping ). They all reside in the same java package ( namespace ) The 3 WSDL files are generated automatically by jbossws at deploy time. Now I want to generate client code using wsimport. When I import the WSDL files one by one, this somehow works allthough there are some quirks ( ObjectFactory.java overwritten, @XmlSeeAlso not

Allow the RSA v1.5 Key Transport Algorithm for WildFly / JBossWS / CXF / WSS4J stack

夙愿已清 提交于 2019-12-10 10:57:58
问题 In response to a security advisory (see http://cxf.apache.org/note-on-cve-2011-1096.html) regarding the RSA v1.5 key transport algorithm, both CXF and WSS4J projects have disallowed use of all related algorithms by default. They have however supplied a configuration tag "ALLOW_RSA15_KEY_TRANSPORT_ALGORITHM" which should re-allow these algorithms (see https://ws.apache.org/wss4j/config.html) Our problem is getting these frameworks (JBossWS / CXF / WSS4J) to accept/use this configuration

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

半腔热情 提交于 2019-12-10 09:25:34
问题 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 http://schemas.xmlsoap.org/soap/http/. org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:115) org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:85) org.apache.cxf.endpoint.ServerImpl.<init>

Allow the RSA v1.5 Key Transport Algorithm for WildFly / JBossWS / CXF / WSS4J stack

为君一笑 提交于 2019-12-06 11:58:43
In response to a security advisory (see http://cxf.apache.org/note-on-cve-2011-1096.html ) regarding the RSA v1.5 key transport algorithm, both CXF and WSS4J projects have disallowed use of all related algorithms by default. They have however supplied a configuration tag "ALLOW_RSA15_KEY_TRANSPORT_ALGORITHM" which should re-allow these algorithms (see https://ws.apache.org/wss4j/config.html ) Our problem is getting these frameworks (JBossWS / CXF / WSS4J) to accept/use this configuration setting. We have tried using: jboss-webservice.xml custom CXF interceptor (setting the param after CXF

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

天涯浪子 提交于 2019-12-05 18:14:31
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 http://schemas.xmlsoap.org/soap/http/. org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:115) org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:85) org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69) org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:118) org

How to have a HashMap as @WebParam with JBossWS 3.1.2

自闭症网瘾萝莉.ら 提交于 2019-12-03 21:11:11
I am trying to develop a web service with JBossWS 3.1.2 that has a HashMap as one of its arguments. I am using this version of JBossWS because that is what is distributed with the version of JBoss that I am using. I am using wsprovide to generate the WSDL and wsconsume to create WS client stubs. A simplified version of my WebService is: @WebService(targetNamespace = "http://localhost/ping", serviceName = "Ping") @SOAPBinding(style = SOAPBinding.Style.RPC) public class Ping { @WebMethod @WebResult(name="result") public String ping(@WebParam(name="arguments") HashMap arguments) { return "pong";