Hi Nandana,

The SOAP request is:

<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";
xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      <soapenv:Header>
 
<wsa:To>http://localhost:8083/rampartgrouper-ws/services/RampartGrouperS
ervice</wsa:To>
 
<wsa:MessageID>urn:uuid:BCF8AEBCAE7C34553D1205321590501</wsa:MessageID>
         <wsa:Action>urn:getGroups</wsa:Action>
      </soapenv:Header>
      <soapenv:Body>
         <ns1:getGroups
xmlns:ns1="http://webservices.grouper.middleware.internet2.edu/xsd";>
            <ns1:subjectLookup>
               <ns1:subjectId>[EMAIL PROTECTED]</ns1:subjectId>
            </ns1:subjectLookup>
            <ns1:memberFilter>All</ns1:memberFilter>
            <ns1:actAsSubjectLookup>
               <ns1:subjectId>[EMAIL PROTECTED]</ns1:subjectId>
            </ns1:actAsSubjectLookup>
         </ns1:getGroups>
      </soapenv:Body>
   </soapenv:Envelope>


And the SOAP response is:

 <soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";
xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      <soapenv:Header>
 
<wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action>
 
<wsa:RelatesTo>urn:uuid:BCF8AEBCAE7C34553D1205321590501</wsa:RelatesTo>
      </soapenv:Header>
      <soapenv:Body>
         <soapenv:Fault>
            <soapenv:Code>
               <soapenv:Value>soapenv:Receiver</soapenv:Value>
            </soapenv:Code>
            <soapenv:Reason>
               <soapenv:Text xml:lang="en-US">Missing wsse:Security
header in request</soapenv:Text>
            </soapenv:Reason>
            <soapenv:Detail />
         </soapenv:Fault>
      </soapenv:Body>
   </soapenv:Envelope>


Unfortunately the logs from TCPMON doesn't really say much. I'm guessing
I've got the configuration wrong for the client but not sure what I've
done wrong. I've also attached the client code with this email for your
reference.  Thanks again.

Regards
Sanjay

>-----Original Message-----
>From: Nandana Mihindukulasooriya [mailto:[EMAIL PROTECTED] 
>Sent: 12 March 2008 12:16
>To: [email protected]
>Subject: Re: "Missing wsse:Security header in request" 
>exception when invoking a service.
>
>Hi Sanjay,
>
> can post the SOAP request and response captured from a TCPMon 
>, it would be easy to see what is going wrong.
>
>thanks,
>/nandana
>

Reply via email to