locked
Reference materials RRS feed

  • Question

  • hi all,

    I am trying to explore CSF in detail.

    Have installed the Dev Lite Edition on my Windows 2003 Server machine (with .Net Framework 2.0)  and am trying my hand at the HelloWorld sample application.

    However, it seems there is very little technical reference available online. Can someone please suggest any appropriate resource(s) where one can get an excellent understanding on how to proceed with CSF based developments from the scratch?

    Any help would be appreciated.

    Thanks

    - hirén

    Monday, November 13, 2006 12:20 PM

Answers

  • CSF3.0  Developer Guide is the best starting point. If you have not this with you, you can get it from MSDN site. Following is the link

    http://msdn2.microsoft.com/en-us/library/aa439668.aspx

    Regards,

    Natraj

     

    Monday, November 13, 2006 5:54 PM
  • Yep, that is true that if session is created, your Session URI and UIformUri is correct.

    Is Helloworld service running as anonymous user? My understanding from the error, is that your message is not being accepted by your participant. And also post the logs of the session input and output traces.

    Tilak

     

    Thursday, November 16, 2006 8:02 PM

All replies

  • CSF3.0  Developer Guide is the best starting point. If you have not this with you, you can get it from MSDN site. Following is the link

    http://msdn2.microsoft.com/en-us/library/aa439668.aspx

    Regards,

    Natraj

     

    Monday, November 13, 2006 5:54 PM
  • Thanks Natraj,

    Also, I've configured the HelloWorld Sample on my machine.

    But am facing an issue.

    The session is established alright and I do get a SessionID, the manifest and the CreateSessionResponse.

    When I click the RouteMsgToParticipants button, it gives me the "in progress..." message on the status continuously.

    Upon checking the event log, it seems to be a 401 (Unauthorized access) error.

    Also, I tried passing the UserName and Pwd information for my domain, again the same "in progress..." message. However this time the event log entry says

    Session pipe line fault - WSE011: The input was not a valid SOAP message because the following header was not understood: Security.

    Category: Session OperationalEvent

    Any help????

    Regards

    - Hirén

     

    Wednesday, November 15, 2006 7:44 AM
  • I am posting the SOAP Fault information to support the above query.

    Hope it helps....

    <?xml version="1.0" encoding="utf-8"?>
    <env:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
     <env:Header>
      <wsa:Action>
       http://schemas.xmlsoap.org/ws/2004/08/addressing/fault
      </wsa:Action>
      <wsa:MessageID>
       urn:uuid:775c43fb-bb24-4066-8053-633fe0bec0f4
      </wsa:MessageID>
      <wsa:RelatesTo>
       urn:uuid:cd212257-b653-4c9c-a72d-1fe5fb5288ea 
      </wsa:RelatesTo>
      <wsa:To>
       soap.tcp://<machine name>:9100/UIFormService
      </wsa:To>
     </env:Header>
     <env:Body>
      <env:Fault>
       <env:Code>
        <env:Value>
         env:MustUnderstand
        </env:Value>
       </env:Code>
       <env:Reason>
        <env:Text xml:lang="en">
         WSE011: The input was not a valid SOAP message because the following header was not understood: Security.
        </env:Text>
       </env:Reason>
       <env:Node>
        http://<machine name>/Session30/Session.ashx
       </env:Node>
      </env:Fault>
     </env:Body>
    </env:Envelope>
    Wednesday, November 15, 2006 1:54 PM
  • Check your app.config, and make sure you have the correct paths for all the URIs.

    Thanks

     

    Thursday, November 16, 2006 12:02 AM
  • Hi Tilak,

    I have the following URI's in my App.Config file (of my WinForm project).

    Now, I've Ctrl+clicked on the the SessionManagerUri and the ParticipantUri and both seem to be working.

    Also, I suppose the UIFormUri must work, as otherwise, the Session might not have been created in the first place. (Please correct me if I am wrong here)

    <appSettings>

         <add key="SessionManagerUri" value=http://<machine-name>/Session30/SessionManagerAdmin.ashx />

         <add key="UIFormUri" value="soap.tcp://<machine-name>:9100/UIFormService" />

         <add key="ParticipantUri" value="http://localhost/HelloWorldService/Service.asmx" />

         <add key="ManifestFile" value="manifest.xml" />

    </appSettings>

    How and why would the mustUnderstand SOAPFault be caused?

    How can I verify whether the recepient understands the UIFormUri correctly while debugging?

    - Hirén

     

    Thursday, November 16, 2006 9:28 AM
  • Yep, that is true that if session is created, your Session URI and UIformUri is correct.

    Is Helloworld service running as anonymous user? My understanding from the error, is that your message is not being accepted by your participant. And also post the logs of the session input and output traces.

    Tilak

     

    Thursday, November 16, 2006 8:02 PM
  • Thanks Tilak,

    Please find the Session Input and Output Trace information.

    Input Trace Information

    <?xml version="1.0" encoding="utf-8"?>
    <log>
      <inputMessage utc="11/20/2006 11:36:27 AM" messageId="urn:uuid:af19332d-af0c-4072-91c9-110ecca36d51">
        <processingStep description="Unprocessed message">
          <env:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Header>
              <wsa:Action>http://Microsoft/ConnectedServices/2006/06/Session/CreateSessionResponse</wsa:Action>
              <wsa:From>
                <wsa:Address>http://machine-name/Session30/SessionManagerAdmin.ashx</wsa:Address>
              </wsa:From>
              <wsa:MessageID>urn:uuid:af19332d-af0c-4072-91c9-110ecca36d51</wsa:MessageID>
              <wsa:RelatesTo>urn:uuid:11c58b69-11dd-4dfa-b6e2-f0c3cd0dee72</wsa:RelatesTo>
              <wsa:To>soap.tcp://machine-name:9100/UIFormService</wsa:To>
              <csfse:SessionID xmlns:csfse="http://Microsoft/ConnectedServices/2006/06/Session/">urn:c9481c67-ab35-4bf8-9490-52cb271af466</csfse:SessionID>
              <wsse:Security>
                <wsu:Timestamp wsu:Id="Timestamp-bc40efec-0b25-4661-8a15-02a381cce405">
                  <wsu:Created>2006-11-20T11:36:27Z</wsu:Created>
                  <wsu:Expires>2006-11-20T11:41:27Z</wsu:Expires>
                </wsu:Timestamp>
              </wsse:Security>
            </env:Header>
            <env:Body>
              <CreateSessionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft/ConnectedServices/2006/06/Session/">
                <SessionID>urn:c9481c67-ab35-4bf8-9490-52cb271af466</SessionID>
                <SessionLocations>
                  <SessionLocation transport="http">
                    <SessionManagerAdminWSUri>http://machine-name/Session30/SessionManagerAdmin.ashx</SessionManagerAdminWSUri>
                    <SessionAdminWSUri>http://machine-name/Session30/SessionAdmin.ashx</SessionAdminWSUri>
                    <SessionWSUri>http://machine-name/Session30/Session.ashx</SessionWSUri>
                  </SessionLocation>
                </SessionLocations>
              </CreateSessionResponse>
            </env:Body>
          </env:Envelope>
        </processingStep>
        <processingStep description="Entering SOAP filter Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
        <processingStep description="Exited SOAP filter Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
        <processingStep description="Entering SOAP filter Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
        <processingStep description="Exited SOAP filter Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
        <processingStep description="Processed message">
          <env:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Header>
              <csfse:SessionID xmlns:csfse="http://Microsoft/ConnectedServices/2006/06/Session/">urn:c9481c67-ab35-4bf8-9490-52cb271af466</csfse:SessionID>
            </env:Header>
            <env:Body>
              <CreateSessionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft/ConnectedServices/2006/06/Session/">
                <SessionID>urn:c9481c67-ab35-4bf8-9490-52cb271af466</SessionID>
                <SessionLocations>
                  <SessionLocation transport="http">
                    <SessionManagerAdminWSUri>http://machine-name/Session30/SessionManagerAdmin.ashx</SessionManagerAdminWSUri>
                    <SessionAdminWSUri>http://machine-name/Session30/SessionAdmin.ashx</SessionAdminWSUri>
                    <SessionWSUri>http://machine-name/Session30/Session.ashx</SessionWSUri>
                  </SessionLocation>
                </SessionLocations>
              </CreateSessionResponse>
            </env:Body>
          </env:Envelope>
        </processingStep>
      </inputMessage>
    </log>

     

     

    Output Trace Information:

    <?xml version="1.0" encoding="utf-8"?>
    <log>
      <outputMessage utc="11/20/2006 11:35:57 AM" messageId="urn:uuid:11c58b69-11dd-4dfa-b6e2-f0c3cd0dee72">
        <processingStep description="Unprocessed message">
          <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Body>
              <CreateSession xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft/ConnectedServices/2006/06/Session/">
                <Session timestamp="0001-01-01T00:00:00" timeout="30" persist="None" state="Active" routeAnyAction="true" ackOnRouteMsgToParticipants="false">
                  <SessionName>HelloWorld</SessionName>
                  <Participants>
                    <Participant timeout="30" role="Service" inChannelResponse="true" type="WebService">
                      <SoapVersion>Default</SoapVersion>
                      <ParticipantName>HelloWorldParticipant</ParticipantName>
                      <ParticipantID>HelloWorldParticipant</ParticipantID>
                      <ParticipantUrl>http://localhost/HelloWorldService/Service.asmx</ParticipantUrl>
                      <Actions />
                      <PolicyDocument>
                        <Include>
                          <SecondaryCredentialMap>
                            <PrimaryCredentialForMessage>None</PrimaryCredentialForMessage>
                            <PrimaryCredentialForTransport transportAuthenticationType="Ntlm">None</PrimaryCredentialForTransport>
                          </SecondaryCredentialMap>
                        </Include>
                      </PolicyDocument>
                    </Participant>
                    <Participant timeout="30" role="Service" inChannelResponse="false" type="WebService">
                      <SoapVersion>Default</SoapVersion>
                      <ParticipantName>UIParticipant</ParticipantName>
                      <ParticipantID>UIParticipant</ParticipantID>
                      <ParticipantUrl>soap.tcp://machine-name:9100/UIFormService</ParticipantUrl>
                      <Actions />
                      <PolicyDocument>
                        <Include>
                          <SecondaryCredentialMap>
                            <PrimaryCredentialForMessage>None</PrimaryCredentialForMessage>
                            <PrimaryCredentialForTransport transportAuthenticationType="Ntlm">None</PrimaryCredentialForTransport>
                          </SecondaryCredentialMap>
                        </Include>
                      </PolicyDocument>
                    </Participant>
                  </Participants>
                  <RoutingTable version="0" timestamp="0001-01-01T00:00:00">
                    <Routes>
                      <Route>
                        <Criteria>(ACTION EQ 'http://tempuri.org/HelloWorld')</Criteria>
                        <Destination>HelloWorldParticipant[http://tempuri.org/HelloWorld]</Destination>
                      </Route>
                      <Route>
                        <Criteria>(ACTION EQ 'http://tempuri.org/HelloWorldResponse')</Criteria>
                        <Destination>UIParticipant[http://www.contoso.com/SampleServices/RouteResponse]</Destination>
                      </Route>
                    </Routes>
                  </RoutingTable>
                </Session>
              </CreateSession>
            </env:Body>
          </env:Envelope>
        </processingStep>
        <processingStep description="Entering SOAP filter Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
        <processingStep description="Exited SOAP filter Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
        <processingStep description="Entering SOAP filter Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
        <processingStep description="Exited SOAP filter Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
        <processingStep description="Processed message">
          <env:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Header>
              <wsa:Action>http://Microsoft/ConnectedServices/2006/06/Session/CreateSession</wsa:Action>
              <wsa:FaultTo>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:FaultTo>
              <wsa:From>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:From>
              <wsa:MessageID>urn:uuid:11c58b69-11dd-4dfa-b6e2-f0c3cd0dee72</wsa:MessageID>
              <wsa:ReplyTo>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:ReplyTo>
              <wsa:To>http://machine-name/Session30/SessionManagerAdmin.ashx</wsa:To>
              <wsse:Security>
                <wsu:Timestamp wsu:Id="Timestamp-714cfcba-ad83-474e-b1de-7d4290e24350">
                  <wsu:Created>2006-11-20T11:35:57Z</wsu:Created>
                  <wsu:Expires>2006-11-20T11:40:57Z</wsu:Expires>
                </wsu:Timestamp>
              </wsse:Security>
            </env:Header>
            <env:Body>
              <CreateSession xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft/ConnectedServices/2006/06/Session/">
                <Session timestamp="0001-01-01T00:00:00" timeout="30" persist="None" state="Active" routeAnyAction="true" ackOnRouteMsgToParticipants="false">
                  <SessionName>HelloWorld</SessionName>
                  <Participants>
                    <Participant timeout="30" role="Service" inChannelResponse="true" type="WebService">
                      <SoapVersion>Default</SoapVersion>
                      <ParticipantName>HelloWorldParticipant</ParticipantName>
                      <ParticipantID>HelloWorldParticipant</ParticipantID>
                      <ParticipantUrl>http://localhost/HelloWorldService/Service.asmx</ParticipantUrl>
                      <Actions />
                      <PolicyDocument>
                        <Include>
                          <SecondaryCredentialMap>
                            <PrimaryCredentialForMessage>None</PrimaryCredentialForMessage>
                            <PrimaryCredentialForTransport transportAuthenticationType="Ntlm">None</PrimaryCredentialForTransport>
                          </SecondaryCredentialMap>
                        </Include>
                      </PolicyDocument>
                    </Participant>
                    <Participant timeout="30" role="Service" inChannelResponse="false" type="WebService">
                      <SoapVersion>Default</SoapVersion>
                      <ParticipantName>UIParticipant</ParticipantName>
                      <ParticipantID>UIParticipant</ParticipantID>
                      <ParticipantUrl>soap.tcp://machine-name:9100/UIFormService</ParticipantUrl>
                      <Actions />
                      <PolicyDocument>
                        <Include>
                          <SecondaryCredentialMap>
                            <PrimaryCredentialForMessage>None</PrimaryCredentialForMessage>
                            <PrimaryCredentialForTransport transportAuthenticationType="Ntlm">None</PrimaryCredentialForTransport>
                          </SecondaryCredentialMap>
                        </Include>
                      </PolicyDocument>
                    </Participant>
                  </Participants>
                  <RoutingTable version="0" timestamp="0001-01-01T00:00:00">
                    <Routes>
                      <Route>
                        <Criteria>(ACTION EQ 'http://tempuri.org/HelloWorld')</Criteria>
                        <Destination>HelloWorldParticipant[http://tempuri.org/HelloWorld]</Destination>
                      </Route>
                      <Route>
                        <Criteria>(ACTION EQ 'http://tempuri.org/HelloWorldResponse')</Criteria>
                        <Destination>UIParticipant[http://www.contoso.com/SampleServices/RouteResponse]</Destination>
                      </Route>
                    </Routes>
                  </RoutingTable>
                </Session>
              </CreateSession>
            </env:Body>
          </env:Envelope>
        </processingStep>
      </outputMessage>
      <outputMessage utc="11/20/2006 11:37:14 AM" messageId="urn:uuid:22e4a4f7-ad1a-43ce-9653-3a2624b682b0">
        <processingStep description="Unprocessed message">
          <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Body>
              <string xmlns="http://tempuri.org/" />
            </env:Body>
          </env:Envelope>
        </processingStep>
        <processingStep description="Entering SOAP filter Microsoft.Web.Services3.Design.UsernameOverTransportAssertion+ClientOutputFilter" />
        <processingStep description="Exited SOAP filter Microsoft.Web.Services3.Design.UsernameOverTransportAssertion+ClientOutputFilter" />
        <processingStep description="Processed message">
          <env:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Header>
              <wsa:Action>http://tempuri.org/HelloWorld</wsa:Action>
              <wsa:FaultTo>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:FaultTo>
              <wsa:From>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:From>
              <wsa:MessageID>urn:uuid:22e4a4f7-ad1a-43ce-9653-3a2624b682b0</wsa:MessageID>
              <wsa:ReplyTo>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:ReplyTo>
              <wsa:To>http://machine-name/Session30/Session.ashx</wsa:To>
              <csfse:SessionID xmlns:csfse="http://Microsoft/ConnectedServices/2006/06/Session/">urn:c9481c67-ab35-4bf8-9490-52cb271af466</csfse:SessionID>
              <wsse:Security env:mustUnderstand="true">
                <wsu:Timestamp wsu:Id="Timestamp-69700ceb-9a19-4fd9-9869-33ba61dcd169">
                  <wsu:Created>2006-11-20T11:37:14Z</wsu:Created>
                  <wsu:Expires>2006-11-20T11:42:14Z</wsu:Expires>
                </wsu:Timestamp>
                <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-2feedb0b-ae8c-49b9-b4d5-fa0cb8bb162a">
                  <wsse:Username>Domain\UserName</wsse:Username>
                  <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password</wsse:Password>
                  <wsse:Nonce>tUGicAu+FeYpsxW8ny3Fww==</wsse:Nonce>
                  <wsu:Created>2006-11-20T11:37:14Z</wsu:Created>
                </wsse:UsernameToken>
              </wsse:Security>
            </env:Header>
            <env:Body>
              <string xmlns="http://tempuri.org/" />
            </env:Body>
          </env:Envelope>
        </processingStep>
      </outputMessage>
      <outputMessage utc="11/20/2006 11:37:58 AM" messageId="urn:uuid:cf8ac9bf-5b93-470a-b7da-c00c5a204545">
        <processingStep description="Unprocessed message">
          <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Body>
              <TerminateSession xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft/ConnectedServices/2006/06/Session/" />
            </env:Body>
          </env:Envelope>
        </processingStep>
        <processingStep description="Entering SOAP filter Microsoft.Web.Services3.Design.UsernameOverTransportAssertion+ClientOutputFilter" />
        <processingStep description="Exited SOAP filter Microsoft.Web.Services3.Design.UsernameOverTransportAssertion+ClientOutputFilter" />
        <processingStep description="Processed message">
          <env:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Header>
              <wsa:Action>http://Microsoft/ConnectedServices/2006/06/Session/TerminateSession</wsa:Action>
              <wsa:FaultTo>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:FaultTo>
              <wsa:From>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:From>
              <wsa:MessageID>urn:uuid:cf8ac9bf-5b93-470a-b7da-c00c5a204545</wsa:MessageID>
              <wsa:ReplyTo>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:ReplyTo>
              <wsa:To>http://machine-name/Session30/SessionManagerAdmin.ashx</wsa:To>
              <csfse:SessionID xmlns:csfse="http://Microsoft/ConnectedServices/2006/06/Session/">urn:c9481c67-ab35-4bf8-9490-52cb271af466</csfse:SessionID>
              <wsse:Security env:mustUnderstand="true">
                <wsu:Timestamp wsu:Id="Timestamp-b22cf1e0-4e04-4985-93f0-3df4bf0fa3aa">
                  <wsu:Created>2006-11-20T11:37:58Z</wsu:Created>
                  <wsu:Expires>2006-11-20T11:42:58Z</wsu:Expires>
                </wsu:Timestamp>
                <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-b6721369-590f-4d00-ae29-1d8c2f2b359f">
                  <wsse:Username>Domain\UserName</wsse:Username>
                  <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password</wsse:Password>
                  <wsse:Nonce>PnjHpcq2oZ6cpA6RW6Cw2A==</wsse:Nonce>
                  <wsu:Created>2006-11-20T11:37:58Z</wsu:Created>
                </wsse:UsernameToken>
              </wsse:Security>
            </env:Header>
            <env:Body>
              <TerminateSession xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft/ConnectedServices/2006/06/Session/" />
            </env:Body>
          </env:Envelope>
        </processingStep>
      </outputMessage>
      <outputMessage utc="11/20/2006 11:38:02 AM" messageId="urn:uuid:5e6498a5-c4bf-46e5-8ee0-cbd5f7b8811c">
        <processingStep description="Unprocessed message">
          <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Body>
              <TerminateSession xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft/ConnectedServices/2006/06/Session/" />
            </env:Body>
          </env:Envelope>
        </processingStep>
        <processingStep description="Entering SOAP filter Microsoft.Web.Services3.Design.UsernameOverTransportAssertion+ClientOutputFilter" />
        <processingStep description="Exited SOAP filter Microsoft.Web.Services3.Design.UsernameOverTransportAssertion+ClientOutputFilter" />
        <processingStep description="Processed message">
          <env:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
            <env:Header>
              <wsa:Action>http://Microsoft/ConnectedServices/2006/06/Session/TerminateSession</wsa:Action>
              <wsa:FaultTo>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:FaultTo>
              <wsa:From>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:From>
              <wsa:MessageID>urn:uuid:5e6498a5-c4bf-46e5-8ee0-cbd5f7b8811c</wsa:MessageID>
              <wsa:ReplyTo>
                <wsa:Address>soap.tcp://machine-name:9100/UIFormService</wsa:Address>
              </wsa:ReplyTo>
              <wsa:To>http://machine-name/Session30/SessionManagerAdmin.ashx</wsa:To>
              <csfse:SessionID xmlns:csfse="http://Microsoft/ConnectedServices/2006/06/Session/">urn:c9481c67-ab35-4bf8-9490-52cb271af466</csfse:SessionID>
              <wsse:Security env:mustUnderstand="true">
                <wsu:Timestamp wsu:Id="Timestamp-5799c93f-fb1f-4760-b100-08061b195677">
                  <wsu:Created>2006-11-20T11:38:02Z</wsu:Created>
                  <wsu:Expires>2006-11-20T11:43:02Z</wsu:Expires>
                </wsu:Timestamp>
                <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-5b70b906-f117-4276-b3c8-c0ebcf9f811e">
                  <wsse:Username>Domain\UserName</wsse:Username>
                  <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password</wsse:Password>
                  <wsse:Nonce>FbIHFZfCA0YeE7XPAT4yEg==</wsse:Nonce>
                  <wsu:Created>2006-11-20T11:38:02Z</wsu:Created>
                </wsse:UsernameToken>
              </wsse:Security>
            </env:Header>
            <env:Body>
              <TerminateSession xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft/ConnectedServices/2006/06/Session/" />
            </env:Body>
          </env:Envelope>
        </processingStep>
      </outputMessage>
    </log>

     

    Regards

    - Hiren

    Monday, November 20, 2006 12:10 PM
  • I am attaching a part of the generated Session Manifest....

    Is the following RoutingTable information  appropriate for the CSF HelloWorld Sample Application???

    <RoutingTable version="0" timestamp="0001-01-01T00:00:00">
       <Routes>
          <Route>
             <Criteria>(ACTION EQ 'http://tempuri.org/HelloWorld')</Criteria>
             <Destination>HelloWorldParticipant[http://tempuri.org/HelloWorld]</Destination>
          </Route>
          <Route>
             <Criteria>(ACTION EQ 'http://tempuri.org/HelloWorldResponse')</Criteria>
             <Destination>UIParticipant[http://www.contoso.com/SampleServices/RouteResponse]</Destination>
          </Route>
       </Routes>
    </RoutingTable>

    Please let me know if anything needs to be altered in the same.

    - Hirén

    Monday, November 20, 2006 1:15 PM
  • Yes, the routing table is appropriate.

    From the look of traces, I am little confused about your trace, because your output trace has all the soapactions (CreateSession, http://tempuri.org/helloworld, TerminateSession), which i expect to see in the Session_input trace. 

    I expect to see more information in your InputTrace, I just see the createsession response, and nothing after that. I would expect to see the terminatesession response, if that is working. I thought would expect to see your error in the logs that you have been seeing, which you posted before?

    Do you see any errors in the event log? And you haven't told me, under what context Helloworld service is running under?

    Tilak

     

    Tuesday, November 21, 2006 9:35 PM
  • Hi Tilak,

    Sorry..... think i goofed up.

    The sample is working... and am getting the expected response now.

    The problem WAS with the directory security settings in IIS for the HelloWorldService as you had rightly pointed out before.

    Actually, I did enable anonymous access to it. But the changes only got applied once the IIS was reset.

    Thanks for all the help, and sorry for the trouble....

    Regards

    - Hirén

    Thursday, November 23, 2006 6:36 AM
  • hi hiren,

    i am facing the same problem can you explain your solution in brief.

     

    thanks

    abhi

     

     

     

    Wednesday, April 18, 2007 8:04 AM