IBM Support

PM60241: WSDLException: faultCode=PARSER_ERROR when running a Java generated program accessing a SOAP Web service.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • APAR Error Description:
    Abstract: In Rational Business Developer version 8.0.1.3,
    attempts to run a Java generated program accessing a SOAP web
    service result in error:
    
    WSDLException: faultCode=PARSER_ERROR: Problem parsing
    '/WSDLSource'.: \WSDLSource (The system cannot find the file
    specified.)
    
    
    
    Problem: To reproduce the problem:
    
    1) create an EGL program like
    
    program HelloPrg type BasicProgram{}
    
        function main()
            SysLib.writeStdout('HelloPrg: start');
            srv Hello {@bindService};
            msg string;
            msg=srv.sayHello('olivier');
            SysLib.writeStdout('HelloPrg: end, msg='+msg);
        end
    
    end
    
    2) generate it to Java
    3) run the generated Java class as a Java application
    
    Local fix:
    It works in debug mode.
    
    It works if the deployment descriptor is changed to use absolute
    path instead of relative for the WSDL location, so from
    ?webBinding enableGeneration='true'
    interface='com.ibm.support.egl.services.Hello' name='Hello'
    uri='' wsdlLocation='WSDLSource/Hello.wsdl' wsdlPort='Hello'
    wsdlService='HelloService'/?
    
    to
    
    ?webBinding enableGeneration='true'
    interface='com.ibm.support.egl.services.Hello' name='Hello'
    uri=''
    wsdlLocation='C:/workspaces/EGL8/TestEGLWSClient/WSDLSource/Hell
    o.wsdl'
    wsdlPort='Hello' wsdlService='HelloService'/?
    
    
    It also works if the wsdl is copied to EGLGen/JavaSource.
    (/TestEGLWSClient/EGLGen/JavaSource/WSDLSource/Hello.wsdl)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When accessing SOAP services from an EGL program, the system
    does not copy the WSDL file to the proper places.
    

Problem conclusion

  • Product has been updated to copy the WSDL file to the
    correct place when accessing SOAP service from EGL Program
    part
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM60241

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-12

  • Closed date

    2012-10-08

  • Last modified date

    2012-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 BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R801 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
08 October 2012