We present a semantic B2B gateway based on the WSMX semantic Service-Oriented Architecture to tackle heterogeneities in RosettaNet messages. We develop a rich RosettaNet ontology and use the axiomatised knowledge and rules to resolve data heterogeneities and to unify unit conversions. We use adaptive executable choreography definitions to easily integrate new sellers into existing RosettaNet collaborations.