[WebDNA] SOAP support

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111768
interpreted = N
texte = --001a113fb89435be5b050a5806e7 Content-Type: text/plain; charset=UTF-8 Has anyone been able to do SOAP requests successfully from WebDNA? Below is an attempt with WebDNA to a weather web service that fails (message: 'Data at the root level is invalid. Line 1, position 1'). Is there something I am missing? [text]SOAPRequest =[UnURL]%0D%0A[/UnURL][!] [/!][UnURL]%0D%0A[/UnURL][!] [/!][UnURL]%0D%0A[/UnURL][!] [/!][UnURL]%0D%0A[/UnURL][!] [/!][!] [/!]11743[!] [/!][!] [/!][!] [/!][/text] [text]_SOAPResponse=[tcpconnect host=wsf.cdyne.com&port=80] [tcpsend]POST http://wsf.cdyne.com/WeatherWS/Weather.asmx HTTP/1.1[UnURL]%0D%0A[/UnURL][!] [/!]Host: wsf.cdyne.com [UnURL]%0D%0A[/UnURL][!] [/!]Content-type: application/soap+xml; charset="utf-8"[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] [!][showif [p_returnVar]![raw][p_returnVar][/raw]] [text scope=global][p_returnVar]=[convertchars table=strip][_SOAPResponse][/convertchars][/text] [/showif][/!]
[_SOAPResponse] Ted --001a113fb89435be5b050a5806e7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Has anyone been able to do SOAP requests successfully= from WebDNA?=C2=A0 Below is an attempt with WebDNA to a weather web servic= e=C2=A0that fails (message: 'Data at the root level is inv= alid. Line 1, position 1'). Is there something I am missing?
=C2=A0
=C2=A0[text]SOAPRequest =3D[UnURL]%0D%0A[/UnURL][!]=
[/!]<?xml version=3D"1.0" encoding=3D"utf-8"?>= ;[UnURL]%0D%0A[/UnURL][!]
[/!]<soap12:Envelope xmlns:xsi=3D"http://www.w3.org/2001/XM= LSchema-instance" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"
xmlns:= soap12=3D"http:/= /schemas.xmlsoap.org/soap/envelope/">[UnURL]%0D%0A[/UnURL][!][/!]<soap12:Body>[UnURL]%0D%0A[/UnURL][!]
[/!]<ns1:GetCityFor= ecastByZIP xmlns:ns1=3D'http= ://ws.cdyne.com/WeatherWS/'>[!]
[/!]<ns1:ZIP>11743</= ns1:ZIP>[!]
[/!]</ns1:GetCityForecastByZIP>[!]
[/!]</soap= 12:Body>[!]
[/!]</soap12:Envelope>[/text]
=C2=A0=C2=A0
=
=C2=A0[text]_SOAPResponse=3D[tcpconnect host=3Dwsf.cdyne.com&port=3D80]
=C2=A0[tcpsend]POST http://wsf.cdyne.com/Weath= erWS/Weather.asmx HTTP/1.1[UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!]Host: <= a href=3D"http://wsf.cdyne.com">wsf.cdyne.com [UnURL]%0D%0A[/UnURL][!]<= br>=C2=A0[/!]Content-type: application/soap+xml; charset=3D"utf-8"= ;[UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!]Content-length: [CountChars][SOAPReq= uest][/CountChars][UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!][UnURL]%0D%0A[/UnUR= L][!]
=C2=A0[/!][unurl][SOAPRequest][/unurl][UnURL]%0D%0A[/UnURL][!]
= =C2=A0[/!][/TCPSend]
=C2=A0[/tcpconnect][/text]
=C2=A0[!][showif [p_r= eturnVar]![raw][p_returnVar][/raw]]
=C2=A0=C2=A0[text scope=3Dglobal][p_= returnVar]=3D[convertchars table=3Dstrip][_SOAPResponse][/convertchars][/te= xt]
=C2=A0[/showif][/!]
=C2=A0<br>[_SOAPResponse]
=C2= =A0
Ted
=C2=A0

=C2=A0
--001a113fb89435be5b050a5806e7-- 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)
--001a113fb89435be5b050a5806e7 Content-Type: text/plain; charset=UTF-8 Has anyone been able to do SOAP requests successfully from WebDNA? Below is an attempt with WebDNA to a weather web service that fails (message: 'Data at the root level is invalid. Line 1, position 1'). Is there something I am missing? [text]SOAPRequest =[unurl]%0D%0A[/UnURL][!] [/!][unurl]%0D%0A[/UnURL][!] [/!][unurl]%0D%0A[/UnURL][!] [/!][unurl]%0D%0A[/UnURL][!] [/!][!] [/!]11743[!] [/!][!] [/!][!] [/!][/text] [text]_SOAPResponse=[tcpconnect host=wsf.cdyne.com&port=80] [tcpsend]POST http://wsf.cdyne.com/WeatherWS/Weather.asmx HTTP/1.1[unurl]%0D%0A[/UnURL][!] [/!]Host: wsf.cdyne.com [unurl]%0D%0A[/UnURL][!] [/!]Content-type: application/soap+xml; charset="utf-8"[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] [!][showif [p_returnVar]![raw][p_returnVar][/raw]] [text scope=global][p_returnVar]=[convertchars table=strip][_SOAPResponse][/convertchars][/text] [/showif][/!]
[_SOAPResponse] Ted --001a113fb89435be5b050a5806e7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Has anyone been able to do SOAP requests successfully= from WebDNA?=C2=A0 Below is an attempt with WebDNA to a weather web servic= e=C2=A0that fails (message: 'Data at the root level is inv= alid. Line 1, position 1'). Is there something I am missing?
=C2=A0
=C2=A0[text]SOAPRequest =3D[unurl]%0D%0A[/UnURL][!]=
[/!]<?xml version=3D"1.0" encoding=3D"utf-8"?>= ;[unurl]%0D%0A[/UnURL][!]
[/!]<soap12:Envelope xmlns:xsi=3D"http://www.w3.org/2001/XM= LSchema-instance" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"
xmlns:= soap12=3D"http:/= /schemas.xmlsoap.org/soap/envelope/">[unurl]%0D%0A[/UnURL][!][/!]<soap12:Body>[unurl]%0D%0A[/UnURL][!]
[/!]<ns1:GetCityFor= ecastByZIP xmlns:ns1=3D'http= ://ws.cdyne.com/WeatherWS/'>[!]
[/!]<ns1:ZIP>11743</= ns1:ZIP>[!]
[/!]</ns1:GetCityForecastByZIP>[!]
[/!]</soap= 12:Body>[!]
[/!]</soap12:Envelope>[/text]
=C2=A0=C2=A0
=
=C2=A0[text]_SOAPResponse=3D[tcpconnect host=3Dwsf.cdyne.com&port=3D80]
=C2=A0[tcpsend]POST http://wsf.cdyne.com/Weath= erWS/Weather.asmx HTTP/1.1[unurl]%0D%0A[/UnURL][!]
=C2=A0[/!]Host: <= a href=3D"http://wsf.cdyne.com">wsf.cdyne.com [unurl]%0D%0A[/UnURL][!]<= br>=C2=A0[/!]Content-type: application/soap+xml; charset=3D"utf-8"= ;[unurl]%0D%0A[/UnURL][!]
=C2=A0[/!]Content-length: [countchars][SOAPReq= uest][/CountChars][unurl]%0D%0A[/UnURL][!]
=C2=A0[/!][unurl]%0D%0A[/UnUR= L][!]
=C2=A0[/!][unurl][SOAPRequest][/unurl][unurl]%0D%0A[/UnURL][!]
= =C2=A0[/!][/TCPSend]
=C2=A0[/tcpconnect][/text]
=C2=A0[!][showif [p_r= eturnVar]![raw][p_returnVar][/raw]]
=C2=A0=C2=A0[text scope=3Dglobal][p_= returnVar]=3D[convertchars table=3Dstrip][_SOAPResponse][/convertchars][/te= xt]
=C2=A0[/showif][/!]
=C2=A0<br>[_SOAPResponse]
=C2= =A0
Ted
=C2=A0

=C2=A0
--001a113fb89435be5b050a5806e7-- "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:

Installation webCatalog (French speakers please help) (1998) Multiple fields on 1 input (1997) [WebDNA] Still having problems (2008) Convert Chars Issue? (2000) searchable list archive (1997) Search returns all, not 20 (1997) OT - robots.txt (2003) Moment of Thanks (1997) Replace Statement (1997) [showif] or-ing (1999) WCf2 and nested tags (1997) unable to launch acgi in WebCat (1997) Math (1997) Showif Context combined with Search (1997) Searching the same field with 2 form variables. (2000) WebCat2 beta 11 - new prefs ... (1997) Using tags to create a file name (2000) [WaitForFile] wait for open file, not closed file (2001) default value from Lookup (was Grant, please help me) (1997) [WriteFile] problems (1997)