Show TOC

Procedure documentationUsing JAX-WS Customization Files Locate this document in the navigation structure

 

Use this procedure to do a conflict resolution by predefined cuistomization files when you create outside in Web services or generate Web service proxies.

Procedure

  1. If the WSDL document does not contain a service endpoint, the system prompts you to create a service endpoint and binding. On the Service, Port, Binding names selection screen, proceed as follows:

    1. Specify names for the service, port and binding with which you want the Web service tools to update the WSDL document. You can accept the default values. You can accept the default values. If the WSDL document you are using already contained binding information before you imported it, you cannot edit the name of the binding.

    2. Choose Next.

  2. On the Customization files screen, choose Add to select the customization files.

  3. Choose Next, and then choose Finish.

  4. WSDL documents, which use the same schema may use the same types. If you are running the wizard on a WSDL document, for example WSDL_B, which uses the same schema as the WSDL document, for example WSDL_A, on which you have already run the wizard, the framework would have to generate Java classes based on WSDL_B that were already generated based on WSDL_A. When you runt the wizard on WSDL_B, the framework can keep the “duplicate” Java classes from the previous execution of the wizard (based on WSDL_A, in our example) or override the “duplicate” Java classes with the ones from the current execution of the wizard (based on WSDL_B, in our example). On the screen that opens, choose the existing files, which you want to the framework to override with the ones from the current generation. The files that you leave deselected are kept from the previous execution of the wizard. Choose OK.