SSH应用总结--接口

寿险工单app发送接口

Created with Raphaël 2.1.0 queryLhSheetNewplyAction.toApp queryLhSheetNewplyAction.toApp appScheduleService.CreateTaskApp appScheduleService.CreateTaskApp HttpClientUtil.doPost HttpClientUtil.doPost client.executeMethod client.executeMethod lhSheetSendLogEntitynew LhSheetSendLogEntity postMethod
LhSheetSendLogEntity lhSheetSendLogEntitynew=lhSheetNewplyService.findLhSheetSendLogEntityBySheetNo(queryLhSheetNewplyForm.getSheetno(), queryLhSheetNewplyForm.getLogEntityMethod(),null);
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.PostMethod;

PostMethod postMethod = new PostMethod(url);
HttpClient client = new HttpClient();

postMethod.getParams().setParameter(HttpMethodParams.HTTP_CONTENT_CHARSET,encoding);
postMethod.addParameter("userid",userid==null?"":userid);
...
client.executeMethod(postMethod);

车险报案接口

Created with Raphaël 2.1.0 caseCarBaseAction.saveOrUpdateCase caseCarBaseAction.saveOrUpdateCase this.autoSendNewCaseAndNewTask this.autoSendNewCaseAndNewTask SendAutoClaimServer.sendAndReceiveAppendCARCASE SendAutoClaimServer.sendAndReceiveAppendCARCASE sendAndReceiveAppendCARCASE sendAndReceiveAppendCARCASE ActionMapping caseBaseEntity data
PackAutoClaimData data = new PackAutoClaimData(entity, policyEntity,
                caseCarCopyPolicyService, insDicHelper, drvEntity);
Created with Raphaël 2.1.0 sendAndReceiveAppendCARCASE sendAndReceiveAppendCARCASE toAppendCARCASEXML toAppendCARCASEXML carCase
StringBuffer buffer = new StringBuffer();

        buffer.append("");
        buffer.append("");
        buffer.append(carCase.toAppendCARCASEXML());
        buffer.append("");

        return buffer.toString();
Created with Raphaël 2.1.0 toAppendCARCASEXML toAppendCARCASEXML carCase.toAppendCARCASEXML carCase.toAppendCARCASEXML hEAD.toXML hEAD.toXML bODY.toAppendCARCASEXML bODY.toAppendCARCASEXML carCase carCase.head carCase.body
        StringBuffer buffer = new StringBuffer();

        buffer.append( "" );  
        buffer.append( hEAD.toXML() );
        buffer.append( "" );

        buffer.append( "" );  
        buffer.append( bODY.toAppendCARCASEXML() );
        buffer.append( "" );

        return buffer.toString();
        StringBuffer buffer = new StringBuffer();

        buffer.append(""); 
        buffer.append( getCREATOR() );
        buffer.append("");

        buffer.append(""); 
        buffer.append( getCREATE_TIME() );
        buffer.append("");        

        buffer.append(""); 
        buffer.append( getOPERATION() );
        buffer.append("");

        return buffer.toString();

你可能感兴趣的:(ssh)