[Visual Basic .NET]Public Class WebServiceCollection Inherits Microsoft.SharePoint.Portal.Topology.ServiceCollectio [C#]public class WebServiceCollection : Microsoft.SharePoint.Portal.Topology.ServiceCollectio Public Method The following table shows the public methods of the WebServiceCollection class and a brief description of each
Name Description Add(Microsoft.SharePoint.Portal.Topology.WebService) Adds a WebService object to the topology.
Public Propertie The following table shows the properties of the WebServiceCollection class, the data type of each property, and a brief description of each
Name Data type Description Item(System.Guid) Microsoft.SharePoint.Portal.Topology.WebService Gets a WebService object.
Thread Safet Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe
Remark
Use the WebServiceCollection class to manage WebService objects in the topology of the server farm. The WebServiceCollection class corresponds to the list of WebService objects in the Services table of the configuration database. WebService objects are distinguished from other services and components listed in the Services table by the GUID value of the WebService.ServiceClass public field ({1C65FF1A-2A7C-45B4-A79B-69D0197715AB}) in the ClassID column
To use the properties and methods of the objects in the Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database
In addition, for certain methods, such as those that create a portal site or modify credentials, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database
[Visual Basic .NET]Public Class WebServiceCollection Inherits Microsoft.SharePoint.Portal.Topology.ServiceCollectio
[C#]public class WebServiceCollection : Microsoft.SharePoint.Portal.Topology.ServiceCollectio
Public Method
The following table shows the public methods of the WebServiceCollection class and a brief description of each
Name Description
Add(Microsoft.SharePoint.Portal.Topology.WebService) Adds a WebService object to the topology.
Public Propertie
The following table shows the properties of the WebServiceCollection class, the data type of each property, and a brief description of each
Name Data type Description
Item(System.Guid) Microsoft.SharePoint.Portal.Topology.WebService Gets a WebService object.
Thread Safet
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe
Remark
Use the WebServiceCollection class to manage WebService objects in the topology of the server farm. The WebServiceCollection class corresponds to the list of WebService objects in the Services table of the configuration database. WebService objects are distinguished from other services and components listed in the Services table by the GUID value of the WebService.ServiceClass public field ({1C65FF1A-2A7C-45B4-A79B-69D0197715AB}) in the ClassID column
To use the properties and methods of the objects in the Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database
In addition, for certain methods, such as those that create a portal site or modify credentials, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database
[Visual Basic .NET]Public Class WebServiceCollection Inherits Microsoft.SharePoint.Portal.Topology.ServiceCollectio [C#]public class WebServiceCollection : Microsoft.SharePoint.Portal.Topology.ServiceCollectio Public Method The following table shows the public methods of the WebServiceCollection class and a brief description of each
Name Description Add(Microsoft.SharePoint.Portal.Topology.WebService) Adds a WebService object to the topology.
Public Propertie The following table shows the properties of the WebServiceCollection class, the data type of each property, and a brief description of each
Name Data type Description Item(System.Guid) Microsoft.SharePoint.Portal.Topology.WebService Gets a WebService object.
Thread Safet Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe
Remark
Use the WebServiceCollection class to manage WebService objects in the topology of the server farm. The WebServiceCollection class corresponds to the list of WebService objects in the Services table of the configuration database. WebService objects are distinguished from other services and components listed in the Services table by the GUID value of the WebService.ServiceClass public field ({1C65FF1A-2A7C-45B4-A79B-69D0197715AB}) in the ClassID column
To use the properties and methods of the objects in the Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database
In addition, for certain methods, such as those that create a portal site or modify credentials, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll
Security: Code Access Securit
'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
J'espere que cela répond à votre questio YJLAMOTT
Mikax
Merci pour votre réponse mais avant de rentrer dans le code, je voudrais visualiser les websservices de SPS dans l'onglet "Ajouter une référence web" de VS.NET 2003.
(comme dans le livre "Le portail Microsoft Sharepoint" p.70 -sauf que dans ce cas VS.NET et SPS sont sur la même machine-)
J'ai donc configurer UDDI sur le serveur SPS, et sélectionner l'option "Recherche des serveurs UDDI sur le réseau local" dans la boite de dialogue "Ajouter une référence web" de mon VS.NET 2003 , il trouve l'annuaire; mais au moment de charger la liste des websservices il retourne l'erreur :
" Erreur de configuration Message d'erreur de l'analyseur: Impossible d'acquérir les autorisations requises. Erreur source: [Aucune ligne source appropriée] Fichier source : machine.config Ligne : 258 "
Merci pour vos suggestions...
-----Message d'origine----- Bonjour, vu dans l'aide du SDK de SPS2003, voici la collection qui
liste les Webservices.
'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% WebServiceCollection Class
The WebServiceCollection class represents a collection of
WebService objects in the topology of a server farm.
Public Methods The following table shows the public methods of the
WebServiceCollection class and a brief description of each.
Name Description Add(Microsoft.SharePoint.Portal.Topology.WebService) Adds
a WebService object to the topology.
Public Properties The following table shows the properties of the
WebServiceCollection class, the data type of each property, and a brief description of each.
Name Data type Description Item(System.Guid)
Microsoft.SharePoint.Portal.Topology.WebService Gets a WebService object.
Thread Safety Any public static (Shared in Visual Basic) members of
this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.
Remarks
Use the WebServiceCollection class to manage WebService
objects in the topology of the server farm. The WebServiceCollection class corresponds to the list of WebService objects in the Services table of the configuration database. WebService objects are distinguished from other services and components listed in the Services table by the GUID value of the WebService.ServiceClass public field ({1C65FF1A-2A7C-45B4- A79B-69D0197715AB}) in the ClassID column.
To use the properties and methods of the objects in the
Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database.
In addition, for certain methods, such as those that
create a portal site or modify credentials, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database.
Merci pour votre réponse mais avant de rentrer dans le
code, je voudrais visualiser les websservices de SPS dans
l'onglet "Ajouter une référence web" de VS.NET 2003.
(comme dans le livre "Le portail Microsoft Sharepoint"
p.70 -sauf que dans ce cas VS.NET et SPS sont sur la même
machine-)
J'ai donc configurer UDDI sur le serveur SPS, et
sélectionner l'option "Recherche des serveurs UDDI sur le
réseau local" dans la boite de dialogue "Ajouter une
référence web" de mon VS.NET 2003 , il trouve l'annuaire;
mais au moment de charger la liste des websservices il
retourne l'erreur :
"
Erreur de configuration
Message d'erreur de l'analyseur: Impossible d'acquérir les
autorisations requises.
Erreur source:
[Aucune ligne source appropriée]
Fichier source : machine.config Ligne : 258
"
Merci pour vos suggestions...
-----Message d'origine-----
Bonjour,
vu dans l'aide du SDK de SPS2003, voici la collection qui
liste les Webservices.
'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
WebServiceCollection Class
The WebServiceCollection class represents a collection of
WebService objects in the topology of a server farm.
Public Methods
The following table shows the public methods of the
WebServiceCollection class and a brief description of each.
Name Description
Add(Microsoft.SharePoint.Portal.Topology.WebService) Adds
a WebService object to the topology.
Public Properties
The following table shows the properties of the
WebServiceCollection class, the data type of each
property, and a brief description of each.
Name Data type Description
Item(System.Guid)
Microsoft.SharePoint.Portal.Topology.WebService Gets a
WebService object.
Thread Safety
Any public static (Shared in Visual Basic) members of
this type are safe for multithreaded operations. Instance
members are not guaranteed to be thread safe.
Remarks
Use the WebServiceCollection class to manage WebService
objects in the topology of the server farm. The
WebServiceCollection class corresponds to the list of
WebService objects in the Services table of the
configuration database. WebService objects are
distinguished from other services and components listed in
the Services table by the GUID value of the
WebService.ServiceClass public field ({1C65FF1A-2A7C-45B4-
A79B-69D0197715AB}) in the ClassID column.
To use the properties and methods of the objects in the
Topology namespace you must be a member of the local
STS_WPG and SPS_WPG security groups, and a member of the
db_owner database role for the configuration database.
In addition, for certain methods, such as those that
create a portal site or modify credentials, you must be a
member of the local Administrators group, and have
membership in the Database Creators and Security
Administrators server roles in the SQL Server instance
that hosts the configuration database.
Merci pour votre réponse mais avant de rentrer dans le code, je voudrais visualiser les websservices de SPS dans l'onglet "Ajouter une référence web" de VS.NET 2003.
(comme dans le livre "Le portail Microsoft Sharepoint" p.70 -sauf que dans ce cas VS.NET et SPS sont sur la même machine-)
J'ai donc configurer UDDI sur le serveur SPS, et sélectionner l'option "Recherche des serveurs UDDI sur le réseau local" dans la boite de dialogue "Ajouter une référence web" de mon VS.NET 2003 , il trouve l'annuaire; mais au moment de charger la liste des websservices il retourne l'erreur :
" Erreur de configuration Message d'erreur de l'analyseur: Impossible d'acquérir les autorisations requises. Erreur source: [Aucune ligne source appropriée] Fichier source : machine.config Ligne : 258 "
Merci pour vos suggestions...
-----Message d'origine----- Bonjour, vu dans l'aide du SDK de SPS2003, voici la collection qui
liste les Webservices.
'%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% WebServiceCollection Class
The WebServiceCollection class represents a collection of
WebService objects in the topology of a server farm.
Public Methods The following table shows the public methods of the
WebServiceCollection class and a brief description of each.
Name Description Add(Microsoft.SharePoint.Portal.Topology.WebService) Adds
a WebService object to the topology.
Public Properties The following table shows the properties of the
WebServiceCollection class, the data type of each property, and a brief description of each.
Name Data type Description Item(System.Guid)
Microsoft.SharePoint.Portal.Topology.WebService Gets a WebService object.
Thread Safety Any public static (Shared in Visual Basic) members of
this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.
Remarks
Use the WebServiceCollection class to manage WebService
objects in the topology of the server farm. The WebServiceCollection class corresponds to the list of WebService objects in the Services table of the configuration database. WebService objects are distinguished from other services and components listed in the Services table by the GUID value of the WebService.ServiceClass public field ({1C65FF1A-2A7C-45B4- A79B-69D0197715AB}) in the ClassID column.
To use the properties and methods of the objects in the
Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database.
In addition, for certain methods, such as those that
create a portal site or modify credentials, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database.