APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Posted: 2021-06-28 11:28 PM . Last Modified: 2024-03-14 02:49 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:28 PM . Last Modified: 2024-03-14 02:49 AM
I want to call APC web service via axis2 jars. but my system occur timeout error. I can access wsdl at IE(http://ip-port/cgi-bin/nbSensorWebServices.wsdl)
below is primary code:
EndpointReference targetEPR =
new EndpointReference("http://ip-port/cgi-bin/nbSensorWebServices");
try {
RPCServiceClient serviceClient = new RPCServiceClient();
serviceClient.setTargetEPR(targetEPR);
Options options = serviceClient.getOptions();
options.setTo(targetEPR);
options.setManageSession(true);
options.setAction("urn:getAllPodIDs");
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
HttpTransportProperties.Authenticator
basicAuthentication = new HttpTransportProperties.Authenticator();
basicAuthentication.setUsername(username);
basicAuthentication.setPassword(password);
options.setProperty(
org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE,
basicAuthentication);
QName opAddEntry = new QName("http://www.netbotz.com/BotzWare", "getAllPodIDs");
Object[] opAddEntryArgs = new Object[] {};
Class[] returnTypes = new Class[] {String[].class };
Object[] response = serviceClient.invokeBlocking(opAddEntry,
opAddEntryArgs, returnTypes);
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:28 PM . Last Modified: 2024-03-14 02:49 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:28 PM . Last Modified: 2024-03-14 02:49 AM
I want to call APC web service via axis2 jars. but my system occur timeout error. I can access wsdl at IE(http://ip-port/cgi-bin/nbSensorWebServices.wsdl)
below is primary code:
EndpointReference targetEPR =
new EndpointReference("http://ip-port/cgi-bin/nbSensorWebServices");
try {
RPCServiceClient serviceClient = new RPCServiceClient();
serviceClient.setTargetEPR(targetEPR);
Options options = serviceClient.getOptions();
options.setTo(targetEPR);
options.setManageSession(true);
options.setAction("urn:getAllPodIDs");
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
HttpTransportProperties.Authenticator
basicAuthentication = new HttpTransportProperties.Authenticator();
basicAuthentication.setUsername(username);
basicAuthentication.setPassword(password);
options.setProperty(
org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE,
basicAuthentication);
QName opAddEntry = new QName("http://www.netbotz.com/BotzWare", "getAllPodIDs");
Object[] opAddEntryArgs = new Object[] {};
Class[] returnTypes = new Class[] {String[].class };
Object[] response = serviceClient.invokeBlocking(opAddEntry,
opAddEntryArgs, returnTypes);
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:28 PM . Last Modified: 2024-03-14 02:49 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:28 PM . Last Modified: 2024-03-14 02:49 AM
Thanks for your answeer.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:28 PM . Last Modified: 2024-03-14 02:49 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 11:28 PM . Last Modified: 2024-03-14 02:49 AM
I want to call APC web service via axis2 jars. but my system occur timeout error. I can access wsdl at IE(http://ip-port/cgi-bin/nbSensorWebServices.wsdl)
below is primary code:
EndpointReference targetEPR =
new EndpointReference("http://ip-port/cgi-bin/nbSensorWebServices");
try {
RPCServiceClient serviceClient = new RPCServiceClient();
serviceClient.setTargetEPR(targetEPR);
Options options = serviceClient.getOptions();
options.setTo(targetEPR);
options.setManageSession(true);
options.setAction("urn:getAllPodIDs");
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
HttpTransportProperties.Authenticator
basicAuthentication = new HttpTransportProperties.Authenticator();
basicAuthentication.setUsername(username);
basicAuthentication.setPassword(password);
options.setProperty(
org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE,
basicAuthentication);
QName opAddEntry = new QName("http://www.netbotz.com/BotzWare", "getAllPodIDs");
Object[] opAddEntryArgs = new Object[] {};
Class[] returnTypes = new Class[] {String[].class };
Object[] response = serviceClient.invokeBlocking(opAddEntry,
opAddEntryArgs, returnTypes);
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of