Solved

wrapper classes for web services

Posted on 2006-07-18
6
324 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now