Does this code segment look appropriate/correct for a Wonder Application’s use/consumption of WebServices /JNLP Services..? The exception: uninitialized ServiceManager results..
Any ideas and/or corrections.. appreciated..!
import javax.swing.*;
import javax.jnlp.*;
.
.
public void localRegisterWebServices()
{
ERJaxWebServiceRequestHandler wsHandler = new
ERJaxWebServiceRequestHandler();
wsHandler.registerWebService("FileSaveService",
new
ERJaxWebService<javax.jnlp.FileSaveService>(javax.jnlp.FileSaveService.class));
this.registerRequestHandler(wsHandler, this.webServiceRequestHandlerKey());
….
FileOpenService fos = null;
FileContents fileContents = null;
try {
fos = (FileOpenService)ServiceManager.
lookup("javax.jnlp.FileOpenService");
}
catch (UnavailableServiceException exc)
{
exc.printStackTrace();
}
:
:
}
Kwasi
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
