Cannot access wsdl file from different machine - wsdl

I am trying to run the running Client & Server Application on different machine but then I am getting below exception message which says it can not get wsdl file on that machine:
javax.xml.ws.WebServiceException: Failed to access the WSDL at:
http://localhost:8080/proj_name/EmpServices?wsdl. It failed with: Got
http://localhost:8080/proj_name/EmpServices?wsdl while opening stream
from same_link_as_above/EmpServices?wsdl.

It looks like connection issue, not WSDL or service-related.
Possible causes and solutions:
You tell about "remote machine", but errors says "localhost".
Have you configured your service client to work with your remote machine?
Shouldn't it be remote machine's address? Or is it just a typo?
If you configured it correctly, make sure that you have a working connection and port 8080 is allowed in your firewalls.
You may also try to open this link directly in your browser from client machine, and see what is says.
Perhaps, you will get connection error message, while you should get WSDL file.

Related

Unable to connect to Neo4J/ONgDB Browser when port forwarding

I am running the ONgDB container as per their Docker run command.
I have tested this locally on my laptop and it worked before, I was able to navigate to the graph browser and log in.
Now I am running this Graph in a server.
I did port forwarding to my laptop successfully, and am able to see ONgDB Browser in my laptop. However I am unable to log in, I get the error:
ServiceUnavailable: WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons inc...
I found Neo4J article on how to resolve it.
I entered the ONgDB container filesystem and opened the .conf file, but there was no line to uncomment.
I tried to add the suggested line dbms.connector.bolt.address=0.0.0.0:7687 but it does not work as well.
How can I enable ONgDB Docker container for remote access?
I figured out the problem, in Neo4J/ONgDB browser, it fills the database host with localhost by default.
You just have to fill it in with the server's IP there and it works.
Also, you can connect using a desktop Neo4J/ONgDB browser to a remote graph, its just like a database (RDBMS) where you can connect to it from a client running locally.

Error while adding a wcf service refrence in ASP.Net mvc

I get this message error from visual studio when I attempt to add a service reference in visual studio using an url address.
There was an error downloading
'http://serviceendpoint.com/_vti_bin/ListData.svc/$metadata'. Unable
to connect to the remote server No connection could be made because
the target machine actively refused it 127.0.0.1:8888 Metadata
contains a reference that cannot be resolved:
'http://serviceendpoint.com.tn:10200/'. There was no endpoint
listening at http://serviceendpoint.com.tn:10200/ that could accept
the message. This is often caused by an incorrect address or SOAP
action. See InnerException, if present, for more details. Unable to
connect to the remote server No connection could be made because the
target machine actively refused it 127.0.0.1:8888 If the service is
defined in the current solution, try building the solution and adding
the service reference again.
However, this url is accessible from the browser and from another computer using visual studio.
Can you check your host file? Seems like it doesn't contain reference to your localhost

iOS - General Stream Error (FTP)

I am trying to upload a file to FTP server using different libraries like simpleSampleFTP and FTPManager but i am getting "general stream error", my credentials and port are right.
When i try to upload file from proxy local network i can upload file to same server but when outside the proxy local network i get general stream error.
I check on FTP the file is being created the name and extension is right but it remains 0 bytes and then after time out i get error "general stream error".
Have anybody faced the same problem? How can i solve this issue any ideas?
In my case the problem occurred because FTP server is using External IP Address. I have solved this problem by passing manual commands to FTP Server.

nusoap wsdl problem when moving to new server?

I am trying to move a file which calls a wsdl service with the nusoap class. On the new server i get the following error:
wsdl error: HTTP ERROR: Couldn't open socket connection to server http://ip...:xxxx/service.asmx?wsdl, Error (13): Permission denied
Is this an incorrect server setting? If so which setting would be the most common with this issue?
Could it be some kind of firewall? Should i ask my hosting company to enable something??
Any tips, suggestions??
fyi with $nusoapclient->debug_str i get
soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host xxx.xxx.xxx, port xxxx
soap_transport_http: calling fsockopen with host xxx.xxx.xxxx connection_timeout 0
soap_transport_http: Couldn't open socket connection to server
Ok for those running into the same issue, check if your php/apache config is permissive vs enforced. This might solve your problem

Cannot start TFS Build service: Error 1227

When I try to start the TFS 2008 Build service on the port 9191 I get the following error message:
Windows could not start the Visual
Studio Team Foundation Build service
on Local Computer.
Error 1227: The network transport
endpoint already has an address
associated with it.
If I use another port it works, but I need it to be the default, 9191.
I will appreciate any help!
Update:
I have tried by removing every binding to the port 9191 that the following command shows:
netsh http show uracl
To remove the bindings I used the following command:
netsh http delete urlacl url=https://xxxx:9191/Build/v2.0/AgentService.asmx/
Once I removed the bindings, the service was able to start, but the BS web service were not available from the outside, this is because of the removed bindings. I ran the following command to reserve the endpoint again:
wcfhttpconfig.exe reserve Domain\ServiceAccount https://xxxx:9191/Build/v2.0/AgentService.asmx/
But then, the service is unable to start again. The same error message is displayed as before.
The log trace of TFSBuildService contains the following message:
TF224000: The Visual Studio Team Foundation Build service failed to start because another application is already using the address http://xxxx:9191/Build/v2.0/AgentService.asmx.
Exception Message: HTTP could not register URL http://+:9191/Build/v2.0/AgentService.asmx/. Another application has already registered this URL with HTTP.SYS. (type AddressAlreadyInUseException)
It sounds like you already have a build agent defined on that server using the standard port. Each build agent has to have it's own port, otherwise it wouldn't know where to listen.

Resources