loadDocument through an Internet Proxy Server

I am trying to download a document using the B2B Server from an internet site.

Go to the B2B Servers Admin Pages (I am assuming you are using Version 4.x or higher) and near the bottom in the section entitled “Settings” you will see a link to “Proxy Servers”. On that page you can set the proxy server for the B2B Server’s outgoing HTTP, HTTPS, and FTP connections as well as the list of servers that can be contacted directly without going through the proxies.

I don’t want all communications to go through the internet proxy server.

Try using the Proxy Bypass settings.