Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

wrapper classes for web services

Posted on 2006-07-18
6
Medium Priority
?
332 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Loops Section Overview
Screencast - Getting to Know the Pipeline
Suggested Courses

926 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