IBM Support

PM13003: JAX-WS Client generation sets overriddenEndpointURI in ibm-webse rvicesclient-bnd.xmi : Managed changes ignored

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • RAD7551(and previous) JAX-WS Client generation sets overridden E
    ndpointURI in ibm-webservicesclient-bnd.xmi
    : Managed JAX-WS client endpoint address changes not respected
    
    Description *
    
    When a JAX-WS Web service client also has a ?service-ref? DD
    
    description, changes to the endpoint address (e.g. to redirect t
    o the
    TCP/IP monitor) are not respected. The fix is to give users the
    option
    of generating ibm-webserviceclient-bnd.xmi in conjunction with t
    he
    option to generate a deployment descriptor in the JAX-WS Web ser
    vice
    client wizard extension.
    
    
    
    Example
    
    
    
    After you deploy both the server web service and then run the cl
    ient,
    try to change
    
    the endpoint URL in the sample JSP to point to the TCP/IP monito
    r. The
    request and response never get redirected unless you delete
    
    ibm-webservicesclient-bnd.xmi in the Client project and republis
    h.
    
    
    The problem only occurs when a ?service-ref? has been defined fo
    r the
    client in the client module deployment descriptor.
    
    
    
    Websphere Application Server and and Rational Application Develo
    per decvelopment for web services, agreed:
    
    
    
    '...
    
    The overridenEndpointURI in the ibm-webservicesclient-bnd.xmi fi
    le  takes
    precedence over the BindingProvider.ENDPOINT_ADDRESS_PROPERTY.
    
    
    
    This precedence is correct because the purpose of the
    
    ibm-webservicesclient-bnd.xmi overriddenEndpointURI is to overri
    de any
    uri programatic or annotation settings in a managed environment.
    
    
    
    The workaround is the right approach to circumvent the problem.
    
    ?RE: deleting the
    overridenEndpointURI in the ibm-webservicesclient-bnd.xmi file?
    
    
    
    The RAD tool should not be automatically setting an
    
    overriddenEndpointURI.  Customer should control this setting bas
    ed on
    the business need (preferably not setting this attribute manuall
    y).
    ...'
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    JAX-WS Web service clients were always generated along with
    an ibm-webservicesclient-bnd.xmi document which overrides
    the endpoint URL. If the client then tries to redirect the
    traffic (e.g. with a TCP/IP monitor), it will fail.
    

Problem conclusion

  • An option has been provided to control whether or not
    ibm-webservicesclient-bnd.xmi is generated.
    
    Fixed in v7.5.5.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM13003

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    755

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-04-23

  • Closed date

    2010-10-08

  • Last modified date

    2010-10-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R755 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 October 2010