On the Operation page, select Send or Receive, as described in

2-20 Oracle Fusion Middleware Users Guide for Oracle B2B You can also select Attachment Support for the Default integration type so that the B2B WSDL file includes a message part for the attachment. 9. On the Document Definition page, expand the tree to select a document definition. If you select a document definition with multiple root elements, then select a root element to use and click OK. Table 2–7 describes other options on the page. Table 2–6 Selecting Document Definition Handling Options Option Description Basic Tab - Import Schema from B2B Imports the schema from Oracle B2B the same option as on the Advanced tab Advanced Tab - Import Schema from B2B Imports the schema from Oracle B2B the same option as on the Basic tab Refer to Schema in B2B Repository Selects a metadata service MDS connection. Or use this option to create a new one. If you create a new MDS connection, use the MDS Connection Wizard to create a connection. This connection is needed to access the B2B repository. When you select a document definition, a URL is generated to link to the MDS. The selected application server connection refers to a specific B2B instance. The MDS connection used by the specific B2B instance must match the selected MDS connection to avoid inconsistent document definitions. When referring to schema in a B2B Repository, an MDS connection is required only for referring to a schema in a remote MDS, but not if the schema is referred to within the local shared MDS repository. For referring to B2B schemas b2bException and b2bAck in the local shared MDS, you do not need to select an MDS connection. You can select the MDS option and click Next to navigate to the Document Definition page where you can select b2bException or b2bAck, or other B2B schemas that exist in the local shared MDS. Browse Resource Schema Browse for a schema using the SOA Resource Browser. Selecting this option opens the Type Chooser. Select a type and return to the Document Definition Handling page. Opaque Handles any type of data for example, positional flat file when the content is passed through in base-64 encoding. No schema is specified. anyType Handles any type of XML data. No schema is specified. Table 2–7 Document Definition Page Options Option Description Search Enter a definition name. Partial strings are matched if you type the beginning of the definition name. Partial strings with wildcards cannot be used. Refresh Retrieves the document definition list from the B2B server. Refresh after a search to see all document definitions.