This section describes the following Web services that are provided by the portal:
● XML Content and Actions Web Service
You can also access the functionality of some of the portal Web services by calling the underlying EJB, by doing the following:
...
● Add to your build and classpath all the JAR files from the AS Java folder \usr\sap\<system ID>\<instance number>\j2ee\j2eeclient.
● Use the following sample code to set the context for the lookup of the remote interface:
Hashtable pr = newHashtable();
pr.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sap.engine.services.jndi.InitialContextFactoryImpl");
pr.put(Context.SECURITY_PRINCIPAL, "myUser");
pr.put(Context.SECURITY_CREDENTIALS, "myPassword");
pr.put(Context.PROVIDER_URL, "myServer" + ":" + "myPortNumber");
pr.put(Context.URL_PKG_PREFIXES, "com.sap.engine.services");