Commit 7ac8cb16 authored by dpawar's avatar dpawar

check shipping url null or not


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99272 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 51033634
...@@ -1261,6 +1261,8 @@ public class CommonWmsUtil { ...@@ -1261,6 +1261,8 @@ public class CommonWmsUtil {
public void CallTrackShipStatus(ShipmentStatus shipParams,String url) throws Exception public void CallTrackShipStatus(ShipmentStatus shipParams,String url) throws Exception
{ {
try try
{
if(url != null && url.length() > 0)
{ {
String urlParameters = GetUrlParameters(ShipmentStatus.class, shipParams); String urlParameters = GetUrlParameters(ShipmentStatus.class, shipParams);
...@@ -1322,6 +1324,8 @@ public class CommonWmsUtil { ...@@ -1322,6 +1324,8 @@ public class CommonWmsUtil {
break; break;
} }
}
}catch (Exception e) }catch (Exception e)
{ {
System.out.println("Exception in CommonWMS Util :: CallTrackShipStatus ::" + e.getMessage() + ":"); System.out.println("Exception in CommonWMS Util :: CallTrackShipStatus ::" + e.getMessage() + ":");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment