Re: [WebDNA] XML Help

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103591
interpreted = N
texte = Just sending your example would be something like this: [text]crlf=3D[unurl]%0D%0A[/unurl][/text] [text]content=3D 2.0 MD YOU MD MyId MyPassword 12345 1 [/text] [tcpconnect host=3Dnewport.ingrammicro.com&port=3D443&ssl=3DT] [tcpsend skipheader=3DT][!] [/!]POST /mustang HTTP/1.0[crlf][!] [/!]Host: [host][crlf][!] [/!]Content-Length: [CountChars][content][/CountChars][crlf][!] [/!][crlf][!] [/!][content][!] [/!][/tcpsend] [/tcpconnect] For parsing the XML responses you get back you'll have to learn and =20 use the XML portions of WebDNA. Best, Christer ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se 11 sep 2009 kl. 01.55 skrev Mark Bergkvist: > Govinda, > > I have looked at some of these tags and think I might need to use =20 > them. Guess I am really just lost when it comes down to how to send =20= > a request and just get some kind of response back, even if it is an =20= > error message from them, at least I would know that I am "talking" =20 > with their server... I have played around with the [TCPonnect] =20 > commands but just get a "Error" couldn't connect to host" message. =20 > Again, I am not even sure if this is the right road to go down... > > The vendor I am trying to connect with does provide a "test Tool" =20 > when I can paste the code (PNArequest below) and it does give a =20 > valid response. But I don't know how to get my server to talk to =20 > them to get the same response back. > > Mark > > > -----Original Message----- > From: Govinda [mailto:govinda.webdnatalk@gmail.com] > Sent: Thursday, September 10, 2009 7:39 PM > To: talk@webdna.us > Subject: Re: [WebDNA] XML Help > > mark > > I also am XML newbie (not even started).. > but start with this thought: > webdna can produce any text you could need. You make webdna generate > whatever text you need to look like whatever you need it to look like > (whether HTML, javascript, XML, or anything.) > > There are also special XML tags in webdna, like > [XMLNodes] > and others.. but I have never looked into them.. They may make your > job even easier. (in reading or writing xml.. ?) > also there is a tag called [TCPConnect] you can use to connect > directly to a server. But if you are just posting a form to them > though, then you do not need that. > > dive in and ask more Q's as you encounter them. maybe read something > introductory about XML so you can separate out Webdna Q's from XML =20 > Q's. > > -Govinda > > On Sep 10, 2009, at 4:49 PM, Mark Bergkvist wrote: > >> Not sure if anyone can help, but I need to connect to a supplier via >> XML using an HTTP-POST command to get pricing information from. >> >> I know nothing about XML and not even sure if this is a WebDNA >> question. >> >> Here is the sample document they sent me to work with. They did >> also provide me with a URL and username/password to connect with. >> >> >> 2.0 >> >> MD >> YOU >> MD >> MyId >> MyPassword >> 12345 >> >> > GovtEndUserType=3D"F" /> >> 1 >> >> >> >> Anyone have any ideas where I should start? >> >> Windows 2003 IIS server >> WebDNA 6.2.0 >> >> >> Mark >> --------------------------------------------------------- >> 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 >> old archives: http://dev.webdna.us/TalkListArchive/ >> Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 > > ------------ > Govinda > govinda.webdnatalk@gmail.com > > > > > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] XML Help (Mark Bergkvist 2009)
  2. Re: [WebDNA] XML Help (Christer Olsson 2009)
  3. RE: [WebDNA] XML Help (Mark Bergkvist 2009)
  4. Re: [WebDNA] XML Help (Christer Olsson 2009)
  5. RE: [WebDNA] XML Help (Mark Bergkvist 2009)
  6. Re: [WebDNA] XML Help (Christer Olsson 2009)
  7. RE: [WebDNA] XML Help (Marc Thompson 2009)
  8. RE: [WebDNA] XML Help (Mark Bergkvist 2009)
  9. Re: [WebDNA] XML Help (Kenneth Grome 2009)
  10. RE: [WebDNA] XML Help (Mark Bergkvist 2009)
  11. Re: [WebDNA] XML Help (Marc Thompson 2009)
  12. Re: [WebDNA] XML Help (Kenneth Grome 2009)
  13. Re: [WebDNA] XML Help (Marc Thompson 2009)
  14. RE: [WebDNA] XML Help (Mark Bergkvist 2009)
  15. Re: [WebDNA] XML Help (Marc Thompson 2009)
  16. RE: [WebDNA] XML Help (Mark Bergkvist 2009)
  17. Re: [WebDNA] XML Help (Donovan Brooke 2009)
  18. Re: [WebDNA] XML Help (Christer Olsson 2009)
  19. Re: [WebDNA] XML Help (Govinda 2009)
  20. RE: [WebDNA] XML Help (Mark Bergkvist 2009)
  21. Re: [WebDNA] XML Help (Govinda 2009)
  22. RE: [WebDNA] XML Help (Mark Bergkvist 2009)
  23. Re: [WebDNA] XML Help (Govinda 2009)
  24. [WebDNA] XML Help (Mark Bergkvist 2009)
  25. Re: [WebDNA] XML Help please (Colin Sidwell 2009)
  26. Re: [WebDNA] XML Help please (Gil Poulsen 2009)
  27. Re: [WebDNA] XML Help please (Gil Poulsen 2009)
  28. Re: [WebDNA] XML Help please (Gil Poulsen 2009)
  29. RE: [WebDNA] XML Help please ("Michael A. DeLorenzo" 2009)
  30. RE: [WebDNA] XML Help please ("Michael A. DeLorenzo" 2009)
  31. Re: [WebDNA] XML Help please (Colin Sidwell 2009)
  32. Re: [WebDNA] XML Help please (Colin Sidwell 2009)
  33. Re: [WebDNA] XML Help please (Gil Poulsen 2009)
  34. Re: [WebDNA] XML Help please (Toby Cox 2009)
  35. [WebDNA] XML Help please (Colin Sidwell 2009)
Just sending your example would be something like this: [text]crlf=3D[unurl]%0D%0A[/unurl][/text] [text]content=3D 2.0 MD YOU MD MyId MyPassword 12345 1 [/text] [tcpconnect host=3Dnewport.ingrammicro.com&port=3D443&ssl=3DT] [tcpsend skipheader=3DT][!] [/!]POST /mustang HTTP/1.0[crlf][!] [/!]Host: [host][crlf][!] [/!]Content-Length: [countchars][content][/CountChars][crlf][!] [/!][crlf][!] [/!][content][!] [/!][/tcpsend] [/tcpconnect] For parsing the XML responses you get back you'll have to learn and =20 use the XML portions of WebDNA. Best, Christer ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se 11 sep 2009 kl. 01.55 skrev Mark Bergkvist: > Govinda, > > I have looked at some of these tags and think I might need to use =20 > them. Guess I am really just lost when it comes down to how to send =20= > a request and just get some kind of response back, even if it is an =20= > error message from them, at least I would know that I am "talking" =20 > with their server... I have played around with the [TCPonnect] =20 > commands but just get a "Error" couldn't connect to host" message. =20 > Again, I am not even sure if this is the right road to go down... > > The vendor I am trying to connect with does provide a "test Tool" =20 > when I can paste the code (PNArequest below) and it does give a =20 > valid response. But I don't know how to get my server to talk to =20 > them to get the same response back. > > Mark > > > -----Original Message----- > From: Govinda [mailto:govinda.webdnatalk@gmail.com] > Sent: Thursday, September 10, 2009 7:39 PM > To: talk@webdna.us > Subject: Re: [WebDNA] XML Help > > mark > > I also am XML newbie (not even started).. > but start with this thought: > webdna can produce any text you could need. You make webdna generate > whatever text you need to look like whatever you need it to look like > (whether HTML, javascript, XML, or anything.) > > There are also special XML tags in webdna, like > [xmlnodes] > and others.. but I have never looked into them.. They may make your > job even easier. (in reading or writing xml.. ?) > also there is a tag called [tcpconnect] you can use to connect > directly to a server. But if you are just posting a form to them > though, then you do not need that. > > dive in and ask more Q's as you encounter them. maybe read something > introductory about XML so you can separate out Webdna Q's from XML =20 > Q's. > > -Govinda > > On Sep 10, 2009, at 4:49 PM, Mark Bergkvist wrote: > >> Not sure if anyone can help, but I need to connect to a supplier via >> XML using an HTTP-POST command to get pricing information from. >> >> I know nothing about XML and not even sure if this is a WebDNA >> question. >> >> Here is the sample document they sent me to work with. They did >> also provide me with a URL and username/password to connect with. >> >> >> 2.0 >> >> MD >> YOU >> MD >> MyId >> MyPassword >> 12345 >> >> > GovtEndUserType=3D"F" /> >> 1 >> >> >> >> Anyone have any ideas where I should start? >> >> Windows 2003 IIS server >> WebDNA 6.2.0 >> >> >> Mark >> --------------------------------------------------------- >> 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 >> old archives: http://dev.webdna.us/TalkListArchive/ >> Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 > > ------------ > Govinda > govinda.webdnatalk@gmail.com > > > > > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 Christer Olsson

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:

syntax question, not in online refernce (1997) Hard Questions ? (1997) Emailer update for Mac? (1998) more [sendmail] woes.. (2000) code to phantom spacing (2001) Jimmy (1998) Need relative path explanation (1997) Listserver problem (1997) [ShowIf] if the varieable exists (1998) Banner DNA (1997) Re1000001: Setting up shop (1997) RE: setting cookies then redirecting? (1998) Running 2 two WebCatalog.acgi's (1996) Universal root for WC errors? (1997) WebCatalog for guestbook ? (1997) Calendar (1997) RE: protect tag on NT (1997) Bug Report, maybe (1997) Two submit buttons ? (1997) convert date and time (2005)