Hi Shankar,

I have created a new C# project and it works!  So I don't need a copy of
yours.  There must be some sort of bug in the Microsoft code as my
existing C# fails no matter what.  Now I need to see how to fix it or
just create it again and paste in the code.

Thanks,

-Dave. 

-----Original Message-----
From: Dave Meier [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2008 8:29 AM
To: [email protected]
Subject: RE: C# mustunderstand problem

Hi Shankar,

This is the same way I have my WSE settings configured.  Would it be
possible to get a zip of your C# project to compare to mine?

Thanks,

-Dave.

-----Original Message-----
From: Uthaiyashankar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2008 8:57 PM
To: [email protected]
Subject: Re: C# mustunderstand problem

Hi Dave,

The response seemed to be correct. When I tried with C# + WSE3.0 client,
it succeeded without any exception.

I am not an expert in WSE3.0, but can you check whether there are any
misconfiguration in WSE settings? I enabled only user name token and
disabled Ws-Security 1.1 Extension.

Regards,
Shankar.

Dave Meier wrote:
> Hi All,
>
> I'm using Visual Studio 2005 C# with WSE 3.0 as a client.  I'm calling

> my web services which use Rampart/C on the server side.  Everything 
> works great except when the client receives the response.  It throws 
> an exception saying "SOAP header Security was not understood".  The 
> response looks good to me and I've tried everything out there that I 
> found using google.  Any ideas on how I can make this work?
>
> Here's the request and response:
>  
> <?xml version="1.0" encoding="utf-8"?> <soap:Envelope 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> se
> curity-secext-1.0.xsd"
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
> ec
> urity-utility-1.0.xsd">
>   <soap:Header>
>     <wsa:Action></wsa:Action>
>  
> <wsa:MessageID>urn:uuid:b069227a-6e68-44fe-88ac-43c6c851ecec</wsa:Mess
> ag
> eID>
>     <wsa:ReplyTo>
>  
> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/ano
> ny
> mous</wsa:Address>
>     </wsa:ReplyTo>
>  
> <wsa:To>http://localhost:9090/axis2/services/aewebservices70wsse/GetSo
> lu
> tions</wsa:To>
>     <wsse:Security soap:mustUnderstand="1">
>       <wsu:Timestamp
> wsu:Id="Timestamp-3018af16-8645-4744-8ecc-2401e70f0135">
>         <wsu:Created>2008-03-04T00:52:30Z</wsu:Created>
>         <wsu:Expires>2008-03-04T00:53:30Z</wsu:Expires>
>       </wsu:Timestamp>
>       <wsse:UsernameToken
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
> ec
> urity-utility-1.0.xsd"
> wsu:Id="SecurityToken-2753105b-e4df-404d-a69f-ef2743459df4">
>         <wsse:Username>joe</wsse:Username>
>         <wsse:Nonce>9kgpbJlyIxdm5z6Ep5/hIg==</wsse:Nonce>
>         <wsu:Created>2008-03-04T00:52:30Z</wsu:Created>
>       </wsse:UsernameToken>
>     </wsse:Security>
>   </soap:Header>
>   <soap:Body>
>     <GetSolutions xmlns="urn:aewebservices70">
>       <auth>
>         <userId xsi:nil="true" />
>         <password xsi:nil="true" />
>         <hostname xsi:nil="true" />
>       </auth>
>     </GetSolutions>
>   </soap:Body>
> </soap:Envelope>
>  
> Response:
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>   <soapenv:Header>
>     <wsse:Security soapenv:mustUnderstand="1"
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-ws
> se
> curity-secext-1.0.xsd"
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <wsu:Timestamp
> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
> ec
> urity-utility-1.0.xsd">
>         <wsu:Created>2008-03-04T00:53:15.986Z</wsu:Created>
>         <wsu:Expires>2008-03-04T00:59:15.986Z</wsu:Expires>
>       </wsu:Timestamp>
>     </wsse:Security>
>   </soapenv:Header>
>   <soapenv:Body>
>     <n:GetSolutionsResponse xmlns:n="urn:aewebservices70">
>       <n:return>
>         <n:solutionID>1</n:solutionID>
>  
> <n:solutionUUID>965e78e3-64e4-4da3-99bc-87202538be49</n:solutionUUID>
>         <n:name>IDT</n:name>
>         <n:displayName>Base Issue Defect Tracking</n:displayName>
>         <n:type>USER-SOLUTION</n:type>
>         <n:prefix>TTT</n:prefix>
>         <n:description></n:description>
>       </n:return>
>       <n:return>
>         <n:solutionID>2</n:solutionID>
>  
> <n:solutionUUID>5130dae1-d94d-4d16-a9da-e4bc5c88b57b</n:solutionUUID>
>         <n:name>Incident Mgmt</n:name>
>         <n:displayName>Incident Management</n:displayName>
>         <n:type>USER-SOLUTION</n:type>
>         <n:prefix>TTS</n:prefix>
>         <n:description></n:description>
>       </n:return>
>       <n:return>
>         <n:solutionID>7</n:solutionID>
>  
> <n:solutionUUID>ddf6342b-f7c1-408e-a470-50af89503e51</n:solutionUUID>
>         <n:name>Sprints</n:name>
>         <n:displayName>Sprints</n:displayName>
>         <n:type>USER-SOLUTION</n:type>
>         <n:prefix>USR</n:prefix>
>         <n:description></n:description>
>       </n:return>
>       <n:return>
>         <n:solutionID>6</n:solutionID>
>  
> <n:solutionUUID>79245eaf-39bf-4416-9d79-345e41666cb1</n:solutionUUID>
>         <n:name>Product Backlog</n:name>
>         <n:displayName>Product Backlog</n:displayName>
>         <n:type>USER-SOLUTION</n:type>
>         <n:prefix>USR</n:prefix>
>         <n:description></n:description>
>       </n:return>
>       <n:return>
>         <n:solutionID>10</n:solutionID>
>  
> <n:solutionUUID>0ea28a74-6dde-406f-b19a-4c45aec40294</n:solutionUUID>
>         <n:name>Change Requests</n:name>
>         <n:displayName>Change Approval Requests</n:displayName>
>         <n:type>USER-SOLUTION</n:type>
>         <n:prefix>UCA</n:prefix>
>         <n:description></n:description>
>       </n:return>
>       <n:return>
>         <n:solutionID>12</n:solutionID>
>  
> <n:solutionUUID>da1b4e05-2a7f-466f-83e1-6eda327544ff</n:solutionUUID>
>         <n:name>PAINT</n:name>
>         <n:displayName>paint</n:displayName>
>         <n:type>USER-SOLUTION</n:type>
>         <n:prefix>USR</n:prefix>
>         <n:description></n:description>
>       </n:return>
>       <n:return>
>         <n:solutionID>13</n:solutionID>
>  
> <n:solutionUUID>d52b86aa-cc75-4a22-b55f-721a63ab4276</n:solutionUUID>
>         <n:name>TEMPCONVERT</n:name>
>         <n:displayName>TempConvert</n:displayName>
>         <n:type>USER-SOLUTION</n:type>
>         <n:prefix>USR</n:prefix>
>         <n:description></n:description>
>       </n:return>
>     </n:GetSolutionsResponse>
>   </soapenv:Body>
> </soapenv:Envelope>
>
> Thanks,
>  
> -Dave.
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message. 
> **********************************************************************
>
>
>   

Reply via email to