Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 04, 2012 11:39 AM by maddyrafi8975
Member
134 Points
300 Posts
May 04, 2012 11:22 AM|LINK
Hi how our webform connect server to the third party website server ? what need of that ? API means how to use that ? Explain anybody briefly pls...
All-Star
95503 Points
14106 Posts
May 04, 2012 11:31 AM|LINK
Web Services... HttpWebRequests...
Thanks.
May 04, 2012 11:39 AM|LINK
In this project i add webservice webreferences here... and how to get HttpWebRequests... in these...
trying to connect to a third party service what i want to include in my project ? what i want to get from that third party ?
i just add web references using this url : http://staging.ticketgoose.com/bookbustickets/services/TGSWS?wsdl
and my code is :
protected void Button1_Click(object sender, EventArgs e)
{
TGTravelServiceService ts = new TGTravelServiceService();
var data=ts.getStationList("maddyrafi@gmail.com","samerafi");
GridView1.DataSource = data.stationList;
GridView1.DataBind();
}
maddyrafi897...
Member
134 Points
300 Posts
Connect to server
May 04, 2012 11:22 AM|LINK
Hi how our webform connect server to the third party website server ? what need of that ? API means how to use that ? Explain anybody briefly pls...
ramiramilu
All-Star
95503 Points
14106 Posts
Re: Connect to server
May 04, 2012 11:31 AM|LINK
Web Services... HttpWebRequests...
Thanks.
JumpStart
maddyrafi897...
Member
134 Points
300 Posts
Re: Connect to server
May 04, 2012 11:39 AM|LINK
In this project i add webservice webreferences here... and how to get HttpWebRequests... in these...
trying to connect to a third party service what i want to include in my project ? what i want to get from that third party ?
i just add web references using this url : http://staging.ticketgoose.com/bookbustickets/services/TGSWS?wsdl
and my code is :
protected void Button1_Click(object sender, EventArgs e)
{
TGTravelServiceService ts = new TGTravelServiceService();
var data=ts.getStationList("maddyrafi@gmail.com","samerafi");
GridView1.DataSource = data.stationList;
GridView1.DataBind();
}