CA Gen consumer model EJB Web Service using Call External to access provider model EJB Web Service fails with error 305 in SoapUI (group views and date data)

book

Article ID: 205970

calendar_today

Updated On:

Products

CA Gen

Issue/Introduction

CA Gen "consumer" model Server PStep EJB Web Service uses Call External to access the EJB Web Service from a "provider model" fails with error 305 in SoapUI.
The export views contains group views and date data:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>ERROR [email protected],0022020109,0 305 [  XC/0]</faultstring>
         <detail>
            <ns1:Exception xmlns:ns1="http://tempuri.org/GqalVehicleSvrConsume4/"/>
         </detail>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

Environment

Release : 8.6
Component : CA Gen Enterprise Java Beans

Resolution

Problem recreated in-house by Support using supplied models.
The root cause is not related to Call External or group views but rather is related to the date field not being present in the provider EJB Web Service XML response when there is no value set for that date attribute. That causes a mapping problem on the XML response to the consumer Call External which results in the 305 error.
If all exported date fields are populated with data then the error does not occur.

This problem will be fixed in a future update to the Server Manager generator cmg.exe in an upcoming Toolset generator PTF GEN86207.
The corresponding problem number is CGGEND/50 which will be published as page: https://support.broadcom.com/download-center/problem-detail.html?productcd=CGGEND&problemnbr=50.
A test fix for cmg.exe is currently available, so if it is required before the official PTF publication a support case should be created with reference to the above PTF and problem symptoms.