[WebDNA] SOAP support

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111786
interpreted = N
texte = --00248c1767545cd95e050a720f2e Content-Type: text/plain; charset=UTF-8 Hi Stuart, That's encouraging. I modified the code based on some of your suggestions. I have used SOAP 1.2, which eliminates any need for a SOAP 'Action' definition. It no longer gets an error - it simply takes several minutes to compete and returns an empty response variable.. Makes me wonder if Donovan may be right that the XML content type is not working. [text]SOAPRequest=[UnURL]%0D%0A[/UnURL][!] [/!][UnURL]%0D%0A[/UnURL][!] [/!][UnURL]%0D%0A[/UnURL][!] [/!][!] [/!]10010[!] [/!][!] [/!][!] [/!][/text]
[text]SOAPResponse=[tcpconnect host=wsf.cdyne.com&port=80&ssl=F] [tcpsend skipheader=T]POST http://wsf.cdyne.com/WeatherWS/Weather.asmx 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][!] [/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[UnURL]%0D%0A[/UnURL][!] [/!]Host: wsf.cdyne.com [UnURL]%0D%0A[/UnURL][!] [/!]Content-length: [CountChars][SOAPRequest][/CountChars][UnURL]%0D%0A[/UnURL][!] [/!][UnURL]%0D%0A[/UnURL][!] [/!][unurl][SOAPRequest][/unurl][UnURL]%0D%0A[/UnURL][!] [/!][/TCPSend][!] [/!][/tcpconnect][/text]

[SOAPResponse] I have had the code I posted earlier working on that same setup & v6 server on Ubuntu 12.04. Regards Stuart Tremain IDFK Web Developments AUSTRALIAwebdna@idfk.com.au --00248c1767545cd95e050a720f2e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Stuart,
=C2=A0
That's enco= uraging. I modified the code based on some of your suggestions. I have used= SOAP 1.2, which eliminates any need for a SOAP 'Action' definition= . It no longer gets an error - it simply takes several minutes to compete a= nd returns an empty response variable.. Makes me wonder if Donovan may be r= ight that the XML content type is not working.
=C2=A0
= =C2=A0

=C2=A0[text]SOAPRequest=3D<?xml version=3D"1.0= " encoding=3D"utf-8"?>[UnURL]%0D%0A[/UnURL][!]
[/!]<= ;soap12:Envelope xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd= =3D"http://www.w3.org/200= 1/XMLSchema"
xmlns:soap12=3D"http://schemas.xmlsoap.org/soap/envelope/<= /a>">[UnURL]%0D%0A[/UnURL][!]
[/!]<soap12:Body>[UnURL]%0D%= 0A[/UnURL][!]
[/!]<GetCityForecastByZIP xmlns:ns1=3D'
http://ws.cdyne.com/WeatherWS/'>[= !]
[/!]<ZIP>10010</ZIP>[!]
[/!]</GetCityForecastByZIP&= gt;[!]
[/!]</soap12:Body>[!]
[/!]</soap12:Envelope>[/text= ]
=C2=A0=C2=A0=C2=A0 <hr>
=C2=A0
=C2=A0
<= div>=C2=A0[text]SOAPResponse=3D[tcpconnect host=3Dwsf.cdyne.com&port=3D80&ssl=3DF]
=C2=A0[tcpsend skip= header=3DT]POST htt= p://wsf.cdyne.com/WeatherWS/Weather.asmx HTTP/1.0[UnURL]%0D%0A[/UnURL][= !]
=C2=A0[/!]Accept-Encoding: gzip,deflate[UnURL]%0D%0A[/UnURL][!]
= =C2=A0[/!]Content-Type: text/xml;charset=3DUTF-8[UnURL]%0D%0A[/UnURL][!]=C2=A0[/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[= UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!]Host: wsf.cdyne.com [UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!]Content-length: [C= ountChars][SOAPRequest][/CountChars][UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!][= UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!][unurl][SOAPRequest][/unurl][UnURL]%0D= %0A[/UnURL][!]
=C2=A0[/!][/TCPSend][!]
=C2=A0[/!][/tcpconnect][/text]=
=C2=A0
=C2=A0<br><br>[SOAPResponse]
=C2=A0
I have had the code I posted earlier working on that same setup= & v6 server on Ubuntu 12.04.RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au
--00248c1767545cd95e050a720f2e-- 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)
--00248c1767545cd95e050a720f2e Content-Type: text/plain; charset=UTF-8 Hi Stuart, That's encouraging. I modified the code based on some of your suggestions. I have used SOAP 1.2, which eliminates any need for a SOAP 'Action' definition. It no longer gets an error - it simply takes several minutes to compete and returns an empty response variable.. Makes me wonder if Donovan may be right that the XML content type is not working. [text]SOAPRequest=[unurl]%0D%0A[/UnURL][!] [/!][unurl]%0D%0A[/UnURL][!] [/!][unurl]%0D%0A[/UnURL][!] [/!][!] [/!]10010[!] [/!][!] [/!][!] [/!][/text]
[text]SOAPResponse=[tcpconnect host=wsf.cdyne.com&port=80&ssl=F] [tcpsend skipheader=T]POST http://wsf.cdyne.com/WeatherWS/Weather.asmx 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][!] [/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[unurl]%0D%0A[/UnURL][!] [/!]Host: wsf.cdyne.com [unurl]%0D%0A[/UnURL][!] [/!]Content-length: [countchars][SOAPRequest][/CountChars][unurl]%0D%0A[/UnURL][!] [/!][unurl]%0D%0A[/UnURL][!] [/!][unurl][SOAPRequest][/unurl][unurl]%0D%0A[/UnURL][!] [/!][/TCPSend][!] [/!][/tcpconnect][/text]

[SOAPResponse] I have had the code I posted earlier working on that same setup & v6 server on Ubuntu 12.04. Regards Stuart Tremain IDFK Web Developments AUSTRALIAwebdna@idfk.com.au --00248c1767545cd95e050a720f2e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Stuart,
=C2=A0
That's enco= uraging. I modified the code based on some of your suggestions. I have used= SOAP 1.2, which eliminates any need for a SOAP 'Action' definition= . It no longer gets an error - it simply takes several minutes to compete a= nd returns an empty response variable.. Makes me wonder if Donovan may be r= ight that the XML content type is not working.
=C2=A0
= =C2=A0

=C2=A0[text]SOAPRequest=3D<?xml version=3D"1.0= " encoding=3D"utf-8"?>[unurl]%0D%0A[/UnURL][!]
[/!]<= ;soap12:Envelope xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd= =3D"http://www.w3.org/200= 1/XMLSchema"
xmlns:soap12=3D"http://schemas.xmlsoap.org/soap/envelope/<= /a>">[unurl]%0D%0A[/UnURL][!]
[/!]<soap12:Body>[unurl]%0D%= 0A[/UnURL][!]
[/!]<GetCityForecastByZIP xmlns:ns1=3D'http://ws.cdyne.com/WeatherWS/'>[= !]
[/!]<ZIP>10010</ZIP>[!]
[/!]</GetCityForecastByZIP&= gt;[!]
[/!]</soap12:Body>[!]
[/!]</soap12:Envelope>[/text= ]
=C2=A0=C2=A0=C2=A0 <hr>
=C2=A0
=C2=A0
<= div>=C2=A0[text]SOAPResponse=3D[tcpconnect host=3Dwsf.cdyne.com&port=3D80&ssl=3DF]
=C2=A0[tcpsend skip= header=3DT]POST htt= p://wsf.cdyne.com/WeatherWS/Weather.asmx HTTP/1.0[unurl]%0D%0A[/UnURL][= !]
=C2=A0[/!]Accept-Encoding: gzip,deflate[unurl]%0D%0A[/UnURL][!]
= =C2=A0[/!]Content-Type: text/xml;charset=3DUTF-8[unurl]%0D%0A[/UnURL][!]=C2=A0[/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[= UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!]Host: wsf.cdyne.com [unurl]%0D%0A[/UnURL][!]
=C2=A0[/!]Content-length: [C= ountChars][SOAPRequest][/CountChars][unurl]%0D%0A[/UnURL][!]
=C2=A0[/!][= UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!][unurl][SOAPRequest][/unurl][unurl]%0D= %0A[/UnURL][!]
=C2=A0[/!][/TCPSend][!]
=C2=A0[/!][/tcpconnect][/text]=
=C2=A0
=C2=A0<br><br>[SOAPResponse]
=C2=A0
I have had the code I posted earlier working on that same setup= & v6 server on Ubuntu 12.04.RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au
--00248c1767545cd95e050a720f2e-- "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:

Calculating Total QTY (1998) Sorting error (1997) WebCat b15 Mac plug-in (1997) [WebDNA] Captcha question (and free code) (2009) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) Add a field to the error log? (1997) can WC render sites out? (1997) OT: Where to turn (2003) Separate server for jpg/gif files (1998) Part Html part WebDNA (1997) Keep away (1997) Restart of DBserver (1997) WebCatalog for Postcards ? (1997) Problems getting parameters passed into email. (1997) RE: Which [index]? (1997) Re:Running 2 two WebCatalog.acgi's (1996) Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) Locking up with WebCatalog... (1997) Problem with Showif & Applescript (1997) PERL to Web DNA (2000)