Add the email web service for Novell GroupWise
The groupwisews email web service is an optional web service. By default, the wsdl2java proxy generator does not interpret the BlackBerry® Administration API
namespaces as intended. If you use the default settings, your BlackBerry Administration API packages
are stored in a flat file structure inside a com/rim/ folder . For example, a class in the package com.rim.bes.basplugin.dispatcher
is stored in the client proxy as com/rim/com_rim_bes_basplugin_dispatcher instead of com/rim/bes/basplugin/dispatcher.
You can use the default namespaces, but you must manually translate the package names in the code samples or change the package names manually using Eclipse®. It is time consuming to define the namespaces at first, but if you save the commands for future reference, it might save you time when you need to generate the client proxy again.
Before you begin:
Create a tempororary folder to generate the client proxy in if one does not already exist. For example, C:\Temp\BAA\proxy.
Example: Defining the groupwisews namespaces.
The following one-line command adds the groupwisews web service to the folder C:\Temp\BAA\proxy. Your server might contain more or fewer namespaces.
wsdl2java.bat -wv 1.1 -p http://www.rim.com/com.rim.bes.basplugin.synchronization.dto=com.rim.bes.basplugin.synchronization.dto -p http://www.rim.com/com.rim.bes.bas.dto=com.rim.bes.bas.dto -p http://www.rim.com/com.rim.bes.bas.baa.emailcommon.dto=com.rim.bes.bas.baa.emailcommon.dto -p http://www.rim.com/com.rim.bes.bas.baa.common.dto=com.rim.bes.bas.baa.common.dto -p http://www.rim.com/com.rim.bes.basplugin.mdss.dto=com.rim.bes.basplugin.mdss.dto -p http://www.rim.com/com.rim.bes.basplugin.mdscs.dto=com.rim.bes.basplugin.mdscs.dto -p http://www.rim.com/com.rim.bes.basplugin.emailgroupwise.dto=com.rim.bes.basplugin.emailgroupwise.dto -p http://www.rim.com/com.rim.bes.basplugin.emailcommon.dto=com.rim.bes.basplugin.emailcommon.dto -p http://www.rim.com/com.rim.bes.basplugin.dispatcher.dto=com.rim.bes.basplugin.dispatcher.dto -p http://www.rim.com/com.rim.bes.basplugin.bas.dto=com.rim.bes.basplugin.bas.dto -p http://www.rim.com/com.rim.bes.basplugin.activedirectory.dto=com.rim.bes.basplugin.activedirectory.dto -p http://www.rim.com/com.rim.bes.bas.baa=com.rim.bes.bas.baa -d C:\Temp\BAA\proxy https://<servername>/baaws/emailgroupwise/ws?wsdl
Next topic:
Creating your first application
Previous topic: Add the email web service for Microsoft Exchange