[WebDNA] SOAP support

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111781
interpreted = N
texte = --047d7bd76aec725043050a5cf4ca Content-Type: text/plain; charset=UTF-8 Hi 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 Ted I 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 correct http://www.soapui.org Secondly, quite often I have made these things work by putting in a browser type and content-length. Your TCP is incorrect POST http://wsf.cdyne.com/WeatherWS/Weather.asmx Should be POST /WeatherWS/Weather.asmx You also have a space after your text var name [text]SOAPRequest*you have a space here*=[UnURL] Try using this: [tcpconnect host=[HO-HOSTURL]&port=[HO-HOSTPORT]&ssl=F][!] [/!][tcpsend skipheader=T]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=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 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=wsf.cdyne.com HO-HOSTPORT=80 SERVICENAME=WeatherWS/Weather.asmx Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au --047d7bd76aec725043050a5cf4ca Content-Type: text/html; charset=UTF-8 Content-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
http://www.soapui.org

=
Secondly, quite often I have made these things work by putting in a br= owser type and content-length.

Your TCP is incorre= ct

=
Should be POST=C2=A0/WeatherWS/Weather.asmx
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
[/!]SOAPAction: http://tempuri.org/I[SERVICENAME]/GetData[= UnURL]%0D%0A[/UnURL][!]

[/!]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-HOSTURL=3Dwsf.cdyne.com
= HO-HOSTPORT=3D80
SERVICENAME=3DWeatherWS/Weather.asmx







Regar= ds

Stuart Tremain
IDFK Web Developments<= /div>
AUSTRALIA
<= /div>
--047d7bd76aec725043050a5cf4ca-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] SOAP support (Stuart Tremain 2014)
  2. [WebDNA] SOAP support ("mainlighting ." 2014)
  3. Re: [WebDNA] SOAP support (Stuart Tremain 2014)
  4. Re: [WebDNA] SOAP support (Donovan Brooke 2014)
  5. Re: [WebDNA] SOAP support (Stuart Tremain 2014)
  6. [WebDNA] SOAP support ("mainlighting ." 2014)
  7. [WebDNA] SOAP support ("mainlighting ." 2014)
  8. Re: [WebDNA] SOAP support (Stuart Tremain 2014)
  9. Re: [WebDNA] SOAP support (Stuart Tremain 2014)
  10. Re: [WebDNA] SOAP support (Donovan Brooke 2014)
  11. [WebDNA] SOAP support ("mainlighting ." 2014)
  12. [WebDNA] SOAP support ("mainlighting ." 2014)
  13. Re: [WebDNA] SOAP support (Toby Cox 2014)
  14. [WebDNA] SOAP support ("mainlighting ." 2014)
  15. [WebDNA] SOAP support ("mainlighting ." 2014)
  16. Re: [WebDNA] SOAP support (Toby Cox 2014)
  17. Re: [WebDNA] SOAP support (Tom Duke 2014)
  18. Re: [WebDNA] SOAP support (Donovan Brooke 2014)
  19. [WebDNA] SOAP support ("mainlighting ." 2014)
--047d7bd76aec725043050a5cf4ca Content-Type: text/plain; charset=UTF-8 Hi 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 Ted I 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 correct http://www.soapui.org Secondly, quite often I have made these things work by putting in a browser type and content-length. Your TCP is incorrect POST http://wsf.cdyne.com/WeatherWS/Weather.asmx Should be POST /WeatherWS/Weather.asmx You also have a space after your text var name [text]SOAPRequest*you have a space here*=[unurl] Try using this: [tcpconnect host=[HO-HOSTURL]&port=[HO-HOSTPORT]&ssl=F][!] [/!][tcpsend skipheader=T]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=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 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=wsf.cdyne.com HO-HOSTPORT=80 SERVICENAME=WeatherWS/Weather.asmx Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au --047d7bd76aec725043050a5cf4ca Content-Type: text/html; charset=UTF-8 Content-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
http://www.soapui.org

=
Secondly, quite often I have made these things work by putting in a br= owser type and content-length.

Your TCP is incorre= ct

=
Should be POST=C2=A0/WeatherWS/Weather.asmx
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
[/!]SOAPAction: http://tempuri.org/I[SERVICENAME]/GetData[= UnURL]%0D%0A[/UnURL][!]

[/!]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-HOSTURL=3Dwsf.cdyne.com
= HO-HOSTPORT=3D80
SERVICENAME=3DWeatherWS/Weather.asmx







Regar= ds

Stuart Tremain
IDFK Web Developments<= /div>
AUSTRALIA
<= /div>
--047d7bd76aec725043050a5cf4ca-- "mainlighting ."

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

WebCat2 beta 11 - new prefs ... (1997) Text data with spaces in them... (1997) [WebDNA] Feature Request: [returnhtml] (2016) Forbidden CGI Error (1997) WebCatalog Hosting (1996) emailer (1997) Date search bug (1998) [WebDNA] Error 500 with SUMM=T (2017) [taxRate] [TaxTotal] ? (1997) Directory Overload (1998) emailer (1997) b12 cannot limit records returned and more. (1997) searchable list archive (1997) Calendar Program (2004) [WebDNA] SSL not working with WebDNA FCGI 8.5.1 (2020) can WC render sites out? (1997) Separate SSL Server (1997) wish list (2002) Nesting format tags (1997) Final invoice problems (1998)