473,408 Members | 1,973 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,408 software developers and data experts.

WebMethod Parameters

Hi,

I'm pretty new to WebServices and I'm a tester not a developer. The
WebService that I have been asked to test requires parameters that are both
input and ouput parameters. In addition to assigning a value to the output
parameter it will return a response in an XML message. I am confused by the
'output paramter' being passed in the method call e.g.

As an example the sort of call I am making from the testing tool is
something like this :-

set result = WebService("WSName").Logon(settings, userid, session )

where
settings is an input parameter of an XML message containing some audit info.
Userid is also an input parameter of a string.
Session is an output parameter !

The tool that I am using to test this WebService does not appear to allow
calling WebServices with output parameters

In summary my question is :- Can a WebService return the XML result message
AND populate the session variable ? If so is this common practise / good
practise ?

Any help appreciated ... thanks !
Mar 6 '06 #1
0 983

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

Similar topics

2
by: Alin Popovici | last post by:
Hi! I have this problem. I am sending as a parameter for a webmethod a string containing '\r\n' sequences. For some reason, when I debug my webmethod, the paramter is received with the carriage...
24
by: Joseph Geretz | last post by:
Up to this point, our application has been using Windows File Sharing to transfer files to and from our application document repository. This approach does not lend itself toward a secure...
5
by: LS | last post by:
Can a WebMethod return an Interface type? Can we pass an interface parameter ? Example : public interface IEntity { long Id { get; set; } string Name { get; set; } }
2
by: Peter McEvoy | last post by:
Folks, I've been building a Webservice API for a contract that will be exposed to the internet at large. There are two endpoints, and each endpoint contains a number of webmethods. Every...
1
by: Inas Hafez | last post by:
hi, I'm writing a webmethod to return a dataset using ado.net, the method takes parameters as follows: <WebMethod(Description:="This method is used to Get Account Report")> Public Function...
0
by: CMM | last post by:
When you run a WebService project you get a neat set of dynamically created pages you can use to test your methods. But, (for obvious reasons) it doesn't handle methods with complicated types as...
0
by: BillAtWork | last post by:
Hi, I've set up a SoapExtension class and XSD schema in order to validate the parameters of a webservice method call. However, I'm having a problem with one of the parameters - it's a string which...
5
by: elTonio | last post by:
Hi, I'm building a VB.Net webMethod that need to receive an already built Soap request, and that request cannot be changed, as it's already in use in our other server, so I'm stuck with it....
5
by: Jeff | last post by:
hi asp.net 2.0 The webmethod below don't get called. I'm not sure what I do wrong here. I think it's something to with the parameters. The GetCompletionList takes 2 parameters. I don't set...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.