IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit > Troubleshooting and support

Preventing BG generation in the EMD invocation

To prevent the BG generation in the EMD invocation, perform these code changes:

  1. In the HelloWorldOutboundServiceDescription.setFunctionDescriptions(), you must have the dataDescription.setTopLevel(false); entry set.

  2. In the HelloWorldDataDescription.prepareChildSchemaFiles(), add the dataDescription.setTopLevel(false); code before the dataDescription.prepareSchemaFiles() invocation, for example,
    dataDescription.setTopLevel(false);
    dataDescription.prepareSchemaFiles();
  3. Modify the code in HelloWorldOutboundServiceDescription and remove bg and BG from the code.
    dataDescription.setName(WBIDataDescriptionImpl.convertNamespaceToUri(namespace + "/" 
                                  + metadataObj.getBOName().toLowerCase()), metadataObj 
                                  .getBOName()); 

Troubleshooting and support