[jbosstools-issues] [JBoss JIRA] (JBIDE-16427) Set Wildfly 8 java web services runtime to JBossWS/CXF from JAXWS RI
Brian Fitzpatrick (JIRA)
issues at jboss.org
Wed Feb 5 09:44:29 EST 2014
[ https://issues.jboss.org/browse/JBIDE-16427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12941535#comment-12941535 ]
Brian Fitzpatrick commented on JBIDE-16427:
-------------------------------------------
Never mind - I was able to reproduce here.
{code}
Feb 05, 2014 7:43:39 AM [com.sun.xml.internal.ws.policy.EffectiveAlternativeSelector] selectAlternatives
WARNING: WSP0075: Policy assertion "{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SymmetricBinding" was evaluated as "UNKNOWN".
Feb 05, 2014 7:43:39 AM [com.sun.xml.internal.ws.policy.EffectiveAlternativeSelector] selectAlternatives
WARNING: WSP0075: Policy assertion "{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}Wss11" was evaluated as "UNKNOWN".
Feb 05, 2014 7:43:39 AM [com.sun.xml.internal.ws.policy.EffectiveAlternativeSelector] selectAlternatives
WARNING: WSP0019: Suboptimal policy alternative selected on the client side with fitness "UNKNOWN".
Feb 05, 2014 7:43:39 AM [com.sun.xml.internal.ws.policy.EffectiveAlternativeSelector] selectAlternatives
WARNING: WSP0075: Policy assertion "{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}EncryptedParts" was evaluated as "UNKNOWN".
Feb 05, 2014 7:43:39 AM [com.sun.xml.internal.ws.policy.EffectiveAlternativeSelector] selectAlternatives
WARNING: WSP0075: Policy assertion "{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts" was evaluated as "UNKNOWN".
Feb 05, 2014 7:43:39 AM [com.sun.xml.internal.ws.policy.EffectiveAlternativeSelector] selectAlternatives
WARNING: WSP0019: Suboptimal policy alternative selected on the client side with fitness "UNKNOWN".
Feb 05, 2014 7:43:39 AM [com.sun.xml.internal.ws.policy.EffectiveAlternativeSelector] selectAlternatives
WARNING: WSP0075: Policy assertion "{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}EncryptedParts" was evaluated as "UNKNOWN".
Feb 05, 2014 7:43:39 AM [com.sun.xml.internal.ws.policy.EffectiveAlternativeSelector] selectAlternatives
WARNING: WSP0075: Policy assertion "{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts" was evaluated as "UNKNOWN".
Feb 05, 2014 7:43:39 AM [com.sun.xml.internal.ws.policy.EffectiveAlternativeSelector] selectAlternatives
WARNING: WSP0019: Suboptimal policy alternative selected on the client side with fitness "UNKNOWN".
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: com.aaa.ws.KeystorePasswordCallback from [Module "org.apache.cxf.impl:main" from local module loader @17a07ac (finder: local module finder @8de768 (roots: C:\Runtimes3\wildfly-https\modules,C:\Runtimes3\wildfly-https\modules\system\layers\base))]
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:129)
at $Proxy23.sayHello(Unknown Source)
at com.aaa.wss.WSClient.callMethd(WSClient.java:55)
at com.aaa.wss.WSClient.main(WSClient.java:62)
{code}
> Set Wildfly 8 java web services runtime to JBossWS/CXF from JAXWS RI
> --------------------------------------------------------------------
>
> Key: JBIDE-16427
> URL: https://issues.jboss.org/browse/JBIDE-16427
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.1.1.Final
> Reporter: Joseph Hwang
> Assignee: Brian Fitzpatrick
> Fix For: 4.1.x, 4.2.x
>
> Attachments: WSSHelloWorld.zip
>
>
> I implement Java Web Services with wildfly 8 and eclipse kepler jboss tools with the reference site https://docs.jboss.org/author/display/JBWS/WS-Security .
> The deployment and generated client codes works well. But the the problem is web services runtime is JAXWS RI, not JBossWS/CXF. The eclipse console show the following message,
>
> INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (default taskextensions/wssecurity}HelloWorldService from WSDL: http://localhost:8080/WSSHelloWorld/HelloWorld?wsdl
>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean class is involved in <WILDFLY_HOME>\modules\system\layers\base\org\apache\cxf\impl\main\cxf-rt-core-2.7.7.jar file of JAXWS RI.
> So the configuration of web services mentioned in above reference site are useless, does not work at all.
> But the same project works well with JBoss EAP 6.1.1 and eclipse kepler jboss tools.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list