Commit 2bfebafb authored by ppatro's avatar ppatro

pass country code with out space


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93736 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4d478096
......@@ -539,7 +539,20 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
rs = null;
recipient.setState(stateCodeDlv);//Customer Adress State
shipCountry = shipCountry !=null ?shipCountry.trim():"";
System.out.println("---Consignee Country AS IT IS---["+shipCountry+"]");
Country country = soap.getCountry("ISO3", shipCountry).getResponseCountry();
if(country != null)
{
System.out.println("---ADSI return Default Country Friendly Name---["+country.getFriendlyName()+"]");
System.out.println("---ADSI return Default Country ISO3---["+country.getISO3()+"]");
System.out.println("---ADSI return Default Country ISO2---["+country.getISO2()+"]");
}
recipient.setCountry(country);//Customer Adress Country
if(!"".equalsIgnoreCase(phone) && phone.trim().length() > 0)
......
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