473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SecureConversation sample

Hello,

Iam trying to do the secureconversation sample in wse2. I have different web
service here which will transfer an xml document to the client. I have tried
using the username token for signing from the client side as in the sample.
It gives me error that the "The message does not conform to the policy
mappings". I have seen the policyCache.config files and they look the same as
the policy file in the sample. Except that they are having some more extra
tags here.
<TokenType>........../dk</TokenType>
<Claims>
<Parent>
<SecurityToken>
<TokenType>...../sct<TokenType>

The rest is similar to the file in the sample. I am not sure why this
another namespace is included in addition to the "sct" namespace.

I tried to maually remove it and look same as the file in the sample
example, but it still gives me the same error. (The mesage does not conform
to the policy mapping)

Can anyone please help me with this?

Thanks,
--------------------------------
From: Ramani Kurella

Nov 21 '05 #1
1 1250
I found the solution. The wse settings tool automatically converts the
username token into a derived key token for security porposes.

So I have this new tokentype in my policy file.

Ramani Kurella
"Ramani Kurella" wrote:
Hello,

Iam trying to do the secureconversation sample in wse2. I have different web
service here which will transfer an xml document to the client. I have tried
using the username token for signing from the client side as in the sample.
It gives me error that the "The message does not conform to the policy
mappings". I have seen the policyCache.config files and they look the same as
the policy file in the sample. Except that they are having some more extra
tags here.
<TokenType>........../dk</TokenType>
<Claims>
<Parent>
<SecurityToken>
<TokenType>...../sct<TokenType>

The rest is similar to the file in the sample. I am not sure why this
another namespace is included in addition to the "sct" namespace.

I tried to maually remove it and look same as the file in the sample
example, but it still gives me the same error. (The mesage does not conform
to the policy mapping)

Can anyone please help me with this?

Thanks,
--------------------------------
From: Ramani Kurella

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Alexandre | last post by:
Hi, Im a newb to dev and python... my first sefl assigned mission was to read a pickled file containing a list with DB like data and convert this to MySQL... So i wrote my first module which...
0
by: Ravindra | last post by:
Well I installed the framework provided by microsoft , the problem is I am able to activate the smart tag in the doc file but when I Click on the Show Detils option in the information bridge the...
5
by: Ale | last post by:
Ciao a tutti. Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio reinstallare ma durante l'installazione mi da il seguente errore: nella finestra con scritto SQL1005N c'è...
1
by: Eliezer Figueroa | last post by:
Full Database System Sample? I want to know if there any good windows forms based database sample application that can be downloaded.I searched the MS site but most of the database samples are...
0
by: Ray Tayek | last post by:
hi, getting a: .\Stdafx.cpp : fatal error C1192: #using failed on 'i: nunit\samples\cpp-sample"' 'The filename, directory name, or volume label syntax is incorrect.' nunit is installed in...
6
by: zhif | last post by:
I installed IBM DB2 Database for Window (Ver. 9) before. Meanwhile, I installed the database SAMPLE. Because I forgot my password, I uninstalled later on. Several days ago, I reinstalled again....
5
by: Otto Wyss | last post by:
I've now been looking for a week for a simple but useful sample on how to get a list of entries (persons) via an XMLHttpRequest using Json/PHP on the server. So far I've found about a thousend...
69
by: raylopez99 | last post by:
They usually don't teach you in most textbooks I've seen that delegates can be used to call class methods from classes that are 'unaware' of the delegate, so long as the class has the same...
36
by: puzzlecracker | last post by:
Would someone explain why this declaration is illegal: class Sample<T> where T : Stream, class
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.