Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 wsadmin jython 脚本检索名称空间绑定。使用命名空间绑定,我想检索每个命名空间绑定的属性。例如,我希望所有 StringNameSpaceBinding 都给定其范围。
我无法弄清楚任何事情,也找不到任何文档。请帮忙。
以下代码输出 String 类型的所有命名空间绑定:
bid = AdminConfig.getid('/StringNameSpaceBinding:/') bindings = bid.split("\n") for binding in bindings: print AdminConfig.show(binding), '\n'