IBM Support

PM81606: Prepare for Deployment does not generate JAX-RPC code

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    Attempts to invoke the menu Java EE ? prepare For Deployment or
    publish an application that contains JAX-RPC Web Services result
    in missing JAX-RPC deployment code, using IBM Rational
    Application Developer or IBM Rational Software Architect for
    WebSphere v 8.5.1.
    
    Problem:
    
    Note: This problem affects only IBM Rational Application
    Developer and Rational Software Architect for WebSphere v 8.5.1,
    it does not affect not any previous versions.
    
    These steps reproduce the problem:
    
    1. Create an EAR with version 1.4
    
    2. Add a Dynamic Web project with version 2.4.
    
    3. Add the class com.Bean1 with the following  code:
    
    package com;
    
    public class Bean1 {
        private String name;
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    
    }
    
    Add the other class com.Service1 with the following code:
    
    package com;
    import com.Bean1;
    
    
    
    public class Service1 {
    
        public Bean1 op(Bean1 b){
            return b;
        }
    
    }
    
    4. Generate a JAX-RPC service from Service1, keeping the slider
    to the level of: 'Assemble'.
    
    5. The Service Endopint Interface is generated.
    
    6. Right-click on the Web Project.
    
    7. Choose: Java EE ? Prepare for deployment.
    
    Results:
    
    No additional code is generated.
    
    Expected:
    
    Files with suffix _Ser, _Deser, _Helper should be generated for
    the class com.Bean1.
    
    8. Publish to WebSphere Application Server v8.5
    (under Publishing ? Select publishing actions
    the following option must be selected
    Deploy J2EE Modules )
    
    9. Test the Service with the Generic Web Services Client:
    
    10. In the console you see a runtime error:
    
    [1/24/13 18:07:53:836 CET] 00000089 SystemErr     R Caused by:
    java.lang.Exception: WSWS3028E: Error: A _Helper class was not
    found for com.Bean1.
    [1/24/13 18:07:53:837 CET] 00000089 SystemErr     R     at
    com.ibm.ws.webservices.engine.InternalException.?init?(InternalE
    xception.java:124)
    [1/24/13 18:07:53:837 CET] 00000089 SystemErr     R     ... 56
    more
    
    Local fix:
    In point 4. set the slider to the level: 'Deploy', or higher.
    

Local fix

Problem summary

  • Prepare for deployment does not generate the JAX-RPC artifacts.
    

Problem conclusion

  • The fix for this APAR is included in Rational Application
    Developer version 8.5.5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM81606

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    851

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-29

  • Closed date

    2013-10-15

  • Last modified date

    2013-10-15

  • 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

  • R900 PSY

       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":"8.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2013