texte = --047d7bd76aec725043050a5cf4caContent-Type: text/plain; charset=UTF-8Hi Stuart,Many thanks for this and for pointing out the errors... When I try theapproach you suggest I get a complete empty response (instead of the errormessage 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 theway the SOAP server is configured..Firstly this is a great tool for getting your query correcthttp://www.soapui.orgSecondly, quite often I have made these things work by putting in a browsertype and content-length.Your TCP is incorrectPOST http://wsf.cdyne.com/WeatherWS/Weather.asmxShould be POST /WeatherWS/Weather.asmxYou also have a space after your text var name [text]SOAPRequest*you have aspace here*=[UnURL]Try using this:[tcpconnect host=[HO-HOSTURL]&port=[HO-HOSTPORT]&ssl=F][!][/!][tcpsend skipheader=T]POST /[SERVICENAME]/[SERVICENAME].svc?wsdlHTTP/1.0[UnURL]%0D%0A[/UnURL][!][/!]Accept-Encoding: gzip,deflate[UnURL]%0D%0A[/UnURL][!][/!]Content-Type: text/xml;charset=UTF-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 NT5.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=wsf.cdyne.comHO-HOSTPORT=80SERVICENAME=WeatherWS/Weather.asmxRegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au--047d7bd76aec725043050a5cf4caContent-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printable
Hi Stuart,
=C2=A0
Many thanks for= this and for pointing out the errors... When I try the approach you sugges=t I get a complete empty response (instead of the error message that I had =been getting). Not sure what that implies.
=C2=A0
Hey T=ed
I have been doing SOAP on Linux & Windows servers= for many years.
There are =C2=A0few tricks that I= have come across that work depending on the way the SOAP server is configu=red..
Firstly this is a great tool for getting you=r query correct
=
Secondly, quite often I have made these things work by putting in a br=owser type and content-length.
Your TCP is incorre=ct
You also have a space after your text var name [text]SOAPReques=t*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 /[S=ERVICENAME]/[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 s=ame
[/!]User-Agent: Mozill=a/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[/U=nURL][!]
[/!][UnURL]%0D%0A[/UnURL][!]
[/!][SOAPRequest]=[UnURL]%0D%0A[/UnURL][!]
[/!][UnURL]%0D%0A[/UnURL][!]
[=/!][/TCPSend][!]
[/!][/tcpconnect]
=HO-HOSTPORT=3D80
Regar=ds
Stuart Tremain
IDFK Web Developments<=/div>
AUSTRALIA
<=/div>
--047d7bd76aec725043050a5cf4ca--
Associated Messages, from the most recent to the oldest:
--047d7bd76aec725043050a5cf4caContent-Type: text/plain; charset=UTF-8Hi Stuart,Many thanks for this and for pointing out the errors... When I try theapproach you suggest I get a complete empty response (instead of the errormessage 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 theway the SOAP server is configured..Firstly this is a great tool for getting your query correcthttp://www.soapui.orgSecondly, quite often I have made these things work by putting in a browsertype and content-length.Your TCP is incorrectPOST http://wsf.cdyne.com/WeatherWS/Weather.asmxShould be POST /WeatherWS/Weather.asmxYou also have a space after your text var name
[text]SOAPRequest*you have aspace here*=
[unurl]Try using this:[tcpconnect host=[HO-HOSTURL]&port=[HO-HOSTPORT]&ssl=F]
[!][/!][tcpsend skipheader=T]POST /[SERVICENAME]/[SERVICENAME].svc?wsdlHTTP/1.0
[unurl]%0D%0A[/UnURL]
[!][/!]Accept-Encoding: gzip,deflate
[unurl]%0D%0A[/UnURL]
[!][/!]Content-Type: text/xml;charset=UTF-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 NT5.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=wsf.cdyne.comHO-HOSTPORT=80SERVICENAME=WeatherWS/Weather.asmxRegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au--047d7bd76aec725043050a5cf4caContent-Type: text/html; charset=UTF-8Content-Transfer-Encoding: quoted-printable