TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Harshad Daeji
NA
1
756
How to call/invoke webservice method Using WSDL file as ref?
Feb 14 2016 6:26 AM
I am not able to invoke the Web service Method using WSDL web reffernce.
Step I Follow to invoke the webservice method
1. Add Web refernce of WSDL file. (It generates the refernce method )
2. create instance of service.
3. assign parameter to service method.
Sample c# code
CM_PORTG3_Ref.CM_PORTG3 _CM_PORTG3 = new CM_PORTG3_Ref.CM_PORTG3();
_CM_PORTG3.startdate = "1-Aug-2015";
_CM_PORTG3.enddate = "31-Aug-2015";
_CM_PORTG3.aid = "Agent1";
CM_PORTG3_Ref.CM_PORTG3Service _CM_PORTG3Service = new CM_PORTG3_Ref.CM_PORTG3Service();
////Smaple WSDl file attached
Attachment:
wsdl file.rar
Reply
Answers (
1
)
facing some issue in session expire problem in .net server
error asp.net 5 template