1. Checking Connection by telnet command
#telnet [IP Address] [Port]
If it doesn't timeout, it connection to server is work.2. Checking for HTTPS. If it is https, it can trust certification (It should trust certification on Server). You can config on Websphere 6.1 following by this
link.
3. Test WSDL by right click at wsdl file then select "Web Services a Test with Web Services Explorer"
4. If it test pass in choice 3, then we will generate stub file for call Web Service.--> right click at wsdl file then select "Web Services a Generate Java bean" skeleton and next.
Example Code For Call Web Service
UMarket_PortType service = new UMarket_PortTypeProxy();
StandardBizRequest request = new StandardBizRequest();
StandardBizResponse response = service.activate(request);
4. If you can't call Web Service (Exception about Exception BeanDeSerializable) , you will generate stub file in Eclipse (RAD 6.0 --> axis is old).
Example Code For Call Web Service
PctVoiceFaxServiceSoapBindingStub stub = null;
VoiceFaxServiceServiceLocator locator = new VoiceFaxServiceServiceLocator();
VoiceFaxService faxservice = locator.getPctVoiceFaxService(new java.net.URL(faxURL));
stub =(PctVoiceFaxServiceSoapBindingStub)faxservice;
PS. In case, you ca find wsdl menu. it can add at
1. Window --> Preferences
2. go to Workbence --> Capabilities
3. select all in Web Service Developer