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.0MDYOUMDMyIdMyPassword123451[/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 =20use 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.se11 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:
Just sending your example would be something like this:[text]crlf=3D[unurl]%0D%0A[/unurl][/text][text]content=3D2.0MDYOUMDMyIdMyPassword123451[/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 =20use 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.se11 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:
Kaaaaahhhhhhhnnnnnnn! (1997)
Emailer port change (1997)
PhotoMill -> PhotoMaster (1997)
Summing fields (1997)
Emailer (1997)
Removing a character (2000)
Showif for mulitple variations (1997)
Getting Emailer to send mail (1997)
searches with dash, period etc. (back form politeness) (2000)
Bug Report, maybe (1997)
Error Log.db --however (1997)
Search bug. Help (2002)
A Sensible Suggestion. Was: Major problem (1999)
emailer settings and control questions (1997)
service stop and restart (1997)
[WebDNA] Clarifying talklist emails (2020)
Fwd: FW: Returned mail: you are not authorized to release queueson this server (2000)
NT Manual (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
emailer problem on OS X - unsent emails (2003)