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

Public beta 5 of WebCatalog 4.0 is now available (2000) WebCat2b15MacPlugin - showing [math] (1997) WebDelivery downloads alias, not original ? (1997) Search (1997) sending two mails from one template (2004) international time (1997) Re:Need help... (1997) WebCat2b12plugin - [search] is broken ... not! (1997) WebCatalog NT beta 18 problem (1997) Support ?? (1997) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) WebCat2.0b15-to many nested [xx] tags (1997) Card clearance, problems - solutions? (1997) WebCat Beta NT 18 (1997) [WebDNA] isolatin-1 to utf-8 conversion (2013) WCS Newbie question (1997) Newbie search question (between two dates) (2001) [delete] problem (1997) More on the email templates (1997) Associative lookup style? + bit more (1997)