Author: dkulp
Date: Thu Jan 22 13:25:22 2009
New Revision: 736799
URL: http://svn.apache.org/viewvc?rev=736799&view=rev
Log:
Diagnose more non-working cases
Modified:
cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java
cxf/sandbox/interopfest/wstrust13/src/main/resources/etc/client.xml
Modified:
cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java
URL:
http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java?rev=736799&r1=736798&r2=736799&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java
(original)
+++ cxf/sandbox/interopfest/wstrust13/src/main/java/interop/client/Client.java
Thu Jan 22 13:25:22 2009
@@ -79,10 +79,14 @@
//"CustomBinding_IPingServiceContract2",
//NOT WORKING [1]
//"CustomBinding_IPingServiceContract3",
//NOT WORKING - SecureConversation
//"CustomBinding_IPingServiceContract4",
//NOT WORKING -[2]
+ //"CustomBinding_IPingServiceContract5",
//NOT WORKING -[2]
+ //"CustomBinding_IPingServiceContract7",
//NOT WORKING - service not running on given port
+ "CustomBinding_IPingServiceContract8",
+ //"CustomBinding_IPingServiceContract9",
//NOT WORKING - SecureConversation
};
}
- //argv = new String[] {argv[3]};
+ //argv = new String[] {argv[0]};
Bus b = new SpringBusFactory().createBus("etc/client.xml");
List<String> results = new ArrayList<String>(argv.length);
@@ -151,7 +155,7 @@
<trust:KeyType
xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://docs.oasis-open.org/ws-sx/ws-trust/200512/PublicKey</trust:KeyType>
but the "sample" produced from their online tool sends SymetricKey
-[2] OasisScenario9 (CustomBinding_IPingServiceContract4) isn't working yet due
to WSS4J not supporting using
+[2] OasisScenario9/10 (CustomBinding_IPingServiceContract4/5) isn't working
yet due to WSS4J not supporting using
RSAKeyValue (KeyInfo, WS-SecurityPolicy/KeyValueToken) things for creating
signatures
Modified: cxf/sandbox/interopfest/wstrust13/src/main/resources/etc/client.xml
URL:
http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust13/src/main/resources/etc/client.xml?rev=736799&r1=736798&r2=736799&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wstrust13/src/main/resources/etc/client.xml
(original)
+++ cxf/sandbox/interopfest/wstrust13/src/main/resources/etc/client.xml Thu Jan
22 13:25:22 2009
@@ -88,10 +88,10 @@
<entry key="ws-security.signature.properties"
value="etc/alice.properties"/>
</map>
</property>
- </bean>
-
-
+ </bean>
<alias name="CustomBinding_IPingServiceContract"
alias="CustomBinding_IPingServiceContract4" />
+ <alias name="CustomBinding_IPingServiceContract"
alias="CustomBinding_IPingServiceContract7" />
+ <alias name="CustomBinding_IPingServiceContract2"
alias="CustomBinding_IPingServiceContract8" />
<jaxws:client
name="{http://tempuri.org/}CustomBinding_IPingServiceContract1"
createdFromAPI="true">
@@ -110,7 +110,12 @@
<entry key="ws-security.callback-handler"
value="interop.client.KeystorePasswordCallback"/>
</jaxws:properties>
</jaxws:client>
-
+ <jaxws:client
name="{http://tempuri.org/}CustomBinding_IPingServiceContract8"
createdFromAPI="true">
+ <jaxws:properties>
+ <entry key="ws-security.callback-handler"
value="interop.client.KeystorePasswordCallback"/>
+ <entry key="ws-security.encryption.properties"
value="etc/bob.properties"/>
+ </jaxws:properties>
+ </jaxws:client>
<http:conduit name="https://131.107.72.15/.*">
@@ -134,4 +139,15 @@
</http:tlsClientParameters>
<http:client Connection="close" AllowChunking="false"/>
</http:conduit>
+ <http:conduit name="https://131.107.153.205:8443/.*">
+ <http:tlsClientParameters disableCNCheck="true">
+ <sec:keyManagers keyPassword="password">
+ <sec:keyStore type="pkcs12" password="password"
resource="certs/alice.pfx"/>
+ </sec:keyManagers>
+ <sec:trustManagers>
+ <sec:keyStore type="pkcs12" password="password"
resource="certs/WssIP.pfx"/>
+ </sec:trustManagers>
+ </http:tlsClientParameters>
+ <http:client Connection="close" AllowChunking="false"/>
+ </http:conduit>
</beans>