Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Web Services

New Developer
Posts: 15
Registered: ‎08-14-2013
My Device: Bold 9000
My Carrier: T-Mobile

BWS User Create Server Hostname issue

Hi everyone,


I'm writing a little tool that can create users by using ceratin properties.

The creating itself works fine, and I'm able to assign SW config as well.

My problem occur when I'm try to create a user to an exact server. 

On my form there is a comboBox which get its element when the form load (bckgrnd worker).

I get this elements from the getBESHAPoolsResponse object. I mean the BESHAPool.name property.

However while I create a user I can determine to which server, but to do that I need a server object's hostname property to be set properly.

In the getServerResponse I reach this information, but I don't know which server is whic by its hostname.

My question is: Is it possible to connect somehow the BESHAPool.name to the Server.hostname to decide which server to use in the user create?

My problem origins form the fact that we identify the server by its Hight availibitiy pool name and not the hostname, but the createuser call requires a hostname.

I tried to find some cennection between the two data for eaxample the uid, but it ws completly different.


I really hope I was bright and clear.

Thx for any help in advance.