Work needs, connected to a few webservice interface, but manufacturers to the specification is very irregular, service name not a write right, if my local computer can open the WSDL address, that is nothing, look at the WSDL can be.
But a lot of WSDL address my local computer is not open, only our server can access, server on a radhat system, there is no browser let you enter, generally also remote access, then how to do?
No hurry, there is actually a command to see the contents of the WSDL address directly.
Connect the address after Curl
For example, I found a random WSDL address on the Internet, this may be a lot of local computer browser can open, but it may be, we just test it.
Curl HTTP://WEBSERVICE.WEBXML.COM.CN/WEBSERVICES/STOCKINFOWS.ASMX?WSDL
Let's try the Xshell telnet Server!
The first prerequisite is that this WSDL is in line with your server network. Not necessarily your native browser can open, your server must be able to open, I this server can not open, mainly network is not through, this time will appear this error! This is mainly unable to parse the domain name. I have tested this generally using the IP: Port test.
I found a few on the Internet, the local browser can open, the server is not open, I use the WSDL in my work as an example. I can't open this address, but the server can see the content.
It is now possible to develop this content .
How do WSDL addresses view the source code on a remote server?