wse router calling 2 diff webservices

Discussion in 'ASP .Net Web Services' started by kiran & Dev, Feb 25, 2005.

  1. kiran & Dev

    kiran & Dev Guest

    hi all

    I am unable to call to different webservices using a router ,

    Router looks like this

    <?xml version="1.0" ?>

    <r:referrals xmlns:r="http://schemas.xmlsoap.org/ws/2001/10/referral">

    <r:ref>

    <r:for>

    <r:exact>http://192.168.200.44/RouterService/StockService.asmx</r:exact>

    </r:for>

    <r:if />

    <r:go>

    <r:via>http://192.168.200.122/StockService/StockService.asmx</r:via>

    </r:go>

    <r:refId>uuid:fa469956-0057-4e77-962a-81c5e292f2ae</r:refId>

    </r:ref>

    <!--This service is for prem -->

    <r:ref>

    <r:for>

    <r:exact>http://192.168.200.44/RouterService/StockService1.asmx</r:exact>

    </r:for>

    <r:if />

    <r:go>

    <r:via>http://192.168.200.126/WebService1/Service1.asmx</r:via>

    </r:go>

    <r:refId>uuid:267ec72e-5a68-4c54-a872-69c3ba6818ee</r:refId>

    </r:ref>

    </r:referrals>


    stockService and Service1 are two different services and RouterService is
    the router ..

    It throws the following exception

    Calling http://192.168.200.44/RouterService/StockService.asmx
    Web Service called successfully. Simple view:

    Symbol: FABRIKAM
    Name: Fabrikam, Inc.
    Last Price: 120
    Previous Change: 5.5%

    Symbol: CONTOSO
    Name: Contoso Corp.
    Last Price: 50.07
    Previous Change: 7.15%
    Calling second webservice
    http://192.168.200.44/RouterService/StockService1.asmx

    ****** Exception Raised ******
    Web Exception Occured: System.Net.WebException: The request failed with HTTP
    sta
    tus 404: Not Found.
    at
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
    ntMessage message, WebResponse response, Stream responseStream, Boolean
    asyncCal
    l)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
    methodN
    ame, Object[] parameters)
    at StockServiceClient.Service1.HelloWorld() in c:\program files\microsoft
    wse
    \v2.0\samples\cs\quickstart\routing\routingclient\service1.cs:line 41
    at StockServiceClient.StockServiceClient.Run() in c:\program
    files\microsof
    wse\v2.0\samples\cs\quickstart\routing\routingclient\stockserviceclient.cs:line
    95
    at StockServiceClient.StockServiceClient.Main(String[] args) in
    c:\program fi
    les\microsoft
    wse\v2.0\samples\cs\quickstart\routing\routingclient\stockservicec
    lient.cs:line 53
    ******************************


    Any suggestions fully appreciated

    With Many Thanks
    Kiran
    kiran & Dev, Feb 25, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cyril Vi?ville

    diff Process under diff users

    Cyril Vi?ville, Jun 29, 2004, in forum: Perl
    Replies:
    1
    Views:
    508
    Joe Smith
    Jun 29, 2004
  2. Berrucho
    Replies:
    2
    Views:
    632
    Infant Newbie
    Dec 5, 2003
  3. A Traveler

    Diff CSS styles for diff INPUT TYPE='s?

    A Traveler, Aug 31, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    4,918
    Steve Fulton
    Aug 31, 2004
  4. kiran & Dev

    wse router --encrypting the message thru policies

    kiran & Dev, Mar 9, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    112
    kiran & Dev
    Mar 9, 2005
  5. Austin Ziegler

    [ANN] Diff::LCS 1.1.0, Diff::LCS 1.0.4

    Austin Ziegler, Aug 8, 2004, in forum: Ruby
    Replies:
    3
    Views:
    185
    Austin Ziegler
    Aug 9, 2004
Loading...

Share This Page