Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 425715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:24:27+00:00 2026-05-12T19:24:27+00:00

can i implement a SOAP Service which can deal with delegates/events?? Can i also

  • 0

can i implement a SOAP Service which can deal with delegates/events?? Can i also use Streams with SOAP? How does it look like in C#?

thanks,
el

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T19:24:28+00:00Added an answer on May 12, 2026 at 7:24 pm

    The SOAP protocol is based on top of HTTP so cannot act as a ‘PUSH’ service without doing heavy tricks => you cannot easily create an event-based webservice in ASP.NET.

    You cannot use Streams neither but you can transmit binary content using byte[] parameters or return types. This is how it looks like in C# :

    ///Server side
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class Service1 : System.Web.Services.WebService
    {
    
        [WebMethod]
        public byte[] GetFile(string fullName)
        {
            return File.ReadAllBytes(fullName);
        }
    }
    
    ///Client Side
    private void button1_Click(object sender, EventArgs e)
    {
        Service1 client = new Service1();
        pictureBox1.Image = Image.FromStream(
            new MemoryStream(
                client.GetFile("c:\\apple.jpg")));
    }
    

    That’s it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was search for a video platform which I can use as a web-service
How I can implement dynamic Jtree, which shows created instances of clases? For example,
I'd like to know if I can implement a method on MemoryCache that removes
I'm building a Delphi Win32 app that should consume a Soap Service, which turns
We need to implement a WCF service on a machine that can only run
I have a soap web service exposed with axis2 (Java) which serializes POJOs, such
I had a .asmx web service that check parameters of soap header like this:
I am trying to implement a web service that accepts SOAP 1.2 over HTTP
I can implement both variants - it's easy. But I'm interested: what approach is
How can implement reordring in winforms datagridview by using the feature of drag and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.