Hi all,
I have been using Arpil Gupta's guide on how to play around with the Integrated Configuration WS API. I have already coded the class for the creation of the Integrated Configuration Object. However, I cannot test it because I am having problems setting up the BindingPort and the BindingProvider.
My code so far is:
----------------------------------
try {
IntegratedConfigurationInService service = new IntegratedConfigurationInServiceLocator();
if(this.url.length()==0)
{
port = service.getIntegratedConfigurationInPort();
}else
{
URL docURL = new URL("https://<DOMAINNAME>:<PORT>/IntegratedConfigurationInService/IntegratedConfigurationInImplBean?wsdl&mode=ws_policy");
port = service.getIntegratedConfigurationInPort(docURL);
}
IntegratedConfigurationInBindingStub bp = (IntegratedConfigurationInBindingStub) port;
System.out.println(bp._getCall().getTargetEndpointAddress().toString());
bp.setUsername(this.user);
bp.setPassword(this.password);
----------------------------------
After that, I am stuck. I do not know which step to take next, like how to call the WS after setting it up. The classes I have when I generated this proxy is:
Any help is appreciated!
Regards,
Raye