Getting Error from Service - gwt

I am new to GWT and I am trying to call the service I created but I am getting the following error

Casing? you url-pattern contains TimeSheetTrack in a different case as the url shown in your error message.

Related

SOAP API Automating testing with ROBOTFRAMEWORK

Good day,
I am trying to use robot framework to test a soap based api. I tried using the RobotFramework-Soap library first. I tried a sample case and it works but as soon as I put in my api link it does not work. Im not sure if it is because my api link contains an api.
N.B. due to confidentiality I am unable to post the actual api link. But it is in the format shown below.
*** Settings ***
Library SoapLibrary
Library OperatingSystem
*** Test Cases ***
Example
Create Soap Client http://000.000.000.000:8000/SomeService?wsdl
${response} Call SOAP Method With XML ${CURDIR}/request.xml
${text} Get Data From XML By Tag ${response} AddResult
Log To Console ${text}
Save XML To File ${response} ${CURDIR} response_test
When I run the above test. It fails with following error:
ConnectionError: HTTPConnectionPool(host='xxx_cert', port=8000): Max retries exceeded with url: /SomeService?xsd=xsd0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
I even tried using the suds library as well. and when i do a simple test as follows:
***Test Cases***
Example
Create Soap Client http://000.000.000.000:8000/SomeService?wsdl
I get the following error: URLError: urlopen error [Errno 11001] getaddrinfo failed
I did some searching and I found that it could be related to the port. But Im not sure how to resolve this issue.
Any assistance would be greatly appreciated.
Thanks,
Lee
The solution was to edit the local host file to cater for the web service. That seemed to solve all the problems.

kie server response handling

I'm getting below error when I tried to hit kie server from java application
Exception in thread "main"
org.kie.server.client.KieServicesException: Error while creating
service response! The actual result type class
org.kie.server.api.model.KieContainerResourceList does not match
the expected type class
org.kie.server.api.model.KieServerInfo!
Can anyone please help me in resolving this
Getting error at below location in my code :
KieServicesClient client = KieServicesFactory.newKieServicesClient(config);
I suppose that you are using REST transport protocol in Kie server client.
It seems that you put wrong server URL parameter to your instance of KieServicesConfiguration. Correct URL looks like this:
http://<server>:<port>/<context>/services/rest/server
Your server URL seems to be:
http://<server>:<port>/<context>/services/rest/server/containers
Which is actually URL of endpoint for retrieving containers list in Kie server.

Getting null TagManager in AEM 6.1

Trying to fetch the list of all the resources tagged with the specific tag. Following is the line used to fetch the TagManager from ResourceResolver
TagManager tagManager = resourceResolver.adaptTo(TagManager.class);
But getting null TagManager.
Also, when I am trying to bind JcrTagManagerFactory, the service is failing as the JcrTagManagerFactory could not be bind. I could see JcrTagManagerFactory service running in console.
#Reference
JcrTagManagerFactory jcrTagManagerFactory;
Any suggestions? Am I missing anything?

SOAP-ENV:Server

Hi I am having an issue with the SOAP , when I call my services I get this error:
<env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Error occured while service was processing.</faultstring>
</env:Fault>
Do you know how to solve this problem then please help me.
This is not a symptom of one specific problem. All it says is that an "Error occured while service was processing.".
You'll have to look at any server logs to find out what error this was.

Error using SoapClient() in PHP

I'm trying to access WSDL(Web Service Definition Language) file using SoapClient() of PHP. I found that WSDL file is authenticated. I tried with passing credentials on an array by another parameter and active SSL on my server, still I'm getting an error.
Here is the code I'm using:
$client = new
SoapClient("https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl",array("trace"
=> "1","Username" => "username","Password" => "password"));
Here is the error I'm getting:
Warning:
SoapClient::SoapClient(https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl)
[soapclient.soapclient]: failed to open stream: Connection timed out
in PATH_TO_FILE on line 80
Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning
: failed to load external entity
"https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl"
in PATH_TO_FILE on line 80
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
WSDL: Couldn't load from
'https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl'
: failed to load external entity
"https://webservices.chargepointportal.net:8081/coulomb_api_1.1.wsdl"
in PATH_TO_FILE:80 Stack trace: #0
/home2/wingstec/public_html/widget/API/index.php(80):
SoapClient->SoapClient('https://webserv...', Array) #1 {main} thrown
in PATH_TO_FILE on line 80
It seems that error says file not exist at the path we given but when we run that path directly on browser then we're getting that file
Can anyone help me to figure out what the exactly problem is?
First make sure you have the right to access website from your hosting account or server - check first if you can access a http webservice (without the s). If not, check if allow_url_fopen is set to true in php.ini.
Then, if you are trying to establish a https connection, you need a local certificate.
See if you can add one and instantiate your Soap object using something like
new SoapClient($wsdl, array('local_cert' => $pathToLocalCert));