ASP.NET WebService Application

V solution imam par svojih projektov med drgim sem dodal ASP.NET WebService Application. Sedaj me pa zanimam kako se sklicujem iz Web Application, ki jo imam v istem solution-u, na WebService iz WebService Application. A moram dodati Service reference? In kako potem WebService inkludam na page?

 

Lp,

Matjaž 

Avtor: o-MA-n-tjaz, objavljeno na portalu SloDug.si (Arhiv)

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.

HedaWhece
HedaWhece - nedelja, 17. november 2024

S0106 was a prospective trial of patients up to age 60 with de novo AML randomized to receive standard induction with or without GO 6 mg m2 given on day 4 <a href=https://fastpriligy.top/>can you buy priligy online</a> This can interfere with the ability of the sperm to get into the uterus and fallopian tubes

bojanv
bojanv - petek, 04. maj 2007

Kolkr razumem, hoče&scaron; klicat web service na klientu. Sicer tega &scaron;e nisem delal, samo tale dva linka ti bosta ziher v pomoč.Klicanje z remoting scripting-om:http://www.codeproject.com/soap/marcelo888RemoteScript01.aspin klicanje z ajax-om ( ker ne vem, ali ga dopu&scaron;ča&scaron; )http://weblogs.asp.net/dwahlin/archive/2006/12/01/video-calling-web-services-using-asp-net-ajax-and-javascript.aspx

o-MA-n-tjaz
o-MA-n-tjaz - četrtek, 03. maj 2007

Bom poskusil bolj konkretno. Primer:WebSide appTest.aspx &lt;/script&gt; &lt;script type=&quot;text/javascript&quot;&gt; var ClentClass = new WebServices.WebServiceClass.(); .... &lt;/script&gt;&nbsp;WebServices appws.asmx&nbsp;&nbsp;&nbsp; namespace WebServices&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; public class WebServiceClass&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; public string HelloWorld()&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp; }&nbsp;Kaj oz. kako moram includat WebService na Test.aspx da ga bo v vrstici&nbsp;&nbsp;&nbsp; var ClentClass = new WebServices.WebServiceClass.();zaznal?&nbsp;Lp,Matjaž&nbsp;&nbsp;

bojanv
bojanv - četrtek, 03. maj 2007

Če sem pravilno razumel, mora&scaron; dodat referenco na projekt oziroma web service. Zdaj, če bo&scaron; zadevo fural lokalno, bo&scaron; lahko preko tega dostopal (za probo) preko localhosta, če da&scaron; nekam na server, preko urlja na serverju. V aplikaciji pa dostopa&scaron; do elementov preko imenskega prostora in instance objekta, kjer ima&scaron; metode. Kaj točno pa želi&scaron; narediti? Rabi&scaron; kaki primer ali razume&scaron;, kaj sem želel povedati?