Solved

wrapper classes for web services

Posted on 2006-07-18
6
325 Views
Last Modified: 2008-02-01
The web service I am currently using has a custom handler called .fasmx and it is accepting a byte array from a set top box.

I have been asked to create a wrapper around the web service and then expose it to the client ... what does this mean and could some one give me an example ???

thanks
0
Comment
Question by:deersuper
  • 3
  • 3
6 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17138565
It means to create a class that has methods that correspond to the web methods exposed by the service.  Since the description for the web service isn't really strong-typed, you can create wrapper classes that are strong-typed, and allows for better Intellisense.

What language are you working with?  VB.NET or C#?

Bob
0
 
LVL 2

Author Comment

by:deersuper
ID: 17138648
C#
0
 
LVL 2

Author Comment

by:deersuper
ID: 17138661
but the client is going to be a STB which will use a custom protocol over HTTP (hence the file extension fasmx)to call methods on the Web service. If the client is not made in C# how would intellisense be any part of the dev process ?
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 17138719
The wrapper class would be responsible for creating a web service instance, and making the calls to the web methods and returning any values, etc.  I don't know how that would fit into a set-top box.  Can you give me more information about the STB?

Bob

0
 
LVL 2

Author Comment

by:deersuper
ID: 17139274
its a client side thing and all i know about it is that it has an agent on it which when needed will call the web service thru our custom protocol.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17160480
Custom protocol?

Bob
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question