[JBoss JIRA] Created: (JBWS-3231) policy alternatives can not be satisfied
by Richard Opalka (JIRA)
policy alternatives can not be satisfied
----------------------------------------
Key: JBWS-3231
URL: https://issues.jboss.org/browse/JBWS-3231
Project: JBoss Web Services
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Reporter: Richard Opalka
Fix For: jbossws-cxf-4.0
testMtomWithProxy(org.jboss.test.ws.jaxws.samples.mtom.MtomTestCase) Time elapsed: 0.132 sec <<< ERROR!
javax.xml.ws.soap.SOAPFaultException: These policy alternatives can not be satisfied:.
{http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization}OptimizedMimeSerialization
<------>at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
<------>at $Proxy45.sayHello(Unknown Source)
<------>at org.jboss.test.ws.jaxws.samples.mtom.MtomTestCase.testMtomWithProxy(MtomTestCase.java:61)
Caused by: org.apache.cxf.binding.soap.SoapFault: These policy alternatives can not be satisfied:.
{http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization}OptimizedMimeSerialization
<------>at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75)
<------>at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46)
<------>at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)
<------>at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
<------>at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:99)
<------>at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
<------>at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
<------>at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
<------>at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:755)
<------>at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2335)
<------>at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2193)
<------>at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:2037)
<------>at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
<------>at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:697)
<------>at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
<------>at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
<------>at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
<------>at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
<------>at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
<------>at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
<------>at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
<------>... 32 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (JBWS-3236) Ensure JBossWSBusFactory is built properly on AS7
by Alessio Soldano (JIRA)
Ensure JBossWSBusFactory is built properly on AS7
-------------------------------------------------
Key: JBWS-3236
URL: https://issues.jboss.org/browse/JBWS-3236
Project: JBoss Web Services
Issue Type: Task
Security Level: Public (Everyone can see)
Components: jbossws-cxf
Reporter: Alessio Soldano
Assignee: Alessio Soldano
Fix For: jbossws-cxf-4.0
The BusFactory build process is heavily influenced by the TCCL setup. We need to ensure that at least when the JBossWS flavour of the bus is being built, the whole dependency set is used. This means making sure all the cxf components are visible in the used classloader, as well as the jbossws customizations.
- set services="export" on jbossws-cxf-factories dependency in jaxws-client module?
- overwrite TCCL in JBossWSBusFactory when building?
- try BusFactory.newInstance() in basic servlet (see the cxf testsuite endorse testcase) having Dependencies: org.jboss.ws.jaxws-client services in MANIFEST.MF
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months