Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Services (http://www.velocityreviews.com/forums/f64-asp-net-web-services.html)
-   -   help with getting info from a wsdl file (http://www.velocityreviews.com/forums/t784726-help-with-getting-info-from-a-wsdl-file.html)

amy f via .NET 247 03-18-2005 03:42 AM

help with getting info from a wsdl file
 
(Type your message here)
Help. I am trying to send and receive to an outside web service. The method in the wsdl file is Get_something
Im doing this in dotnet c#

The method takes a string but returns an object. I pass in the string it takes but it blows up on me and throws me an error

here is the code inside the webservice object
[return: System.Xml.Serialization.SoapElementAttribute("ses sion")]
Line 37: public string get_session(string ssn) {
Line 38: object[] results = this.Invoke("get_session", new object[] {
Line 39: ssn});
Line 40: return ((string)(results[0]));

when i try to get this method it only wants string how do i get something passing it a string and return it as an object or an array????

--------------------------------
From: amy f

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>MW43eZI5jU6NOvT52FlvEg==</Id>


All times are GMT. The time now is 09:09 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57