Bug 920365: Fix oo-create-endpoints to call the correct method.

[merge]