Click to See Complete Forum and Search --> : e-commerce B2B


rraapp
04-20-2004, 06:04 AM
I place this thread from ASP section due to the lack of solutions in my "old ??" ASP/JS environment. That is:

B2B.

COMPANY1 has a web app which can be "collaborative" with supplier's apps. In fact, when a purchase order is created as a transaction in COMPANY1, this app sends the data to the web page of the supplier specifying relevant data (COMPANY1order#, item#, quantity, price, delivery date requested). The COMPANY1 must wait the confirmation from COMPANY2 before committing the purchase order, and this is done when COMPANY2 returns back to COMPANY1 transaction the COMPANY2order# assigned to COMPANY1order#.

C1 enters purchase order (web page C1_PO).
C1_PO sends C2_PO web page (another server, another domain) relevant data.
C2_PO confirms (or not) the C1 purchase order and returns back the C2order# or a negative integer meaning failure reason.
C1 gets C2 data and commits (if positive) the purchase order transaction storing C2order# as cross-reference data.
C1_PO and C2_PO must interact realtime.

I posted this question at ASP forum because I get lost after sending to COMPANY2 the data requesting their answer, I don't know the way COMPANY2 can interactively answer the COMPANY1 page. PeoFeo told me about ASP.NET sockets, anyone can help me with methods and/or examples ??

I'm really surprised by the lack of solutions in "classic" ASP/JS environment when this kind of transaction is so basic for the "collaborative processes" so mentioned in B2B. How is this be done in marketed products ???

Thanks in advance.

R. Aquilino Pujol

buntine
04-21-2004, 04:58 AM
You have already received a perfectly fine solution to your problem. You obviously dont understand how ASP server programming works.

I suggest you start with the basics at one of the following web sites. What you are trying to acheive is just part of the ASP basics.

- www.asp101.com
- www.w3schools.com

Regards,
Andrew Buntine.

PeOfEo
04-21-2004, 05:18 PM
if you are familiar with winsock you can think of using system.net.sockets as using winsock, it can be used to send small packets to other servers or query them for data. Infact I was playing around one time and you can get the html source code of websites on other servers with the same methods.