Solved

wrapper classes for web services

Posted on 2006-07-18
6
328 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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