@ -160,7 +160,7 @@ public class YongGongXuQiuAction implements Action, EsbServerlessRpcRemoteInterf
} else if ( name . equals ( "ZBFS" ) ) {
} else if ( name . equals ( "ZBFS" ) ) {
ZBFS = value ;
ZBFS = value ;
}
}
log . error ( " main:" + requestid + " " + name + " " + value ) ;
log ger_42aadd27 . error ( " YongGongXuQiuAction main:" + requestid + " " + name + " " + value ) ;
}
}
if ( ! "" . equals ( LZBY ) ) {
if ( ! "" . equals ( LZBY ) ) {
XQYY = LZBY ;
XQYY = LZBY ;
@ -186,6 +186,7 @@ public class YongGongXuQiuAction implements Action, EsbServerlessRpcRemoteInterf
// PositionStatus = "1";
// PositionStatus = "1";
// }
// }
try {
try {
logger_42aadd27 . error ( "YongGongXuQiuAction endPoint" ) ;
// ApplyPositionFormWS(XQBM,XQGW,SQRQ,Integer.parseInt(XQRS),XWBDRQ,ZBFS2,XQYY1);
// ApplyPositionFormWS(XQBM,XQGW,SQRQ,Integer.parseInt(XQRS),XWBDRQ,ZBFS2,XQYY1);
// JobCodeToDeptFormWS(XQBM,XQGW,createrId,SQRQ);
// JobCodeToDeptFormWS(XQBM,XQGW,createrId,SQRQ);
String endPoint = "http://10.6.2.12/hengtongws/HengtongWebService.asmx" ;
String endPoint = "http://10.6.2.12/hengtongws/HengtongWebService.asmx" ;
@ -204,9 +205,9 @@ public class YongGongXuQiuAction implements Action, EsbServerlessRpcRemoteInterf
call1 . setReturnType ( new QName ( soapaction , "ApplyPositionFormWS" ) , String . class ) ;
call1 . setReturnType ( new QName ( soapaction , "ApplyPositionFormWS" ) , String . class ) ;
call1 . setUseSOAPAction ( true ) ;
call1 . setUseSOAPAction ( true ) ;
call1 . setSOAPActionURI ( soapaction + "ApplyPositionFormWS" ) ;
call1 . setSOAPActionURI ( soapaction + "ApplyPositionFormWS" ) ;
log . error ( "DeptID:" + DeptID + "positionID" + positionID ) ;
log ger_42aadd27 . error ( "DeptID:" + DeptID + "positionID" + positionID ) ;
String str = ( String ) call1 . invoke ( new Object [ ] { DeptID , positionID , SQRQ , XQRS , XWBDQX , ZBFS2 , XQYY } ) ;
String str = ( String ) call1 . invoke ( new Object [ ] { DeptID , positionID , SQRQ , XQRS , XWBDQX , ZBFS2 , XQYY } ) ;
log . error ( "str:" + str ) ;
log ger_42aadd27 . error ( "str:" + str ) ;
if ( ! str . equals ( "SUCCESS" ) ) {
if ( ! str . equals ( "SUCCESS" ) ) {
request . getRequestManager ( ) . setMessageid ( "100002" ) ;
request . getRequestManager ( ) . setMessageid ( "100002" ) ;
request . getRequestManager ( ) . setMessagecontent ( str ) ;
request . getRequestManager ( ) . setMessagecontent ( str ) ;
@ -214,7 +215,7 @@ public class YongGongXuQiuAction implements Action, EsbServerlessRpcRemoteInterf
}
}
} catch ( Exception e ) {
} catch ( Exception e ) {
System. err . println ( e . toString ( ) ) ;
logger_42aadd27. error ( "YongGongXuQiuAction catchErr:" + e . toString ( ) ) ;
return WeaResult . fail ( 500 , "YongGongXuQiuAction err" + e , getResultMapForAction ( weaverResultMap , "result" , e . getMessage ( ) , request . getRequestManager ( ) ) ) ;
return WeaResult . fail ( 500 , "YongGongXuQiuAction err" + e , getResultMapForAction ( weaverResultMap , "result" , e . getMessage ( ) , request . getRequestManager ( ) ) ) ;
}
}