IBM Support

Unable to create portable JAX-WS client code into J2EE Utility projects

Troubleshooting


Problem

When generating portable jax-ws web service client code within a java project (J2EE utility project) which is associated to an EAR in IBM Rational Application Developer for WebSphere Software, it creates absolute path instead of relative path for wsdl location in *_service.java.

Symptom

Portable jax-ws web service client generates incorrect path only if Java project is associated to an EAR before generating the code.

For example, the path generated is similar to:

  • url = new URL("file:/D:/RADWorkspace/JavaProject/PnrCommonV2_concrete.wsdl");

    instead of
  • url=com.delta.soa.pnrcommon.v2.PnrCommon_Service.class.getResource("/META-INF/wsdl/PnrCommonV2_concrete.wsdl");

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Web Services Development","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.4","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
23 June 2018

UID

swg21413553