Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Search in
Free
EnglishStrengthen your foundational knowledge in Data Centers for free, enroll in this path today and start your learning journey!
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.
You’ve reached the end of your document
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.