[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:

Yosemite and 8.1??? (1999) Can webcat 3.0/4.0 handle 1,000,000 hits a day? (2000) More on the email templates (I like it) (1997) Keep away (1997) Document Contains No Data! (1997) same products but different (1998) showif and cart (1997) HTML Editors (1997) possible, WebCat2.0 and checkboxes-restated (1997) searchable list archive (1997) Online reference (1997) Help with Repost Data msg from form (1997) [WebDNA] WebDNA 8.6 announced - New features (2018) vs (1997) can WC render sites out? (1997) WebCommerce: Folder organization ? (1997) Re(2): lookup limitation ? (2003) Getting Averages for online form. (1999) Emailer error 571 (1998) Pulldown Menu Problem (2000)