문제

I want to retrieve Name Space Bindings using a wsadmin jython script. Using the Name Space Bindings, I want to retrieve the properties of each of the name space bindings. For examples I want all the StringNameSpaceBinding given its scope.

I am unable to figure out anything and I am unable to find any documentation. Please help.

도움이 되었습니까?

해결책

The following code outputs all namespace bindings of type String:

bid = AdminConfig.getid('/StringNameSpaceBinding:/')
bindings = bid.split("\n")
for binding in bindings: print AdminConfig.show(binding), '\n'
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top