help with getting info from a wsdl file

A

amy f via .NET 247

(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("session")]
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????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top