[jboss-user] [JBoss Web Services] New message: "Re: Call a Web Service out of a Web Application"

T Refflinghaus do-not-reply at jboss.com
Thu Jan 14 07:08:58 EST 2010


User development,

A new message was posted in the thread "Call a Web Service out of a Web Application":

http://community.jboss.org/message/520009#520009

Author  : T Refflinghaus
Profile : http://community.jboss.org/people/Riffi

Message:
--------------------------------------------------------------
It seems to be an authentification problem with the glassfish server. The JBoss tries to use a authentification which the glassfish doesn't support. The glassfish server use a basic authentification. I installed the last JBOSSWS  3.2.2 GA an
got the following Stacktrace: 
12:45:41,546 WARNING [AssertionBuilderRegistryImpl] No assertion builder for type {http://schemas.xmlsoap.org/ws/2004/10/wsat}ATAlwaysCapability registered.
12:45:41,546 WARNING [AssertionBuilderRegistryImpl] No assertion builder for type {http://schemas.xmlsoap.org/ws/2004/10/wsat}ATAssertion registered.
12:45:41,562 WARNING [PhaseInterceptorChain] Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: None of the policy alternatives can be satisfied.
    at org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:47)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:483)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:309)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:261)
    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
    at $Proxy412.getNewDocumentList(Unknown Source)
    at com.ods.eva3.pda.xml.sql.webservice.PdaWebService.getNewDocumentList(PdaWebService.java:403)
    at com.ods.eva3.pda.PDA_XmlImportieren.doImportieren(PDA_XmlImportieren.java:54)
    at com.optadata.evasync.PDAImportExportThread.syncClient(PDAImportExportThread.java:87)
    at com.optadata.evasync.PDAImportExportThread.run(PDAImportExportThread.java:58)
Caused by: org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied.
    at org.apache.cxf.ws.policy.EffectivePolicyImpl.chooseAlternative(EffectivePolicyImpl.java:151)
    at org.apache.cxf.ws.policy.EffectivePolicyImpl.initialise(EffectivePolicyImpl.java:87)
    at org.apache.cxf.ws.policy.PolicyEngineImpl.getEffectiveClientRequestPolicy(PolicyEngineImpl.java:155)
    at org.apache.cxf.ws.policy.PolicyOutInterceptor.handle(PolicyOutInterceptor.java:110)
    at org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:45)
    ... 11 more
12:45:42,828 SEVERE [global] null Es konnte keine Dokumentenliste herruntergeladen werden!
javax.xml.ws.soap.SOAPFaultException: None of the policy alternatives can be satisfied.
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
    at $Proxy412.getNewDocumentList(Unknown Source)
    at com.ods.eva3.pda.xml.sql.webservice.PdaWebService.getNewDocumentList(PdaWebService.java:403)
    at com.ods.eva3.pda.PDA_XmlImportieren.doImportieren(PDA_XmlImportieren.java:54)
    at com.optadata.evasync.PDAImportExportThread.syncClient(PDAImportExportThread.java:87)
    at com.optadata.evasync.PDAImportExportThread.run(PDAImportExportThread.java:58)
Caused by: org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied.
    at org.apache.cxf.ws.policy.EffectivePolicyImpl.chooseAlternative(EffectivePolicyImpl.java:151)
    at org.apache.cxf.ws.policy.EffectivePolicyImpl.initialise(EffectivePolicyImpl.java:87)
    at org.apache.cxf.ws.policy.PolicyEngineImpl.getEffectiveClientRequestPolicy(PolicyEngineImpl.java:155)
    at org.apache.cxf.ws.policy.PolicyOutInterceptor.handle(PolicyOutInterceptor.java:110)
    at org.apache.cxf.ws.policy.AbstractPolicyInterceptor.handleMessage(AbstractPolicyInterceptor.java:45)
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:483)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:309)
    at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:261)
    at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
    ... 5 more

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/520009#520009




More information about the jboss-user mailing list