Consuming Web services using Java

Hi All,I want to consume web services in lotus domino 8.5 using the new design element.

I import the stub files . I do not know how to call the service.

The following code does not work in 8.5 …

Service service1 = new Service()

DominoSoapBindingStub service = new DominoSoapBindingStub(endpoint,service1);

String greeting=service.getGreeting();

How do i start , what class from the sub should i instantiate.

I searched for documents but there is no documentation available.

Any help will be appreciated.

Thanks

Sushant

Subject: Webservice with java

At the WebserviceConsumer you have a commented text that says how to invoke the service.

Ex.:

/*

  • To instantiate a callable instance for invoking this service, copy and paste from the following:

    import afirmaws.services.ObtenerInfoCertificado.*;

    // Refer to afirmaws.services.ObtenerInfoCertificado.Validacion.java for service interface methods:

    Validacion stub = new ValidacionServiceLocator().getObtenerInfoCertificado();

*/

Then call the method of stub instance that you want invoke:

String resp = stub.obtenerInfoCertificado (req);