الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

ويب سيرفس و وندوز ابلكيشن

بدأه نجوى_بخش في 22 أكتوبر 2009 · 3 رد · 1,211 مشاهدة · في ASP.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكــم ورحمـة الله وبركاتــه ،،

اريد المساعده لدي برنامج عمل ويب سيرفس ومناداته عن طريق وندوز ابلكيشن يقوم المستخدم بارسال قيمة درجه الحرارة ويقوم الويب سيرفر بتحويلها اما سليوليوز او فهرنهايت .. المشكله اني في لم اعرف اكيف اضيف الويب سيرفر بالابلكيشن وكيف ارسل البيانات من اليوز الى الويب سيرفر ومن ثم استقبالها في الويندوز ابلكيشن؟؟

هذا كود الويندوز سيرفر

Imports System.Web

Imports System.Web.Services

Imports System.Web.Services.Protocols

<WebService(Namespace:="http://localhost:50839/najwa/")> _

<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _

Public Class Service

Inherits System.Web.Services.WebService

<WebMethod()> _

Public Function HelloWorld() As String

Return "Hello World"

End Function

<WebMethod()> _

Public Function Show() As String

Return "Najwa Bakhsh"

End Function

<WebMethod()> _

Public Function CelsiusToFahrenheit(ByVal Temperature As Double) As Double

Return Temperature * 9 / 5 + 32

End Function

<WebMethod()> _

Public Function FahrenheitToCelsius(ByVal Temperature As Double) As Double

Return (Temperature - 32) * 5 / 9

End Function

#2

وعليكــم السـلام ورحمة الله وبركاتـه..

attachicon.gifWeb Services

هيه درس بالبريسم و vs2008 وهو نفسه سالسي شارب

#3

I have this Problem

Web Services on the Local Machine

The Web services and Discovery Documents available on your VS.NET developer machine are listed below. Click the service link to browse that service.

There was an error while enumerating services on local machine:

Active Directory Services cannot find the web server. A possible cause for this is an incompatibility between versions of Internet Information Server (IIS) on the client and the server. Another possible cause is that IIS is not installed on the local machine, or the user identity under which you are running may not have permissions to view websites on this machine.

#4

السلام عليكم

اعتقد ان الخطوة الاولى هي التأكد من ان الويب سيرفس تعمل بشكل صحيح لذا افتحي متصفح الانترنت واكتبي عنوان الويب سيرفس http://localhost:50839/najwa

لذا تأكدي منها اولا

مواضيع مشابهة