OVH Cloud OVH Cloud

Déploiement d'une appli webforms utilisant un service web

1 réponse
Avatar
Prosper
Hi,
I have implemented (using VS.NET 2003)a winforms app which is using an xml
web service; the two have been developped in my local machine;

Now the web service will be deployed in a remote server, and the winforms
app will be deployed in 5 clients standalone machines.

The problem is when I was implemented my two app., I didn't deal with the
discovery of the web service;and I suspected that I must touch the disco file
of my winforms app, according to the new place of the xml web service

here is the current disco


?xml version="1.0" encoding="utf-8"?>

<discovery xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://schemas.xmlsoap.org/disco/">

<contractRef
ref="http://localhost/WS_TicketManagement/BLL/CSTicketController.asmx?wsdl"
docRef="http://localhost/WS_TicketManagement/BLL/CSTicketController.asmx"
xmlns="http://schemas.xmlsoap.org/disco/scl/" />

<soap
address="http://localhost/WS_TicketManagement/BLL/CSTicketController.asmx"
xmlns:q1="http://tempuri.org/"
binding="q1:Web_x0020_Service_x0020_TicketManagementSoap"
xmlns="http://schemas.xmlsoap.org/disco/soap/" />

</discovery>

Quelqu'un a-t-il une idée sur la manière de procéder?

Merci

1 réponse

Avatar
Paul Bacelar
"Prosper" wrote in message
news:
Hi,
I have implemented (using VS.NET 2003)a winforms app which is using an


xml
web service; the two have been developped in my local machine;

Now the web service will be deployed in a remote server, and the winforms
app will be deployed in 5 clients standalone machines.

The problem is when I was implemented my two app., I didn't deal with the
discovery of the web service;and I suspected that I must touch the disco


file
of my winforms app, according to the new place of the xml web service

here is the current disco


?xml version="1.0" encoding="utf-8"?>

<discovery xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://schemas.xmlsoap.org/disco/">

<contractRef



ref="http://localhost/WS_TicketManagement/BLL/CSTicketController.asmx?wsdl"
docRef="http://localhost/WS_TicketManagement/BLL/CSTicketController.asmx"
xmlns="http://schemas.xmlsoap.org/disco/scl/" />

<soap
address="http://localhost/WS_TicketManagement/BLL/CSTicketController.asmx"
xmlns:q1="http://tempuri.org/"
binding="q1:Web_x0020_Service_x0020_TicketManagementSoap"
xmlns="http://schemas.xmlsoap.org/disco/soap/" />

</discovery>

Quelqu'un a-t-il une idée sur la manière de procéder?

Merci






Disco, ce n'est pas obsolète ce truc.

Regardez plutôt du coté du contrat d'interface WSDL.

Quel votre problème au juste, car VS.NET cache la majorité de la tuyauterie.

Pour le référencement des WebServices, c'est du coté de UDDI qu'il faut
regarder.


--
Paul Bacelar