WSDL generating TEWS problem
search cancel

WSDL generating TEWS problem

book

Article ID: 377754

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

Generated a web service client from the IAM service URL, new classes had compilation issues with existing code. For an example

 

OLD Client Generation

public class ModifyBP

{

  private ModifyBPSearch modifyBPSearch;

  private ModifyBPProfileTab modifyBPProfileTab;

  private ModifyBPAccessRolesTab modifyBPAccessRolesTab;

}

 

New Client Generation :

public class ModifyBP  {

    private javax.xml.soap.SOAPElement modifyBPSearch;

    private tews6.wsdl.ModifyBPProfileTab modifyBPProfileTab;

    private tews6.wsdl.ModifyBPAccessRolesTab modifyBPAccessRolesTab;

}

Why the modifyBPSearch contains type javax.xml.soap.SOAPElement instead of modifyBPSearch

Environment

Identity Manager 14.5 with IBM  Rational Application Developer tool and runtime is “WebSphere Application Server 9.0 Traditional

Cause

Due to a problem with 

use of <xs:choice> causes the Java web service client not to generate the Java object instead it creates a SOAPElement data type

Resolution

Use  <xs: sequence>  instead of  <xs:choice>  and regenerate the client