ShipmentClient.java
699 Bytes
package com.huaheng.api.erp.client;
import com.huaheng.framework.config.JaxWsDynamicClientFactory;
import com.huaheng.pc.shipment.shipmentDetail.domain.ShipmentDetail;
import org.apache.cxf.endpoint.Client;
import org.springframework.stereotype.Service;
import javax.xml.ws.Holder;
@Service
public class ShipmentClient {
public String soReply(ShipmentDetail shipmentDetail){
JaxWsDynamicClientFactory jdcf = JaxWsDynamicClientFactory.newInstance();
Client client = jdcf.createClient("192.168.11.24:9090/ZMMFM_WMS001Servicr?wsdl");
Holder<String> message = null;
Holder<String> type = null;
// client.invoke("zmmfmWMS001",)
return null;
}
}