Re: [WebDNA] SOAP support

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111770
interpreted = N
texte = --001a1134be3a25779a050a5884ac Content-Type: text/plain; charset=UTF-8 Ted, Hi - don't think you can have a line return at the start of an xml snippet. Remove your first [UnURL]%0D%0A[/UnURL] and it may work for you. - Tom ============================================== Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: ============================================== On 16 December 2014 at 16:41, mainlighting . wrote: > > 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][!] > [/!] xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap12="http://schemas.xmlsoap.org/soap/envelope/ > ">[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 > > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a1134be3a25779a050a5884ac Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ted,

Hi - don't think you can have = a line return at the start of an xml snippet.

Remo= ve your first=C2=A0[UnURL]%0D%= 0A[/UnURL] and it may work for you.

- Tom

=





=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolutionaries=
1st Floor, Castleriver House
14-15 Parliament Street
Temple Bar,D= ublin 2
Ireland
----------------------------------------------
[t]= : + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionari= es.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D

On 16 December 2014 at 16:41, mainlighting .= <mainlighting@gmail.com> wrote:
Has anyone been able to do SOAP requests succ= essfully from WebDNA?=C2=A0 Below is an attempt with WebDNA to a weather we= b service=C2=A0that fails (message: 'Data at the root leve= l is invalid. Line 1, position 1'). Is there something I am missing?
=C2=A0
=C2=A0[text]SOAPRequest =3D[UnURL]%0D%0A[/U= nURL][!]
[/!]<?xml version=3D"1.0" encoding=3D"utf-8&q= uot;?>[UnURL]%0D%0A[/UnURL][!]
[/!]<soap12:Envelope xmlns:xsi=3D&q= uot;http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=3D"http://www.w3.or= g/2001/XMLSchema"
xmlns:soap12=3D"http://schemas.xmls= oap.org/soap/envelope/">[UnURL]%0D%0A[/UnURL][!]
[/!]<soa= p12:Body>[UnURL]%0D%0A[/UnURL][!]
[/!]<ns1:GetCityForecastByZIP xm= lns:ns1=3D'http://ws.cdyne.com/WeatherWS/'>[!]
[/!]<ns1:ZIP>11743= </ns1:ZIP>[!]
[/!]</ns1:GetCityForecastByZIP>[!]
[/!]<= /soap12:Body>[!]
[/!]</soap12:Envelope>[/text]
=C2=A0=C2=A0<= /div>
=C2=A0[text]_SOAPResponse=3D[tcpconnect host=3Dwsf.cdyne.com&port=3D80]
=C2=A0= [tcpsend]POST http://wsf.cdyne.com/WeatherWS/Weather.asmx HTTP/1.1[UnURL= ]%0D%0A[/UnURL][!]
=C2=A0[/!]Host: wsf.cdyne.com [UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!]Conte= nt-type: application/soap+xml; charset=3D"utf-8"[UnURL]%0D%0A[/Un= URL][!]
=C2=A0[/!]Content-length: [CountChars][SOAPRequest][/CountChars]= [UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!][UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!= ][unurl][SOAPRequest][/unurl][UnURL]%0D%0A[/UnURL][!]
=C2=A0[/!][/TCPSen= d]
=C2=A0[/tcpconnect][/text]
=C2=A0[!][showif [p_returnVar]![raw][p_= returnVar][/raw]]
=C2=A0=C2=A0[text scope=3Dglobal][p_returnVar]=3D[conv= ertchars table=3Dstrip][_SOAPResponse][/convertchars][/text]
=C2=A0[/sho= wif][/!]
=C2=A0<br>[_SOAPResponse]
=C2=A0
Ted<= /div>
=C2=A0

=C2=A0
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us
--001a1134be3a25779a050a5884ac-- 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)
--001a1134be3a25779a050a5884ac Content-Type: text/plain; charset=UTF-8 Ted, Hi - don't think you can have a line return at the start of an xml snippet. Remove your first [unurl]%0D%0A[/UnURL] and it may work for you. - Tom ============================================== Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: ============================================== On 16 December 2014 at 16:41, mainlighting . wrote: > > 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][!] > [/!] xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap12="http://schemas.xmlsoap.org/soap/envelope/ > ">[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 > > > > --------------------------------------------------------- This message is > sent to you because you are subscribed to the mailing list . To > unsubscribe, E-mail to: archives: > http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --001a1134be3a25779a050a5884ac Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Ted,

Hi - don't think you can have = a line return at the start of an xml snippet.

Remo= ve your first=C2=A0[unurl]%0D%= 0A[/UnURL] and it may work for you.

- Tom

=





=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolutionaries=
1st Floor, Castleriver House
14-15 Parliament Street
Temple Bar,D= ublin 2
Ireland
----------------------------------------------
[t]= : + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionari= es.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D

On 16 December 2014 at 16:41, mainlighting .= <mainlighting@gmail.com> wrote:
Has anyone been able to do SOAP requests succ= essfully from WebDNA?=C2=A0 Below is an attempt with WebDNA to a weather we= b service=C2=A0that fails (message: 'Data at the root leve= l is invalid. Line 1, position 1'). Is there something I am missing?
=C2=A0
=C2=A0[text]SOAPRequest =3D[unurl]%0D%0A[/U= nURL][!]
[/!]<?xml version=3D"1.0" encoding=3D"utf-8&q= uot;?>[unurl]%0D%0A[/UnURL][!]
[/!]<soap12:Envelope xmlns:xsi=3D&q= uot;http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=3D"http://www.w3.or= g/2001/XMLSchema"
xmlns:soap12=3D"http://schemas.xmls= oap.org/soap/envelope/">[unurl]%0D%0A[/UnURL][!]
[/!]<soa= p12:Body>[unurl]%0D%0A[/UnURL][!]
[/!]<ns1:GetCityForecastByZIP xm= lns:ns1=3D'http://ws.cdyne.com/WeatherWS/'>[!]
[/!]<ns1:ZIP>11743= </ns1:ZIP>[!]
[/!]</ns1:GetCityForecastByZIP>[!]
[/!]<= /soap12:Body>[!]
[/!]</soap12:Envelope>[/text]
=C2=A0=C2=A0<= /div>
=C2=A0[text]_SOAPResponse=3D[tcpconnect host=3Dwsf.cdyne.com&port=3D80]
=C2=A0= [tcpsend]POST http://wsf.cdyne.com/WeatherWS/Weather.asmx HTTP/1.1[UnURL= ]%0D%0A[/UnURL][!]
=C2=A0[/!]Host: wsf.cdyne.com [unurl]%0D%0A[/UnURL][!]
=C2=A0[/!]Conte= nt-type: application/soap+xml; charset=3D"utf-8"[unurl]%0D%0A[/Un= URL][!]
=C2=A0[/!]Content-length: [countchars][SOAPRequest][/CountChars]= [unurl]%0D%0A[/UnURL][!]
=C2=A0[/!][unurl]%0D%0A[/UnURL][!]
=C2=A0[/!= ][unurl][SOAPRequest][/unurl][unurl]%0D%0A[/UnURL][!]
=C2=A0[/!][/TCPSen= d]
=C2=A0[/tcpconnect][/text]
=C2=A0[!][showif [p_returnVar]![raw][p_= returnVar][/raw]]
=C2=A0=C2=A0[text scope=3Dglobal][p_returnVar]=3D[conv= ertchars table=3Dstrip][_SOAPResponse][/convertchars][/text]
=C2=A0[/sho= wif][/!]
=C2=A0<br>[_SOAPResponse]
=C2=A0
Ted<= /div>
=C2=A0

=C2=A0
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: suppo= rt@webdna.us
--001a1134be3a25779a050a5884ac-- Tom Duke

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:

searching problem (1998) Date Range search (1997) Summary layout (1997) suggestion (1997) Page Expiring again... (2006) Server Problem (2004) Multiple security dbs (1997) Announcement-WebCatalog 2.0 Released (1997) show all problem (1997) [OT] CSS and SSI books (2004) cybercash (1997) [addfields] bombing 5.0 (2003) WebCat2.0 acgi vs plugin (1997) tcpconnect/tcpsend problem ... (2004) quantity minimum problem (1997) test (2000) Multiple prices (1997) New public beta available (1997) ADMIN ACCESS (1999) suggestions for a Windows based text editor? (2004)