Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
LinkedIn
Online Members
baskar
Phagu Mahato
More...
Join our online
Google+ community
for Bloggers, Content Writers and Webmasters
Forums
»
.NET
»
Webservices
»
This Poll is not active any more.
Opinion Poll: Can byte[] be a user input to webservice?
Yes
No
May be
Poll Results
1.
50%
Yes
2.
50%
No
3.
0%
May be
Total Votes: 2
Can byte[] be a input to webservice
Posted Date:
12 Jul 2012
Posted By::
Somasekar N
Member Level:
Gold
Member Rank:
306
Points
: 1
Responses:
2
Is that possible to get byte[] array from client as input to a webservice? if possible give me code example...
Click here to get coupon codes...
Coupon Codes
Tweet
Responses
#680091 Author:
Paritosh Mohapatra
Member Level:
Diamond
Member Rank:
6
Date: 12/Jul/2012 Rating:
Points
: 2
You can convert a string to byte array and pass it to the desired web service.
Please check the following code:
string inputString = "DotNetSpider";
byte[] array = Encoding.ASCII.GetBytes(inputString);
Thanks & Regards
Paritosh Mohapatra
Microsoft MVP (ASP.Net/IIS)
DotNetSpider MVM
#680119 Author:
Anil Kumar Pandey
Member Level:
Platinum
Member Rank:
1
Date: 12/Jul/2012 Rating:
Points
: 2
The Byte array can be send across the web service easily.
Generally we convert the Image objects in a Byte array and then transfer from client to client.
Thanks & Regards
Anil Kumar Pandey
Microsoft MVP, DNS MVM
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
How to consume data from json file through webservice?
Previous :
Exception when access webserive from IIS
Return to Discussion Forum
Post New Message
Category:
Related Messages
How to synchronize data?
Search File on FTP Server..it's urgent
Parsing a XML file using WebService
what is webservice
i need to create a web service
Follow us on Twitter:
https://twitter.com/dotnetspider
Active Members
Today
Sriram
(18)
naveensanagase...
(15)
Phagu Mahato
(7)
Last 7 Days
baskar
(279)
Asheej T K
(203)
srisunny
(187)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
About Us
Contact Us
Copyright
Privacy Policy
Terms Of Use
Revenue Sharing sites
Advertise
Talk to
Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.