Re: Rampart problem with encryption
Hi marcel, I'm just working on this. I have a new post called "Encrypting Message Failure" from 11/30/06 where Mary Thompson perhaps provides some help. You can participate posting there... It seems that rampart module is not applicable at runtime for the client. BTW: I am using rampart1.1-RC1 from 27.11.2006 But you should try the nightly builds of rampart with axis2-1.1 latest builds. philipp Marcel Casado schrieb: Hi Philipp, I filed a jira http://issues.apache.org/jira/browse/AXIS2-1646 but it has not been taken care for anybody so I gave up until is fixed. Which version of Rampart are you using I stop updating Rampart nigthlies on 11/05/06 so I did not try the nightlies recently neither the Apache Rampart-1.1-RC1. Please let me know if you get some progress in the near future. -Marcel http://issues.apache.org/jira/browse/AXIS2-1646 Philipp Perner wrote: Hi, have you got this problem fixed, and how? I am having the same problem now - encryption doesn't work, although i have similar configuration like the rampart sample5. Marcel Casado schrieb: Hi, I'm trying to secure services with Rampart encrypting the body of the soap message. When the load on the body are pure xml elements with no attributes works fine but when the load has elements with attributes when they are decrypted the value is "null". The service was working fine with out encryption. I sent this before but I was not able to get much help. I'm stuck with this and I need to get it working in a production system soon. Help please, I'm kind of desperate. I told my boss that with axis2 and Rampart will get secure services quite easily and I been stuck almost for one month on this. Example of load : entryKey="observation>station>lightning"/> entryKey="observation>station>wmo"/> entryKey="observation>station>profiler"/> entryKey="observation>station>sams"/> entryKey="observation>station>sounding"/> entryKey="model_output>mm5>forecast"/> services.xml : http://www.w3.org/2004/08/wsdl/in-out"; class="edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.MetvaultMetadataServiceMessageReceiverInOut"/> edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.MetvaultMetadataServiceSkeleton mep="http://www.w3.org/2004/08/wsdl/in-out";> getAllowedValuesSet mep="http://www.w3.org/2004/08/wsdl/in-out";> getMetadata mep="http://www.w3.org/2004/08/wsdl/in-out";> retrieveMetadata mep="http://www.w3.org/2004/08/wsdl/in-out";> executeService mep="http://www.w3.org/2004/08/wsdl/in-out";> requestServiceSummary mep="http://www.w3.org/2004/08/wsdl/in-out";> requestServiceResponse mep="http://www.w3.org/2004/08/wsdl/in-out";> requestCrawlerStart mep="http://www.w3.org/2004/08/wsdl/in-out";> requestCrawlerStop mep="http://www.w3.org/2004/08/wsdl/in-out";> requestLogin Timestamp Encrypt edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler service.properties IssuerSerial client UsernameToken Timestamp Encrypt edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler service.properties client axis2.xml excerpt : Timestamp Encrypt edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler client.properties UsernameToken Timestamp Encrypt PasswordText client.properties DirectReference service client.properties IssuerSerial {Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken an instance of a pwcallbackHandle --> I got another question, how to configure a client for using UsernameToken and Signature since they both use the parameter and in my case are different. Do I have to set up two actions ? Could you send me an example of the setup on the client and on the service ? Thanks in advance, -Marcel - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Rampart problem with encryption
Hi Philipp, I filed a jira http://issues.apache.org/jira/browse/AXIS2-1646 but it has not been taken care for anybody so I gave up until is fixed. Which version of Rampart are you using I stop updating Rampart nigthlies on 11/05/06 so I did not try the nightlies recently neither the Apache Rampart-1.1-RC1. Please let me know if you get some progress in the near future. -Marcel http://issues.apache.org/jira/browse/AXIS2-1646 Philipp Perner wrote: Hi, have you got this problem fixed, and how? I am having the same problem now - encryption doesn't work, although i have similar configuration like the rampart sample5. Marcel Casado schrieb: Hi, I'm trying to secure services with Rampart encrypting the body of the soap message. When the load on the body are pure xml elements with no attributes works fine but when the load has elements with attributes when they are decrypted the value is "null". The service was working fine with out encryption. I sent this before but I was not able to get much help. I'm stuck with this and I need to get it working in a production system soon. Help please, I'm kind of desperate. I told my boss that with axis2 and Rampart will get secure services quite easily and I been stuck almost for one month on this. Example of load : entryKey="observation>station>lightning"/> entryKey="observation>station>wmo"/> entryKey="observation>station>profiler"/> entryKey="observation>station>sounding"/> entryKey="model_output>mm5>forecast"/> services.xml : http://www.w3.org/2004/08/wsdl/in-out"; class="edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.MetvaultMetadataServiceMessageReceiverInOut"/> edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.MetvaultMetadataServiceSkeleton mep="http://www.w3.org/2004/08/wsdl/in-out";> getAllowedValuesSet mep="http://www.w3.org/2004/08/wsdl/in-out";> getMetadata mep="http://www.w3.org/2004/08/wsdl/in-out";> retrieveMetadata mep="http://www.w3.org/2004/08/wsdl/in-out";> executeService mep="http://www.w3.org/2004/08/wsdl/in-out";> requestServiceSummary mep="http://www.w3.org/2004/08/wsdl/in-out";> requestServiceResponse mep="http://www.w3.org/2004/08/wsdl/in-out";> requestCrawlerStart mep="http://www.w3.org/2004/08/wsdl/in-out";> requestCrawlerStop mep="http://www.w3.org/2004/08/wsdl/in-out";> requestLogin Timestamp Encrypt edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler service.properties IssuerSerial client UsernameToken Timestamp Encrypt edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler service.properties client axis2.xml excerpt : Timestamp Encrypt edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler client.properties UsernameToken Timestamp Encrypt PasswordText client.properties DirectReference service client.properties IssuerSerial {Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken an instance of a pwcallbackHandle --> I got another question, how to configure a client for using UsernameToken and Signature since they both use the parameter and in my case are different. Do I have to set up two actions ? Could you send me an example of the setup on the client and on the service ? Thanks in advance, -Marcel - 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]
Re: Rampart problem with encryption
Hi, have you got this problem fixed, and how? I am having the same problem now - encryption doesn't work, although i have similar configuration like the rampart sample5. Marcel Casado schrieb: Hi, I'm trying to secure services with Rampart encrypting the body of the soap message. When the load on the body are pure xml elements with no attributes works fine but when the load has elements with attributes when they are decrypted the value is "null". The service was working fine with out encryption. I sent this before but I was not able to get much help. I'm stuck with this and I need to get it working in a production system soon. Help please, I'm kind of desperate. I told my boss that with axis2 and Rampart will get secure services quite easily and I been stuck almost for one month on this. Example of load : entryKey="observation>station>lightning"/> entryKey="observation>station>wmo"/> entryKey="observation>station>profiler"/> entryKey="observation>station>sounding"/> entryKey="model_output>mm5>forecast"/> services.xml : http://www.w3.org/2004/08/wsdl/in-out"; class="edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.MetvaultMetadataServiceMessageReceiverInOut"/> edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.MetvaultMetadataServiceSkeleton mep="http://www.w3.org/2004/08/wsdl/in-out";> getAllowedValuesSet mep="http://www.w3.org/2004/08/wsdl/in-out";> getMetadata mep="http://www.w3.org/2004/08/wsdl/in-out";> retrieveMetadata mep="http://www.w3.org/2004/08/wsdl/in-out";> executeService mep="http://www.w3.org/2004/08/wsdl/in-out";> requestServiceSummary mep="http://www.w3.org/2004/08/wsdl/in-out";> requestServiceResponse mep="http://www.w3.org/2004/08/wsdl/in-out";> requestCrawlerStart mep="http://www.w3.org/2004/08/wsdl/in-out";> requestCrawlerStop mep="http://www.w3.org/2004/08/wsdl/in-out";> requestLogin Timestamp Encrypt edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler service.properties IssuerSerial client UsernameToken Timestamp Encrypt edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler service.properties client axis2.xml excerpt : Timestamp Encrypt edu.ucar.rap.metvault.metvaultservice.version1_0.metadataservice.PWCBHandler client.properties UsernameToken Timestamp Encrypt PasswordText client.properties DirectReference service client.properties IssuerSerial {Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}UsernameToken instance of a pwcallbackHandle --> I got another question, how to configure a client for using UsernameToken and Signature since they both use the parameter and in my case are different. Do I have to set up two actions ? Could you send me an example of the setup on the client and on the service ? Thanks in advance, -Marcel - 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]