473,382 Members | 1,424 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

sending a keycode to a webservice

How do you send a keycode or a passcode to a webservice interface (they are
stored as parameters)? So I guess I am asking how do you send parameters to
web services.. thanks
Nov 21 '05 #1
3 895
Hi Brian,

I think to send parameter to a webservice is to call a webmethod with
parameters of the webservice.
If I have any misunderstanding, please feel free to let me know.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 21 '05 #2
Brian,

In this sample is getting a parameter from a webservice which comes from
again from another webservice.

Do you want it the other way, than I can change this sample for you

It is so easy to make, just open a webservice project and change 3 or 4
lines, than add a windowform project. Build and debut.

I hope this helps?

Cor

First Webservice
\\\
<WebMethod()> _
Public Function HelloWorld() As String
Return "First Service"
End Function
///
Second Webservice
\\\
<WebMethod()> _
Public Function HelloWorld() As String
Dim me1 As New localhost.Service1
Return me1.HelloWorld
End Function
///
Window Form
\\\
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim me2 As New localhost.Service2
Me.Label1.Text = me2.HelloWorld()
End Sub
///

I hope this helps a little bit?

Cor
Nov 21 '05 #3
thanks

""Peter Huang"" <v-******@online.microsoft.com> wrote in message
news:sw**************@cpmsftngxa10.phx.gbl...
Hi Brian,

I think to send parameter to a webservice is to call a webmethod with
parameters of the webservice.
If I have any misunderstanding, please feel free to let me know.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Perttu Pulkkinen | last post by:
I use hit two function to stop from sending the form. First one I use to move focus to the next desired field, second one to do nothing (when there is no desired field to go). Works in IE &...
2
by: anonymous | last post by:
Hi, I'am sending an xml string to a web service(which is written in c#) using the microsoft web services behavior. When I check this string from the web service I observed that some of the...
4
by: Flare | last post by:
OK. I'll try explain my problem so simple as possible. I have to send a complex data type to a WebService from a Asp.net webapplication. My Data type look like this. (A class with a porperty)...
4
by: Geoff Jones | last post by:
Hiya I have overriden a DataGrid in Vb.net. During some calculations within this DataGrid, I would like to be able to send a signal to the form that hosts the DataGrid e.g. update a progress...
1
by: Nick Gilbert | last post by:
Hi, I'm trying to create a system whereby my desktop application submits it's order to an online server using a webservice (pretty standard!). So, I added a new project to my solution to...
1
by: hazz | last post by:
if I think about efficiently sending data back and forth through a webservice for a 'typical' application (in this case smart client using Composite UI application block) what questions do I ask...
3
by: Sydney | last post by:
Hi, I am trying to construct a WSE 2.0 security SOAP request in VBScript on an HTML page to send off to a webservice. I think I've almost got it but I'm having an issue generating the nonce...
0
by: Willem_at_work | last post by:
Hi, I've got an application on a PDA that interacts with a webservice through a wireless connection. All data transfers work fine, untill i try to send a DataSet from the PDA to the...
2
by: ksheerasagar17 | last post by:
Hello All, Scenario: Sending an image through webservice as byte array to an Java webservice. The Problem1: The webservice method image property expects (data type) SByte rather than Byte...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.