Sending pdf attachment (SOAP) Web Service by C#
Hello,
I'm beginner and trying to write a Web service for my coursework, but I'm very embarrassed. I don't know C# even.I have to write a WebService which implement sending a pdf file (SOAP attachment) from client side to webservice side on C#. Can somebody help me, with some decision. I'm really very bad on this field and I need some code which I only have to Copy and Paste. I tried to do something but it was unsuccessful. I will be happy if someone can help me.
Best Regards
Hristo Alexiev
Answers (2)
0
it shows me this error : localhost.SqlParameter does not contain a constructor that takes 2 arguments
in
param[0] = new localhost.SqlParameter("KeyWord", b[1].ToString());
this line...
0
Hi u can try like this
localhost.SqlParameter[] param = new localhost.SqlParameter[2];
param[0] = new localhost.SqlParameter("KeyWord", "Testing");
param[1] = new localhost.SqlParameter("PageSize", 20);
var objGetDetail = Obj1.GetDetail("SP_Related", param).Tables[0];