Click here to Skip to main content
15,901,205 members
Home / Discussions / C#
   

C#

 
AnswerRe: Static Constructors/Static Initializers Pin
PIEBALDconsult11-Dec-09 11:05
mvePIEBALDconsult11-Dec-09 11:05 
Questionzedgraph Pin
jashimu10-Dec-09 7:25
jashimu10-Dec-09 7:25 
AnswerRe: zedgraph Pin
Luc Pattyn10-Dec-09 7:32
sitebuilderLuc Pattyn10-Dec-09 7:32 
GeneralRe: zedgraph Pin
jashimu10-Dec-09 8:27
jashimu10-Dec-09 8:27 
Question<key value=""> collection as a parameter in an interface method</key> Pin
Chiman110-Dec-09 5:51
Chiman110-Dec-09 5:51 
GeneralRe: collection as a parameter in an interface method [modified] Pin
Abhinav S10-Dec-09 6:22
Abhinav S10-Dec-09 6:22 
GeneralRe: collection as a parameter in an interface method Pin
Chiman111-Dec-09 17:34
Chiman111-Dec-09 17:34 
QuestionSend a class object to a webservice Pin
Gktony10-Dec-09 5:32
Gktony10-Dec-09 5:32 
Hi all,

I am trying to send a class to a web service but I get error

SoapException was unhandled by user code
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable.

It happens when I call the webservice in the follwoing line
info.sendInformation(createFile);


here is my web method,

[WebMethod]
public void sendInformation(object info)
{
etc.
}

and my code to call it

info createFile = new info();

createFile .Reference = txtReference.Text;
createFile .AccountNo = txtAccountNo.Text;
createFile info = new InfoService ();
info.sendInformation(createFile);

and the class

public class fax : TestPage
{

public string Reference
{
get { return _Reference; }
set { _Reference = value; }
}

public string AccountNo
{
get { return _AccountNo; }
set { _AccountNo = value; }
}
etc.

}



Thanks
AnswerRe: Send a class object to a webservice Pin
hammerstein0510-Dec-09 5:52
hammerstein0510-Dec-09 5:52 
GeneralRe: Send a class object to a webservice Pin
Gktony10-Dec-09 6:08
Gktony10-Dec-09 6:08 
GeneralRe: Send a class object to a webservice Pin
hammerstein0510-Dec-09 6:30
hammerstein0510-Dec-09 6:30 
Questionvariable names Pin
benjamin yap10-Dec-09 4:59
benjamin yap10-Dec-09 4:59 
AnswerRe: variable names Pin
Keith Barrow10-Dec-09 5:05
professionalKeith Barrow10-Dec-09 5:05 
AnswerRe: variable names Pin
OriginalGriff10-Dec-09 5:05
mveOriginalGriff10-Dec-09 5:05 
AnswerRe: variable names Pin
PIEBALDconsult10-Dec-09 5:18
mvePIEBALDconsult10-Dec-09 5:18 
GeneralRe: variable names Pin
benjamin yap10-Dec-09 5:22
benjamin yap10-Dec-09 5:22 
GeneralRe: variable names Pin
Abhinav S10-Dec-09 5:32
Abhinav S10-Dec-09 5:32 
GeneralRe: variable names Pin
benjamin yap10-Dec-09 5:39
benjamin yap10-Dec-09 5:39 
GeneralRe: variable names Pin
Abhinav S10-Dec-09 5:47
Abhinav S10-Dec-09 5:47 
GeneralRe: variable names Pin
benjamin yap10-Dec-09 5:53
benjamin yap10-Dec-09 5:53 
GeneralRe: variable names Pin
Abhinav S10-Dec-09 5:58
Abhinav S10-Dec-09 5:58 
GeneralRe: variable names Pin
benjamin yap10-Dec-09 6:06
benjamin yap10-Dec-09 6:06 
GeneralRe: variable names Pin
Luc Pattyn10-Dec-09 6:08
sitebuilderLuc Pattyn10-Dec-09 6:08 
AnswerRe: variable names Pin
Keith Barrow10-Dec-09 6:12
professionalKeith Barrow10-Dec-09 6:12 
GeneralRe: variable names Pin
PIEBALDconsult10-Dec-09 6:32
mvePIEBALDconsult10-Dec-09 6:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.