File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to get wsdl file from remote server

 
mishug Goyal
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I created and deployed a web services on my local server and able to get that wsdl file by calling URL http://localhost:8084/CPService?wsdl.
But the problem is when i tried to get this file via ftp from remote server it returns me time out error. However i am able to GET the default file if i issue command like "GET http://localhost:8084/CPService". So please let me know if i am able to get later file than why its giving time out error if tried to fetch "http://localhost:8084/CPService?wsdl".

Please advice.

Thanks.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's an HTTP resource - why do you think you can get to it via FTP? It's very likely that it's not a file anyway.
 
mishug Goyal
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

means we can not get this ?wsdl file via ftp as like any other http resource. So, how can i confirm to my client that my web service is up and running. Basically our client is a telecom operator and they provides us "Delivery Notification" and we need to give them some wsdl url to which they can call and hence we can get that notification. According to them their system is not able to recall our web service. Do not know what could be the problem. Do we require any type of configuration at either side?

 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the machine where the service runs accessible from wherever the client is trying to access it? "localhost" generally indicates your own machine, which in all likelihood is not accessible from the outside (which is just as well, since it's bound to be down at random times).

Which URL did you give them? Can YOU access that URL from outside of your company network?
 
mishug Goyal
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, client is able to access that service and application is running on production server at our end. I am also able to call that service url from outside of my company network. There is no restriction at firewall also.
I have given them this URL- http://172.27.105.79:80/AstroPTCPA/PTInterface?wsdl

One more thing I have built this application using NetBeans 5.5 IDE and deployed .war file created by it on my production server. We have tomcat server running over there.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, client is able to access that service and application is running on production server at our end.

That being the case, I don't understand what you mean by "how can i confirm to my client that my web service is up and running" and "According to them their system is not able to recall our web service." If the client is able to access the service, then that confirms that it is up and running, no?
 
mishug Goyal
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops, sorry i wanted to say that client is able to access the machine on which service is running. And not able to access that service URL. sincere apologies
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i wanted to say that client is able to access the machine on which service is running. And not able to access that service URL.

What does that mean, exactly? They can get to http://172.27.105.79:80/ but not to http://172.27.105.79:80/AstroPTCPA/PTInterface?wsdl ? What error are they experiencing? Can you see their accesses in the log files, both the successful and the unsuccessful ones?

I can't even do an nslookup on 172.27.105.79, by the way; is that a publicly accessible IP address?
 
mishug Goyal
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes they can get to http://172.27.105.79:80/ but not to http://172.27.105.79:80/AstroPTCPA/PTInterface?wsdl .

Client is doing following to check wsdl file-
telnet 172.27.105.79 80
Trying...
Connected to 172.27.105.79.
Escape character is '^]'.
GET http://172.27.105.79:80/AstroPTCPA/PTInterface?wsdl

Connection closed by foreign host.

No access log created. Public IP is 202.186.147.78
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The folks apparently don't know how to access an HTTP server through Telnet. If I recall correctly, the line to enter would be something like

GET /AstroPTCPA/PTInterface?wsdl HTTP/1.1

I'm sure that googling for "http telnet" or some such will find the proper syntax to use.
 
mishug Goyal
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:The folks apparently don't know how to access an HTTP server through Telnet.


No, its correct, GET http://172.27.105.79:80/AstroPTCPA/PTInterface?wsdl
I tried this and got the file.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic