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

This is the first time i have used a web services in vb.net 2010 - The web service allows to send mobile messages suing a webservices. but i am getting an error message

"An endpoint configuration section for contract 'MSGSERVER.LodgeSoap' could not be loaded because more than one endpoint configuration for that contract was found. Please indicate the preferred endpoint configuration section by name."
VB
Dim userM As String = txtuser.Text
Dim PassM As String = txtpassword.Text
Dim Number As String = txtnumber.Text
Dim Message As String = txtmessage.Text


Dim messnet As New MessageNetAU.LodgeSoapClient(ENDPOINTERROR HERE)
messnet.Open()
messnet.LodgeSMSMessage(userM, PassM, Number, Message)
messnet.Close()

I have searched on google, I found a good link - but still dont understand how this is implemented? any help would be great.

http://social.msdn.microsoft.com/Forums/pl-PL/wcf/thread/59039123-68c3-4031-9cfe-3cc7e3692650[^]
Posted
Updated 15-Nov-11 18:01pm
v2
Comments
Vinay Doke 16-Nov-11 4:40am    
It will be better if you can share web.config file you have for this?
This will help to resolve your issue.

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