Is ebXML just for B2B, or can it be applied to business-to-consumer trading?

ebXML supports messages and services among businesses as well as between businesses and consumers. For business-to-consumer exchanges, however, the specifications define only the services and architecture on the business end, not customer screens or interactions.