在某些情况下,处理不同的组织时,您可能需要为服务创建不同的命名空间,以避免名称冲突。
In some cases, when going across various organizations, you might need to create different namespaces for the services to avoid conflict with names.
应该避免这样做,因为它可能与服务注册中心的命名空间冲突或导致该命名空间混乱。
This should be avoided because it potentially conflicts with or pollutes the namespace in the service registry.
它通过XML命名空间提供强大的可扩展性,并提供了许多工具来提高描述复杂服务的有用性。
It provides strong extensibility through XML namespaces, and gives many tools to improve its usefulness for describing quite complex services.
每个组织都有不同的命名习惯,所以工具通常生成的Web服务存根代码在另一个平台上的WSDL命名空间声明中或许有不同的解释。
Each organization has a different naming convention, so tools used to generate Web services stub code on another platform might have different interpretations of the namespace declarations in WSDL.
在该系列文章中的下一部分,我将研究在Web服务互操作性上的命名空间所产生的影响。
In the next part of this series, I will explore the impact of namespace on the Web Service interoperability.
但是在Microsoft . NETWeb服务实现当中,如果您允许. NET框架生成WSDL文件,那么目标命名空间就会直接从您在代码中的定义生成。
But in Microsoft.net Web services implementations, if you allow the.net framework to generate the WSDL file, the target namespace comes directly from what you have defined in the code.
第9行调用Web服务,传入命名空间、方法和参数。
Line 9 invokes the Web service passing the namespace, method, and argument.
我们使用日期版本修改Web服务的命名空间,并对端点进行修改。
We modify the namespace for the Web service with the date version and also modify the endpoint.
支持JMX的应用程序依赖于MBeanServer,它充当MBean的容器,提供远程访问、命名空间管理和安全服务。
A JMX-enabled application relies on an MBeanServer, which ACTS as a container for MBeans, providing remote access, namespace management, and security services.
然而,相互作用的Web服务之间的命名空间冲突没有停止于此。
Still, the namespace conflicts in the interacting Web services do not end here.
一些命名服务器会保护部分命名空间,这意味着只能发布到允许的区域。
Some nameservers protect part of the namespace, meaning that you can publish only to those areas where you are allowed. Let's assume that you have an LDAP server running, and these are its details
您需要重新启动这两台服务器,以使命名空间更改生效。
You'll need to restart both servers to pick up the name space changes.
为避免命名空间污染,应在集群范围定义您的资源,并保持资源定义仅在实际使用这些资源的服务器中可视。
Your resources should be defined at the cluster scope to avoid namespace pollution and keep resource definitions visible only in the servers where those resources are actually used.
最近对JNDI命名空间的更改之一是能够在环境(服务器、集群、节点或计算单元)的各个级别上界定资源定义的范围。
One of the recent changes to the JNDI namespace is the ability to scope the resource definitions at various levels in the environment (server, cluster, node, or cell).
服务属性选项卡包含命名空间属性。
就在6月6日,苹果发布了一项基于云计算的服务……想必会被命名为iCloud,这项服务将在秋季上线并会提供高达5g的免费存储空间。
On June 6th Apple unveiled a cloud-based service, predictably dubbed the iCloud, that will become available in the autumn and allow users to store up to five gigabytes of content for free.
清单7显示了一个相似的查询,但是这次也使用一些与服务相关的信息,即希望得到的命名空间(Namespace)名字。
Listing 7 shows a similar query but this time some of the service-related information is also used, namely the desired namespace name.
命名空间绑定和corbanameURL提供了一种完美的解决方案,用以集成运行于不同版本的WebSphere或第三方应用服务器中现有的EJB服务。
Name space binding and the corbaname URL provide an elegant solution to integrate existing EJB services running on different versions of WebSphere or in third-party application servers.
这个类连同命名服务器URL和端口号的详细信息,用于生成与名称空间交互的InitialContext 类。
This class, along with details of nameserver URL and port number, is used to generate the InitialContext class that you use to interact with the namespace.
当有大量的Web服务部署在大型的公司环境中时,很难修正命名空间冲突问题。
Namespace conflicts are difficult to fix when hundreds of Web services are deployed in a large corporation environment.
targetNamespace:这个属性定义了关于服务信息的逻辑命名空间,并且各服务的属性值通常是不同的。
TargetNamespace: This attribute defines the logical namespace for information about the service, and is usually chosen to be unique to the individual service.
每个版本本质上都是新命名空间中的新Web服务。
Each version is essentially a new web service with new namespaces.
对于服务使用者,要对客户机应用程序进行更改,以使用由于命名空间变更而出现的新web服务代理类新包名称。
As with the service consumer, this involves changing the client application to use the new packages names for the Web service proxy classes that resulted from the namespace change.
图7显示了Security选项卡,这是设置源和目标服务器的用户名、密码和命名空间id的地方。
Image 7 shows the Security TAB. This is were that username, password and namespace ID is set for the source and target servers.
此引用在应用程序部署过程中映射为指向应用程序服务器的JNDI命名空间中存储的已配置托管ConnectionFactory。
This reference is mapped during application deployment to point to a configured, managed ConnectionFactory stored in the application server's JNDI namespace.
Web服务版本控制的通常方法是在新文件及新命名空间中创建全新的 Web 服务。
The general solution for versioning a web service is to create an entirely new web service with new namespaces in new files.
生成的Web服务客户机类位于Web服务的目标命名空间所决定的文件夹中。
The generated Web service client classes are located in a folder determined by the target namespace of the Web service. Following is a list of files to be moved.
当这个区段是空白时,服务初始化会套用取自支援的COM介面ID的预设命名空间和合约名称。
When this section is empty, the service initialization applies a default namespace and contract name taken from the supporting COM interface ID.
我正在开发命名空间扩展,它给出服务器上文件的虚拟视图。
I am developing namespace extension which gives a virtual view of files on a server.
从服务端点的集合传回具有指定的命名空间和合约名称的服务端点。
Returns a service endpoint with a specified namespace and contract name from the collection of service endpoints.
应用推荐