XML - BT Buynet

Hi All,

I am setting up a method to validate customer orders automatically. The recommended system for this is BT Buynet application.

This system is installed on the domino server and listens on local port 15001

I need a method of connecting to the Buynet Client software and submit the order details using XML. Then the Client will return a validation code.

Two important questions I need answered :

1st) Is Lotus notes up to the task required. 2nd) Is there a way to send XML output to a port ?

If that is possible then can Lotus listen for a reply?

If anyone can even let me know whether they have managed to do this before with Lotus Notes it will help me a great deal.

Thanks for reading this post.

Jon Nailer.

Subject: XML - BT Buynet

I do not know anything about BT Buynet. You use a socket connection to send data to a port and get data back. You can code this directly in Java. In LotusScript you can use Java via LS2J, or you can use a platform API like WinSock.

Subject: RE: XML - BT Buynet

Cheers for that suggestion, could you let me know what Java command you use. Just to give me something to look into.

Jon.

Subject: RE: XML - BT Buynet

You can make a java.net.Socket, specifying the server (localhost, I suppose) and the port. Use its getOutputStream() and getInputStream() to get streams for sending and receiving data. If you search the Internet I think you will easily find sample code.