Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3353

Integrated Configuration WS - API Development - Setting BindingPort and BindingProvider

$
0
0

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:

 

ee.PNG

 

Any help is appreciated!

 

Regards,

Raye


Viewing all articles
Browse latest Browse all 3353


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>