Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello ,
I added a service reference for the web service that I work with , it 's the Monster business Gateway . The operation work succesfully but after this and don't know what I should do to communicate with it and how can I send my xml file to it !
This the documentation provided by Monster http://doc.monster.com/real-time-posting[^] that seems not very clear for me !

Any help will be appreciated.
Posted

1 solution

now you need to create an object of the web reference that you have added in your project. this will give access to all methods of the webservice and you can use it as you wish.


C#
Webservice obj = new Webservice();
string helloworld = obj.helloworld(); 


this will return the hello world string. like above you can use other methods as well.
 
Share this answer
 
Comments
amiach 21-Mar-14 4:19am    
I found that the web service contain BusinessGatewayInterface and it contains many helpful method , how can use this ?
ravikhoda 21-Mar-14 4:31am    
well that may be depend upon your need. i dont know what you exactly wanted to do. above code is just for reference that this way you can access the methods of the web service.
amiach 21-Mar-14 4:32am    
I need to call the web service and after send an xml file , how can I call it from BusinessGatewayInterface
ravikhoda 21-Mar-14 4:37am    
sorry brother no idea in much details i have worked on webservices but that was developed by me only and i know the business logic of that. better lets wait for someone else to ans it.
amiach 21-Mar-14 5:26am    
ok , Thanks

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