I have the following function for a web services method (6 parameters where 5
of them need to pass out values):
[WebMethod(Description="Given pkey, return a patient record as parameters")]
public void GetPatientPara(out string patientID, out string LastName, out
string FirstName, out string Sex, out int Age, int pkey)
However, in client side, I only have first five parameters in
proxy.GetPatientPara
What is the problem that I have?
Thank for any comment about it.
David 2 2138
In fact, after updating the web reference, I get method interface like
GetPatientPara(int pkey, out string LastName, out
string FirstName, out string Sex, out int Age).
string patientID disappeared.
David
"david" wrote:
I have the following function for a web services method (6 parameters where 5
of them need to pass out values):
[WebMethod(Description="Given pkey, return a patient record as parameters")]
public void GetPatientPara(out string patientID, out string LastName, out
string FirstName, out string Sex, out int Age, int pkey)
However, in client side, I only have first five parameters in
proxy.GetPatientPara
What is the problem that I have?
Thank for any comment about it.
David
Check to see if your return value of the proxy is now string. I bet
patientID got turned into a return value.
I don't know why this happens, but another poster recently complained about
something similar.
--
John Saunders [MVP]
"david" <da***@discussions.microsoft.comwrote in message
news:93**********************************@microsof t.com...
In fact, after updating the web reference, I get method interface like
GetPatientPara(int pkey, out string LastName, out
string FirstName, out string Sex, out int Age).
string patientID disappeared.
David
"david" wrote:
>I have the following function for a web services method (6 parameters where 5 of them need to pass out values): [WebMethod(Description="Given pkey, return a patient record as parameters")] public void GetPatientPara(out string patientID, out string LastName, out string FirstName, out string Sex, out int Age, int pkey)
However, in client side, I only have first five parameters in proxy.GetPatientPara
What is the problem that I have?
Thank for any comment about it.
David This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: wawa_piggy |
last post by:
My .net application is to consume a Java web services exposed using
AXIS.
The web service will extract the user name and password to perform some
custom authentication.
/** Java **/
userId =...
|
by: Diego F. |
last post by:
I'm having a problem that I can't solve.
- I wrote a library with a class that has some numeric attributes and an
ArrayList; more or less:
public class myClass
{
private int number;
private...
|
by: Hulk |
last post by:
Hello,
Is it possible to list parameters and their types when you are using
tag or any else tag?
I couldn't find any lineseparator characters to Description attribute
when I was trying
to...
|
by: hulkko123 |
last post by:
Hello,
Is it possible to list parameters and their types when you are using
tag or any else tag?
I couldn't find any lineseparator characters to Description attribute
when I was trying
to...
|
by: hinsbr |
last post by:
Hello,
I am trying to learn about web services. I was able to get a working
VS 2005 web service and VS 2005 web service consumer application to
communicate. The service would return the passed...
|
by: raghuraman_ace |
last post by:
Hi
i have started a webservice wich has a webmethod with parameters using
literal encoding & encoded encoding . The webservice is compiled
successfully . But i don know how to pass the...
|
by: amazon |
last post by:
Our vender provided us a web service:
1xyztest.xsd file...
------------------------------------
postEvent PostEventRequest
-------------------------------------
authetication authentication...
|
by: Glenn |
last post by:
I am writing a Web Service in C# ASP.NET 2.0 that takes two optional
parameters. One is an int and the other is a string. Below is the
definition of the Web Method:
public...
|
by: leon |
last post by:
Hello group,
Somebody has a example where web methods receive and send classes in the
parameters.
I looking the best way to send parameters to web service and anybody told me
something like...
|
by: Ben Joyce |
last post by:
Hi all.
I'm confused as to what the best or expected approch is to Web Service
design under .Net, mainly with regards to Methods and Parameters.
This is a bit awkward to explain so please bear...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |