AFAIK,
1) The URL for websocket on OpenFire is ws://of-server:7070/ws
with default configuration (see below).
2) You need to install the "WebSockets Plugin" plugin for OpenFire, then you can configure the path of the websocket ("ws" is default) in properties page under the "Server > WebSockets" tab.