On 17 Dec 2014, at 9:33 am, mainlighting . <mainlighting@gmail.com> wrote:---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listHi Stuart,Many thanks for this and for =pointing out the errors... When I try the approach you suggest I get a =complete empty response (instead of the error message that I had been =getting). Not sure what that implies.Hey TedI have been doing SOAP on Linux & =Windows servers for many years.There are few tricks that I have =come across that work depending on the way the SOAP server is =configured..Firstly this is a great tool for getting your query =correctSecondly, quite often I have made these =things work by putting in a browser type and content-length.Your TCP is =incorrectShould be POST /WeatherWS/Weather.asmxYou also have a space after your text =var name [text]SOAPRequest*you have a space here*=3D[UnURL]Try using =this:[tcpconnect =host=3D[HO-HOSTURL]&port=3D[HO-HOSTPORT]&ssl=3DF][!][/!][tcpsend skipheader=3DT]POST =/[SERVICENAME]/[SERVICENAME].svc?wsdl =HTTP/1.0[UnURL]%0D%0A[/UnURL][!][/!]Accept-Encoding:= gzip,deflate[UnURL]%0D%0A[/UnURL][!][/!]Content-Type: =text/xml;charset=3DUTF-8[UnURL]%0D%0A[/UnURL][!]I used SOAP UI to get this next line, =you may need to do the same[/!]SOAPAction: http://tempuri.org/I[SERVICENAME]/GetData[UnURL]%0D%0A[/UnURL][=!][/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows =NT 5.0)[UnURL]%0D%0A[/UnURL][!][/!]Host: =[HO-HOSTURL]:[HO-HOSTPORT][UnURL]%0D%0A[/UnURL][!][/!]Content-Length: =[CountChars][SOAPRequest][/CountChars][UnURL]%0D%0A[/UnURL][!][/!][UnURL]%0D%0A[/UnURL][!][/!][SOAPRequest][UnURL]%0D%0A[/UnURL][!][/!][UnURL]%0D%0A[/UnURL][!][/!][/TCPSend][!][/!][/tcpconnect]HO-HOSTURL=3Dwsf.cdyne.comHO-HOSTPORT=3D80SERVICENAME=3DWeatherWS/Weather.asmx .To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
On 17 Dec 2014, at 9:33 am, mainlighting . <mainlighting@gmail.com> wrote:---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listHi Stuart,Many thanks for this and for =pointing out the errors... When I try the approach you suggest I get a =complete empty response (instead of the error message that I had been =getting). Not sure what that implies.Hey TedI have been doing SOAP on Linux & =Windows servers for many years.There are few tricks that I have =come across that work depending on the way the SOAP server is =configured..Firstly this is a great tool for getting your query =correctSecondly, quite often I have made these =things work by putting in a browser type and content-length.Your TCP is =incorrectShould be POST /WeatherWS/Weather.asmxTry using =this:[tcpconnect =host=3D[HO-HOSTURL]&port=3D[HO-HOSTPORT]&ssl=3DF][!][/!][tcpsend skipheader=3DT]POST =/[SERVICENAME]/[SERVICENAME].svc?wsdl =HTTP/1.0[unurl]%0D%0A[/UnURL][!]I used SOAP UI to get this next line, =you may need to do the same[/!]SOAPAction: http://tempuri.org/I[SERVICENAME]/GetData[unurl]%0D%0A[/UnURL][=!][/!][/TCPSend][!][/!][/tcpconnect]HO-HOSTURL=3Dwsf.cdyne.comHO-HOSTPORT=3D80SERVICENAME=3DWeatherWS/Weather.asmx .To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...