locked
Problem connecting to service on Win CE RRS feed

  • Question

  • I have 2 services running on separate nodes and different machines. Everything works fine. I specify the Partner relationship in the manifest
           <dsspStick out tongueartnerList>
                <dsspStick out tongueartner>
                    <dsspTongue Tiedervice>http://localhost:40000/LocalizationEngine</dsspTongue Tiedervice>
                    <dssp:Name>obsmap:LocalizationEngine</dssp:Name>                         
        
    I ported the LocalizationEngine service to Win CE. It runs fine there, the console outputlooks good. I try connecting to the service by changing the partner ip address from localhost to the CE device machine it fails. I used a network sniffer. It appears that the GetRequest is failing because of UnknownEntry -  Service not found. I've included the soap messages below.

    ...<s:Envelope xmlnsTongue Tied="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlnsBig Smile="http://schemas.microsoft.com/xw/2004/10/dssp.html"><s:Header><wsa:Action>http://schemas.microsoft.com/xw/2004/10/dssp.html:GetRequest</wsa:Action><wsa:To>http://172.16.61.78:50000/LocalizationEngine</wsa:To><d:Timestamp><d:Value>2007-10-02T13:23:25.5902356-05:00</d:Value></d:Timestamp><wsa:ReplyTo><wsa:Address>dssp.tcp://wdxac180620k7:50001/obstaclemapgenerator</wsa:Address></wsa:ReplyTo><wsa:MessageID>uuid:38c9415e-d81d-43ba-bb9d-bd9a9dae7840</wsa:MessageID></s:Header><s:Body><d:GetRequest /></s:Body></s:Envelope>HTTP/1.1 200 OK

    Content-Type: application/soap+xml; charset=utf-8

    Content-Length: 704



    ...<s:Envelope xmlnsTongue Tied="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlnsBig Smile="http://schemas.microsoft.com/xw/2004/10/dssp.html">
    <s:Header><wsa:RelatesTo>uuid:38c9415e-d81d-43ba-bb9d-bd9a9dae7840</wsa:RelatesTo><wsa:To>dssp.tcp://wdxac180620k7:50001/obstaclemapgenerator</wsa:To><d:Timestamp><d:Value>2006-01-06T11:30:44-08:00</d:Value></d:Timestamp><wsa:Action>http://schemas.microsoft.com/xw/2004/10/dssp.html:GetResponse</wsa:Action></s:Header><s:Body><s:Fault><s:Code><s:Value>sTongue Tiedender</s:Value><sTongue Tiedubcode><s:Value>d:UnknownEntry</s:Value></sTongue Tiedubcode></s:Code><s:Reason><Text>Service not found</Text></s:Reason></s:Fault></s:Body></s:Envelope>
    Tuesday, October 2, 2007 7:52 PM

Answers

  • DSS lower cases URL internally. Specify the partner as http://localhost:40000/localizationengine and it should work. You can look at the service directory to figure out which URLs are known to the system.

     

    Also, you may want to consider using the binary transfer protocol (DSSP over TCP) instead of HTTP and SOAP. It is significantly more efficient. If you started the node (dsshost) with parameter /t:40001 you could use this URI as the partner: dssp.tcp://localhost:40001/localizationengine

     

    Andreas

     

    Wednesday, October 3, 2007 2:20 AM