Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Pass variable ByRef to Web Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SQLScott - 09 Feb 2005 14:41 GMT
I know that passing variables "ByRef" to a web web service is permitted, but
what I am expreriencing is quite odd.  

If I take out my ByRef parameter from the method of my web service, i can
step through (F11) into the web service for debugging.

If I put in a ByRef parameter in the method of the web service, F11
(stepping into the method) does not work.  It acts as though I hit the F10
key (Step Over).

Has anyone else seen this?
Signature

Thanks,

Scott

Martin Kulov - 09 Feb 2005 17:17 GMT
Generally ByRef parameter does not make any sense in web service world. All
parameters are passed by value. Honestly I do not know what is happening. Go
to the web service proxy class and see what is it calling.

Signature

Martin Kulov
http://www.codeattest.com

MCAD Charter Member
MCSD.NET Early Achiever
MCSD

> I know that passing variables "ByRef" to a web web service is permitted, but
> what I am expreriencing is quite odd.
[quoted text clipped - 7 lines]
>
> Has anyone else seen this?
erymuzuan - 10 Feb 2005 12:50 GMT
It's not entirely true when you say all the parameters are passed by
values, since web services define input and output messages element in
WSDL in such a way that it's always XML element fragment. You can of
course make input and output messages refer to the same element, but
this won't necessarily make them reference type. This must be
implemented by the web services framework(i.e. ASP.Net web services,
axis etc.)

regards
erymuzuan

> Generally ByRef parameter does not make any sense in web service world. All
> parameters are passed by value. Honestly I do not know what is happening. Go
> to the web service proxy class and see what is it calling.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.