Solved

wrapper classes for web services

Posted on 2006-07-18
6
320 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

706 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

17 Experts available now in Live!

Get 1:1 Help Now