Click here to Skip to main content
16,016,489 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All ;

I have a Wcf Service contain a method named MyMethod which take paramter a complex type like Person class for example .

MyMethod (Persion p)

Note : Persion is a class for example

After i generate a proxy class to use this service

i want to call the Mymethod and pass the persion class for this method

but i found error

so how can i Pass a complex paramter to the wcf method ???


The real case i'm trying to pass the System.Exception class
Posted
Comments
fjdiewornncalwe 23-Nov-10 8:25am    
Can you add what error you are getting to your question. It may be useful to determining what the problem is.
kimo code 23-Nov-10 9:12am    
here is the error

System.ServiceModel.CommunicationException was unhandled by user code
Message="The remote server returned an error: NotFound."
rajesh1231103 30-Nov-10 0:44am    
can u post ur web.config and servicereference.clientconfig code

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900