My working configuration for the StockQuoteService sample is: Server-config.wsdd:
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <globalConfiguration> <parameter name="adminPassword" value="admin"/> <parameter name="enableNamespacePrefixOptimization" value="true"/> <parameter name="disablePrettyXML" value="true"/> <parameter name="sendXsiTypes" value="true"/> <parameter name="sendMultiRefs" value="true"/> <parameter name="sendXMLDeclaration" value="true"/> </globalConfiguration> <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/> <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/> <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/> <service name="stock-wss-01" provider="java:RPC" style="document" use="literal"> <requestFlow> <handler type="java:org.apache.ws.axis.security.WSDoAllReceiver"> <parameter name="action" value="Timestamp Signature SAMLTokenUnsigned"/> <parameter name="signaturePropFile" value="pa-crypto.properties" /> </handler> </requestFlow> <parameter name="className" value="samples.stock.StockQuoteService"/> <parameter name="allowedMethods" value="getQuote"/> <parameter name="scope" value="application"/> </service> ..... Client_deploy.wsdd: <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <globalConfiguration > <parameter name="enableNamespacePrefixOptimization" value="false"/> <requestFlow > <handler type="java:org.apache.ws.axis.security.WSDoAllSender" > <parameter name="enableNamespacePrefixOptimization" value="false"/> <parameter name="action" value="Timestamp SAMLTokenSigned"/> <parameter name="samlPropFile" value="saml3.properties"/> <parameter name="signatureKeyIdentifier" value="DirectReference"/> </handler> </requestFlow > </globalConfiguration > <transport name="java" pivot="java:org.apache.axis.transport.java.JavaSender"/> <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/> <transport name="local" pivot="java:org.apache.axis.transport.local.LocalSender"/> </deployment> Saml3.properties: org.apache.ws.security.saml.issuerClass=org.apache.ws.security.saml.SAMLIssuerImpl org.apache.ws.security.saml.issuer.cryptoProp.file=pd-crypto.properties org.apache.ws.security.saml.issuer.key.name=user org.apache.ws.security.saml.issuer.key.password=password org.apache.ws.security.saml.issuer=user org.apache.ws.security.saml.subjectNameId.name=uid=joe,ou=people,ou=saml-demo,o=example.com org.apache.ws.security.saml.subjectNameId.qualifier=www.example.com org.apache.ws.security.saml.authenticationMethod=password org.apache.ws.security.saml.confirmationMethod=senderVouches Hope this help Luciano -----Messaggio originale----- Da: Rohit Chauhan [mailto:[EMAIL PROTECTED] Inviato: lunedì 17 luglio 2006 14.20 A: Dittmann, Werner; Montebove Luciano; [email protected]; [EMAIL PROTECTED] Oggetto: Re: AW: Verification failed for URI "#id-31386432" I tried it with : <parameter name="enableNamespacePrefixOptimization" value="true"/> I am still getting the same error. Soumadeep, I saw your postings back in April on the mailing list and you seem to be getting the similar error message. Were you able to resolve the problem?Can you share the information please? Thanks, -Rohit --- "Dittmann, Werner" <[EMAIL PROTECTED]> wrote: > Can you please copy this information also the the Axis lists as this > seems to bee a problem of the Axis SOAP engine and XML serializer - > WSS4J cannot influence the way Axis serializes the XML data. > > TIA, > Werner > > > -----Ursprüngliche Nachricht----- > > Von: Montebove Luciano > [mailto:[EMAIL PROTECTED] > > Gesendet: Montag, 17. Juli 2006 09:01 > > An: [EMAIL PROTECTED]; [email protected] > > Betreff: R: Verification failed for URI > "#id-31386432" > > > > Rohit, > > > > i don't know why (see my previous posts), but for "senderVouches" to > > work on the server wsdd you > need to set > > "enableNamespacePrefixOptimization" to "true". > > > > Luciano > > > > -----Messaggio originale----- > > Da: Rohit Chauhan > [mailto:[EMAIL PROTECTED] > > Inviato: lunedì 17 luglio 2006 2.22 > > A: [email protected] > > Oggetto: Verification failed for URI > "#id-31386432" > > > > Hi, > > > > I am getting Verification failed for URI > "id-31386432" > > error on the server. > > > > > > Here are the wsdd settings: > > > > Client wsdd: > > > > <handler > > > type="java:org.apache.ws.axis.security.WSDoAllSender" > > > > > <parameter name="action" value="Timestamp > SAMLTokenSigned"/> > > <parameter name="samlPropFile" > > value="saml.properties"/> > > <parameter name="signatureKeyIdentifier" > > value="DirectReference" /> > > <parameter name="signaturePropFile" > > value="crypto.client.properties" /> > > <parameter > > name="enableNamespacePrefixOptimization" > value="false" > > /> > > <parameter name="disablePrettyXML" > > value="true"/> > > <parameter name="user" > > value="2721845cfa40e36c8dee088db9a4fbfbd6c70436"/> > > </handler> > > > > Server WSDD: > > > > <handler > > > type="java:org.apache.ws.axis.security.WSDoAllReceiver"> > > <parameter name="passwordCallbackClass" > > > value="com.fnf.xes.framework.axis.security.server.PWServerCallback"/> > > <parameter name="action" value="Timestamp > Signature > > SAMLTokenUnsigned"/> > > <parameter name="signaturePropFile" > > value="crypto.server.properties"/> > > <parameter > > name="enableNamespacePrefixOptimization" > value="false" > > /> > > <parameter name="disablePrettyXML" > value="true"/> > > </handler> > > > > My saml.properties file is as follows: > > > > > > > > > org.apache.ws.security.saml.issuerClass=org.apache.ws.security > > .saml.SAMLIssuerImpl > > > > > org.apache.ws.security.saml.issuer.cryptoProp.file=crypto.clie > > nt.properties > > > > > org.apache.ws.security.saml.issuer.key.name=clientkey > > > > > org.apache.ws.security.saml.issuer.key.password=clientkeypassword > > > > org.apache.ws.security.saml.issuer=www.example.com > > > > > org.apache.ws.security.saml.subjectNameId.name=myuser > > > > > org.apache.ws.security.saml.subjectNameId.qualifier=www.example.com > > > > > org.apache.ws.security.saml.authenticationMethod=password > > > > > org.apache.ws.security.saml.confirmationMethod=senderVouches > > > > > > > > My crypto.client.properties file is follows: > > > > > > > > > org.apache.ws.security.crypto.provider=org.apache.ws.security. > > components.crypto.Merlin > > > > > org.apache.ws.security.crypto.merlin.keystore.type=jks > > > > > org.apache.ws.security.crypto.merlin.keystore.password=client > > > > > org.apache.ws.security.crypto.merlin.file=client.keystore > > > > I have created a keystore using keytool from sun > java. > > > > > > Reference I Verification successful for URI > > "#STRSAMLId-1345122" > > [7/16/06 19:14:55:493 EDT] 0000003f Reference > W > > Verification failed for URI "#id-31386432" > > [7/16/06 19:14:55:503 EDT] 0000003f SystemErr > R > > org.apache.ws.security.WSSecurityException: The > signature > > verification failed > > at > > > org.apache.ws.security.WSSecurityEngine.verifyXMLSignature(WSS > > ecurityEngine.java:627) > > at > > > org.apache.ws.security.WSSecurityEngine.processSecurityHeader( > > WSSecurityEngine.java:320) > > > > > > > > I would appreciate any help in getting this error > resolved. > > > > Thanks, > > > > Rohit > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection > > around http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > === message truncated === __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
