Web service client, with embedded web server for SOAP callbacks - need clear guidance

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Web service client, with embedded web server for SOAP callbacks - need clear guidance

    I am working on an industrial application that reports data from industrial
    processes. I am working to an industry standard interface spec, so I cannot
    refactor the partitioning or redesign the interfaces. Here is my problem.

    The industrial process implements a web service for registering data
    collection schemes. I have to develop a client to receive the data.
    To receive the data, the client code:
    1. defines a data collection plan (creates local object, using types defined
    in WSDL)
    2. downloads the data collection plan to the process equipment (synchronous
    method call)
    3. activates the data collection plan, passing a URL for a callback
    (synchronous method call)
    4. listens for and collects data reported to the URL over SOAP (asynchronous
    callback to client)
    5. later deactivates the data collection plan

    So the client must also implement a web service server to handle the
    callback data reports.

    I can't run the callback using IIS, so I plan to run an embedded web server
    using Cassini-like technology. I can run the wsdl utility against the
    consumer interface WSDL file, to generate the abstract proxy stub and data
    types, and I can implement the derived class to actually perform the work.
    But how do I tie the implementation object that instantiates the data
    consumer class to the generated Host, Connection, and RequestHandler/Worker
    classes? The incoming "request" (actually a data report) comes in over
    SOAP, so I need something that will listen HTTP, render SOAP XML into method
    invocation and deserialize method parameters, run my implementation, and
    then reserialize any return parameters and send the response back over
    SOAP/HTTP.

    Can't use SOAP SDK 3.0, sproxy chokes on the complex data types defined in
    the spec's WSDL.

    Would prefer to use C# and .NET Framework 1.1. I read about HTTPListener in
    the ServiceStation article, but this is in .NET Fwk 2.0, which is still
    beta, and not sure I will be able to use it in my client environment.

    I have googled far and wide for "web services", "without IIS", "eventing",
    "remoting", you-name-it. I could really use some expert pointers. I'm lost
    amid the come-and-go jargon, and can't figure out which technology horses
    are today's stallions but tomorrow's goats.

    Thanks!
    -- Paul


    Paul McGuire Guest

  2. Similar Questions and Discussions

    1. #40210 [NEW]: SOAP client crash when parse WSDL file located on a SSL/TLS apache server
      From: maboiteaspam at gmail dot com Operating system: Solaris 8 PHP version: 5.2.0 PHP Bug Type: SOAP related Bug...
    2. Writing a HTML/ASP SOAP client for a SOAP::Lite destination
      How would I go about writing a SOAP client in either HTML or classic asp? The SOAP "listener" was written in Perl with SOAP::Lite in Unix and I am...
    3. Web Service client that dynamically changes posting server
      Hello, Visual Studio .Net really does well in creating the client side proxy for a web service that needs referencing. The one drawback of this...
    4. Access .NET DIME Service from COM SOAP Toolkit 3 client
      Hi I have created a .NET web service that can be requested to deliver binary data using DIME attachments. I also have created the client part...
    5. SOAP Client creation in ASP.NET using MS SOAP Toolkit
      how would I create a SOAP client in ASP.Net? The following code just works fine in VB: Dim lobjSOAP As New MSSOAPLib30.SoapClient30...
  3. #2

    Default Re: Web service client, with embedded web server for SOAP callbacks - need clear guidance

    Hello Paul,
    Have you tried using WSE to create soap receivers. Dont need a server to
    implement that. Also take a look at plumbwork orange [[url]http://sourceforge.net/projects/plumbworkorange/][/url]
    The project has an implementation of WS-Eventing which is probably exactly
    what yr looking for

    HTH
    Regards,
    Dilip Krishnan
    MCAD, MCSD.net
    dkrishnan at geniant dot com
    [url]http://www.geniant.com[/url]
    > I am working on an industrial application that reports data from
    > industrial processes. I am working to an industry standard interface
    > spec, so I cannot refactor the partitioning or redesign the
    > interfaces. Here is my problem.
    >
    > The industrial process implements a web service for registering data
    > collection schemes. I have to develop a client to receive the data.
    > To receive the data, the client code:
    > 1. defines a data collection plan (creates local object, using types
    > defined
    > in WSDL)
    > 2. downloads the data collection plan to the process equipment
    > (synchronous
    > method call)
    > 3. activates the data collection plan, passing a URL for a callback
    > (synchronous method call)
    > 4. listens for and collects data reported to the URL over SOAP
    > (asynchronous
    > callback to client)
    > 5. later deactivates the data collection plan
    > So the client must also implement a web service server to handle the
    > callback data reports.
    >
    > I can't run the callback using IIS, so I plan to run an embedded web
    > server using Cassini-like technology. I can run the wsdl utility
    > against the consumer interface WSDL file, to generate the abstract
    > proxy stub and data types, and I can implement the derived class to
    > actually perform the work. But how do I tie the implementation object
    > that instantiates the data consumer class to the generated Host,
    > Connection, and RequestHandler/Worker classes? The incoming "request"
    > (actually a data report) comes in over SOAP, so I need something that
    > will listen HTTP, render SOAP XML into method invocation and
    > deserialize method parameters, run my implementation, and then
    > reserialize any return parameters and send the response back over
    > SOAP/HTTP.
    >
    > Can't use SOAP SDK 3.0, sproxy chokes on the complex data types
    > defined in the spec's WSDL.
    >
    > Would prefer to use C# and .NET Framework 1.1. I read about
    > HTTPListener in the ServiceStation article, but this is in .NET Fwk
    > 2.0, which is still beta, and not sure I will be able to use it in my
    > client environment.
    >
    > I have googled far and wide for "web services", "without IIS",
    > "eventing", "remoting", you-name-it. I could really use some expert
    > pointers. I'm lost amid the come-and-go jargon, and can't figure out
    > which technology horses are today's stallions but tomorrow's goats.
    >
    > Thanks!
    >

    Dilip Krishnan Guest

  4. #3

    Default Re: Web service client, with embedded web server for SOAP callbacks - need clear guidance

    Dilip -

    Thanks! WSE is dead-on what I needed.

    I downloaded plumbwork orange, at first glance it seems to be overkill for
    my needs, but it's good to know that if things get more complicated than I
    currently envision, this event framework is close at hand.

    -- Paul

    "Dilip Krishnan" <dkrishnan@NOSPAM.geniant.com> wrote in message
    news:91128632403924962296048@msnews.microsoft.com. ..
    > Hello Paul,
    > Have you tried using WSE to create soap receivers. Dont need a server to
    > implement that. Also take a look at plumbwork orange
    [[url]http://sourceforge.net/projects/plumbworkorange/][/url]
    > The project has an implementation of WS-Eventing which is probably exactly
    > what yr looking for
    >
    > HTH
    > Regards,
    > Dilip Krishnan
    > MCAD, MCSD.net
    > dkrishnan at geniant dot com
    > [url]http://www.geniant.com[/url]
    >
    > > I am working on an industrial application that reports data from
    > > industrial processes. I am working to an industry standard interface
    > > spec, so I cannot refactor the partitioning or redesign the
    > > interfaces. Here is my problem.
    > >
    > > The industrial process implements a web service for registering data
    > > collection schemes. I have to develop a client to receive the data.
    > > To receive the data, the client code:
    > > 1. defines a data collection plan (creates local object, using types
    > > defined
    > > in WSDL)
    > > 2. downloads the data collection plan to the process equipment
    > > (synchronous
    > > method call)
    > > 3. activates the data collection plan, passing a URL for a callback
    > > (synchronous method call)
    > > 4. listens for and collects data reported to the URL over SOAP
    > > (asynchronous
    > > callback to client)
    > > 5. later deactivates the data collection plan
    > > So the client must also implement a web service server to handle the
    > > callback data reports.
    > >
    > > I can't run the callback using IIS, so I plan to run an embedded web
    > > server using Cassini-like technology. I can run the wsdl utility
    > > against the consumer interface WSDL file, to generate the abstract
    > > proxy stub and data types, and I can implement the derived class to
    > > actually perform the work. But how do I tie the implementation object
    > > that instantiates the data consumer class to the generated Host,
    > > Connection, and RequestHandler/Worker classes? The incoming "request"
    > > (actually a data report) comes in over SOAP, so I need something that
    > > will listen HTTP, render SOAP XML into method invocation and
    > > deserialize method parameters, run my implementation, and then
    > > reserialize any return parameters and send the response back over
    > > SOAP/HTTP.
    > >
    > > Can't use SOAP SDK 3.0, sproxy chokes on the complex data types
    > > defined in the spec's WSDL.
    > >
    > > Would prefer to use C# and .NET Framework 1.1. I read about
    > > HTTPListener in the ServiceStation article, but this is in .NET Fwk
    > > 2.0, which is still beta, and not sure I will be able to use it in my
    > > client environment.
    > >
    > > I have googled far and wide for "web services", "without IIS",
    > > "eventing", "remoting", you-name-it. I could really use some expert
    > > pointers. I'm lost amid the come-and-go jargon, and can't figure out
    > > which technology horses are today's stallions but tomorrow's goats.
    > >
    > > Thanks!
    > >
    >
    >

    Paul McGuire Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139