Hi Christine,
IBM DataPower Gateway with the B2B module (8436) or running older XB62 model (7199) provides you with most of what Sterling B2B offers from a connectivity standpoint. This includes B2B messaging protocols such as AS1, AS2, AS3, ebMS but DataPower can also support other protocols like FTP, S/FTP, FTP/s, HTTP, HTTPs, MQ, JMS, POP3, SMTP, NFS, etc. What DataPower does not support that Sterling B2B does is Connect:Direct (C:D). So if you're using C:D internal or external you'd still need Sterling B2B.
From a standpoint of B2B processing, this includes validation of EDI structure, translation of EDI to XML or other cannonical format, functional acknowledgement (997) support, EDI control number checking, creation, serializing, etc DataPower cannot do this without help from another WebSphere product, provided you want to do it all with WebSphere tools and replace Sterling B2B. That product is IBM Integration Bus (IIB) or formerly known as WebSphere Message Broker. If you have IIB/WMB AND you get a tool called IBM Transformation Extender Advanced (ITXA) this will provide you the B2B processing that you can accomplish in Sterling B2B. ITXA essentially is a set of nodes that you can wire up in a flow or flows in IIB/WMB. There are three nodes: 1) Envelope Node - for enveloping EDI data going outbound, 2) De-Envelope node - for stripping off envelopes coming inbound, and 3) Transformation node - for executing a translation map for translating EDI to some other format (Inbound) or some backend format to EDI (Outbound). As part of ITXA you also get a Trading Partner Management layer. Its simple, easy, and light weight for creating and maintaing trading partner information. To create a TP profile in ITXA, its a total of 1 or 2 screens vs. Sterling B2B it amounts to somewhere in the area of 27 screens with something like 900 fields just to create a partner profile. So overall if you need complete B2B, WebSphere can do it but it needs DP, IIB/WMB, and ITXA (nodes that run in IIB/WMB).
If you simply just want to detach the B2B communications from Sterling B2B, for example do AS2 termination in the DMZ and let Sterling B2B do the B2B processing in the trusted zone, then DataPower can absolutely support this as well. IBM has customers doing both approaches. I hope I helped clarify more than confuse.