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)


Article ID: 205970


Updated On:


CA Gen


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="">
         <faultstring>ERROR [email protected],0022020109,0 305 [  XC/0]</faultstring>
            <ns1:Exception xmlns:ns1=""/>


Release : 8.6
Component : CA Gen Enterprise Java Beans


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:
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.