AnsweredAssumed Answered

Error 'Invalid User' for WSs.

Question asked by revathy on Oct 27, 2010

For the WSs other than Authentication WSs "startSession" and "endSession", we are getting the Time-out error from SOAP UI.
Also We have tried the same in Cordys(a BPM suite), we are getting "Invalid User" error. We can test the WSs there. Even The basic Alfresco WSs are failing.
By default, the Alfresco WS requests dont have header. Then we were getting "Unsupported KeyInfo" error. So, we added the header info having the Timestamp and UsernameTokens.


<SOAP:Envelope xmlns:SOAP="">
    <QueryConfiguration xmlns="">
      <fetchSize xmlns="">500</fetchSize>
          <wsu:Timestamp wsu:Id="Timestamp-10" xmlns:wsu="">
            <wsu:Created>2010-10-27T16:22:23Z </wsu:Created>
            <wsu:Expires>2010-10-29T23:19:23Z </wsu:Expires>
    <query xmlns="">
        <scheme xmlns="">workspace </scheme>
        <address xmlns="">SpacesStore </address>
        <language xmlns="">lucene</language>
        <statement xmlns="">PATH:"app:company_home/cm:Drupal”</statement>


<SOAP:Fault xmlns:SOAP="">
  <faultcode xmlns:ns0="">ns0:Client</faultcode>
  <faultstring xml:lang="en-US">Not a valid user.</faultstring>
    <cordys:FaultDetails xmlns:cordys="">
      <cordys:LocalizableMessage xmlns:cordys="">
        <cordys:MessageCode xmlns:cordys="">Cordys.ESBServer.Messages.invalidUser</cordys:MessageCode>
    <cordys:FaultRelatedException xmlns:cordys="">
      <![CDATA[ Failed to determine identity: Could not determine identity, found multiple identities in the SOAP message
   at com.eibus.soap.Processor._determineIdentity(
   at com.eibus.soap.SOAPTransaction.<init>(
   at com.eibus.soap.SOAPTransaction.<init>(
   at com.eibus.soap.Processor.onReceive(
   at com.eibus.soap.Processor.onReceive(
   at com.eibus.connector.nom.Connector.onReceive(
   at com.eibus.transport.Middleware$
Caused by: Could not determine identity, found multiple identities in the SOAP message
   … 8 more

Is there anything wrong with the request? Not able to use the Alfresco WSs.
Pls share your idea.. we stuck here..