| | |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.fasterxml.jackson.dataformat.xml.XmlMapper; |
| | | import com.itstyle.mdm.entity.HttpClientResult; |
| | | import com.itstyle.mdm.utils.model.SoapEnvelopeProduct; |
| | | import org.apache.http.HttpStatus; |
| | | import org.apache.http.NameValuePair; |
| | | import org.apache.http.client.config.RequestConfig; |
| | |
| | | } |
| | | } |
| | | |
| | | public static String getMesResponseJson(String xml){ |
| | | return SoapEnvelopeProduct.getResJson(xml); |
| | | } |
| | | public static String getMesJson(String json){ |
| | | JSONObject mesResJson=new JSONObject(); |
| | | JSONObject jsonobj=JSONObject.parseObject(json); |