Skip Navigation

Generate the proxy files for the BWS and BWSUtil web services

To avoid duplication type compiler errors, merge all of the generated proxy files for the BWS and BWSUtil web services into a single proxy file.
Create a folder to store the merged proxy file (for example, C:\Temp\BWSproxy).
  1. Run the command prompt as an administrator.
  2. Type
    cd
    <file_path>
    , where
    <file_path>
    is the path of the bin folder for your
    Microsoft
    SDKs.
    For example:
    cd C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin
  3. Press ENTER.
  4. Type
    wsdl /sharetypes /o:
    <proxy_path>
    \BWSService.cs https://
    <server_name>:<port>
    /enterprise/admin/ws?wsdl https://
    <server_name>:<port>
    /enterprise/admin/util/ws?wsdl
    , where
    <proxy_path>
    is the path of the proxy files folder,
    <server_name>
    is the FQDN of the computer that hosts the
    BlackBerry UEM
    , and
    <port>
    is the
    BlackBerry Web Services
    port (default 18084).
    For example:
    wsdl /sharetypes /o:C:\Temp\BWSproxy\BWSService.cs https://bes_server1.test.rim.net:18084/enterprise/admin/ws?wsdl https://bes_server1.test.rim.net:18084/enterprise/admin/util/ws?wsdl
  5. Press ENTER.
New versions of the
BlackBerry Web Services
SOAP APIs are included with each release of
BlackBerry UEM
. If your organization's administrator upgrades
BlackBerry UEM
, repeat the steps above to generate an updated set of proxy files. You can add the new proxy files to a different file path and configure your development environment to use the new proxy files, or you can add the proxy files to the same file path to overwrite the previous set of proxy files.