Re: [WebDNA] SOAP support

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111783
interpreted = N
texte = --Apple-Mail=_F7BC60FF-4DCA-43DC-8241-E7576DC9E1E1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Try HTTP/1.0 not HTTP/1.1 Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 17 Dec 2014, at 9:33 am, mainlighting . = wrote: >=20 > Hi Stuart, > =20 > 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. > =20 > Hey Ted >=20 > I have been doing SOAP on Linux & Windows servers for many years. >=20 > There are few tricks that I have come across that work depending on = the way the SOAP server is configured.. >=20 > Firstly this is a great tool for getting your query correct > http://www.soapui.org <> >=20 > Secondly, quite often I have made these things work by putting in a = browser type and content-length. >=20 > Your TCP is incorrect >> POST http://wsf.cdyne.com/WeatherWS/Weather.asmx <> > Should be POST /WeatherWS/Weather.asmx <> >=20 > You also have a space after your text var name [text]SOAPRequest*you = have a space here*=3D[UnURL] >=20 > Try using this: >=20 > [tcpconnect host=3D[HO-HOSTURL]&port=3D[HO-HOSTPORT]&ssl=3DF][!] > [/!][tcpsend skipheader=3DT]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=3DUTF-8[UnURL]%0D%0A[/UnURL][!] >=20 > 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][ <>!] >=20 > [/!]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] >=20 >=20 >=20 > HO-HOSTURL=3Dwsf.cdyne.com <> > HO-HOSTPORT=3D80 > SERVICENAME=3DWeatherWS/Weather.asmx <> >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au = <>--------------------------------------------------------- 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 --Apple-Mail=_F7BC60FF-4DCA-43DC-8241-E7576DC9E1E1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Try HTTP/1.0 not HTTP/1.1


Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA




On 17 Dec 2014, at 9:33 am, mainlighting . <mainlighting@gmail.com> wrote:

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

Secondly, quite often I have made these = things work by putting in a browser type and content-length.

Your TCP is = incorrect
Should be POST /WeatherWS/Weather.asmx

You also have a space after your text = var name [text]SOAPRequest*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 = /[SERVICENAME]/[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 same

[/!]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=3Dwsf.cdyne.com
HO-HOSTPORT=3D80
SERVICENAME=3DWeatherWS/Weather.asmx







Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA
--------------------------------------------------------- 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

= --Apple-Mail=_F7BC60FF-4DCA-43DC-8241-E7576DC9E1E1-- 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)
--Apple-Mail=_F7BC60FF-4DCA-43DC-8241-E7576DC9E1E1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Try HTTP/1.0 not HTTP/1.1 Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 17 Dec 2014, at 9:33 am, mainlighting . = wrote: >=20 > Hi Stuart, > =20 > 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. > =20 > Hey Ted >=20 > I have been doing SOAP on Linux & Windows servers for many years. >=20 > There are few tricks that I have come across that work depending on = the way the SOAP server is configured.. >=20 > Firstly this is a great tool for getting your query correct > http://www.soapui.org <> >=20 > Secondly, quite often I have made these things work by putting in a = browser type and content-length. >=20 > Your TCP is incorrect >> POST http://wsf.cdyne.com/WeatherWS/Weather.asmx <> > Should be POST /WeatherWS/Weather.asmx <> >=20 > You also have a space after your text var name [text]SOAPRequest*you = have a space here*=3D[unurl] >=20 > Try using this: >=20 > [tcpconnect host=3D[HO-HOSTURL]&port=3D[HO-HOSTPORT]&ssl=3DF][!] > [/!][tcpsend skipheader=3DT]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=3DUTF-8[unurl]%0D%0A[/UnURL][!] >=20 > 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][ <>!] >=20 > [/!]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] >=20 >=20 >=20 > HO-HOSTURL=3Dwsf.cdyne.com <> > HO-HOSTPORT=3D80 > SERVICENAME=3DWeatherWS/Weather.asmx <> >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au = <>--------------------------------------------------------- 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 --Apple-Mail=_F7BC60FF-4DCA-43DC-8241-E7576DC9E1E1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Try HTTP/1.0 not HTTP/1.1


Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA




On 17 Dec 2014, at 9:33 am, mainlighting . <mainlighting@gmail.com> wrote:

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

Secondly, quite often I have made these = things work by putting in a browser type and content-length.

Your TCP is = incorrect
Should be POST /WeatherWS/Weather.asmx

You also have a space after your text = var name [text]SOAPRequest*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 = /[SERVICENAME]/[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 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=3Dwsf.cdyne.com
HO-HOSTPORT=3D80
SERVICENAME=3DWeatherWS/Weather.asmx







Regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA
--------------------------------------------------------- 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

= --Apple-Mail=_F7BC60FF-4DCA-43DC-8241-E7576DC9E1E1-- Stuart Tremain

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:

includes and cart numbers (1997) access denied problem (1997) Search all Fields in a db (1997) more on my bbs (1997) [BULK] RE: [WebDNA] [BULK] Should I be worried about this web (2017) [accountNum] and [math] (1997) Don'y know if this is a sily question... (2003) cart file creation (2003) security (1997) More questions about serial number dishing (1997) Where is f2? (1997) PCS Frames (1997) Banners (1997) [WebDNA] WebDNA and MAMP/Apache (Mac) (2018) [WebDNA] Help with Tables (2008) lineitems not showing when moving to a different OS (2006) New commands in Final candidate (1997) RE: Web*SSL and WebCatalog (1997) Newbie search question (between two dates) (2001) Almost a there but..bye bye NetCloak (1997)