I tried generating the Apex code through the custom FuseIT SFDC Explorer Wsdl2Apex that we made here at work.
The corresponding GetGroupResponse came out as:
public class GetGroupResponse {
public Integer AppReturnCode;
public trizettoComFxiIslFawsvcinpgetgroup.ArrayOfREC_ERR AppErrors;
public trizettoComFxiIslFawsvcinpgetgroup.ArrayOfREC_RESP RESP_COLL;
private String[] AppReturnCode_type_info = new String[]{'AppReturnCode','http://trizetto.com/fxi/isl/FaWsvcInpGetGroup','int','1','1','false'};
private String[] AppErrors_type_info = new String[]{'AppErrors','http://trizetto.com/fxi/isl/FaWsvcInpGetGroup','ArrayOfREC_ERR','0','1','false'};
private String[] RESP_COLL_type_info = new String[]{'RESP_COLL','http://trizetto.com/fxi/isl/FaWsvcInpGetGroup','ArrayOfREC_RESP','0','1','false'};
public trizettoComFxiIslFawsvcinpgetgroup.ArrayOfREC_GRGR GRGR_COLL;
private String[] GRGR_COLL_type_info = new String[]{'GRGR_COLL','http://trizetto.com/fxi/isl/FaWsvcInpGetGroup','ArrayOfREC_GRGR','0','1','false'};
private String[] apex_schema_type_info = new String[]{'http://trizetto.com/fxi/isl/FaWsvcInpGetGroup','true','false'};
private String[] field_order_type_info = new String[]{'AppReturnCode','AppErrors','RESP_COLL','GRGR_COLL'};
}
As you indicated, the AppReturnCode is an Integer
. Note that in AppReturnCode_type_info it is still an 'int', as this is the SOAP type.
I tried invoking it with this anonymous Apex, but it failed with a Read timed out exception. I suspect I don't have the required authentication details.
trizettoComFxiIslFawsvcinpgetgroup.WebSvcGetGroupSoap service = new trizettoComFxiIslFawsvcinpgetgroup.WebSvcGetGroupSoap();
service.timeout_x = 120000;
trizettoComFxiIslFawsvcinpgetgroup.Config pConfig = new trizettoComFxiIslFawsvcinpgetgroup.Config();
pConfig.Region = 'abihsdevfac520';
pConfig.FacetsIdentity = 'SVCAGENT';
pConfig.CallingSystemName = 'DEFAULT';
String pGRGR_ID = 'SF000001';
trizettoComFxiIslFawsvcinpgetgroup.GetGroupResponse resp = service.GetGroup_GroupId(pConfig, pGRGR_ID);
Example callout:
<?xml version="1.0" encoding="utf-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Header />
<env:Body>
<GetGroup_GroupId xmlns="http://trizetto.com/fxi/isl/FaWsvcInpGetGroup">
<pConfig>
<FacetsIdentity>SVCAGENT</FacetsIdentity>
<CallingSystemName>DEFAULT</CallingSystemName>
<Region>abihsdevfac520</Region>
</pConfig>
<pGRGR_ID>SF000001</pGRGR_ID>
</GetGroup_GroupId>
</env:Body>
</env:Envelope>