SelfClient.java
747 Bytes
package com.huaheng.api.erp.test;
import com.huaheng.api.erp.test.ShipmentItemReceive;
import com.huaheng.api.erp.test.ShipmentItemReceiveImplService;
import com.huaheng.common.exception.service.ServiceException;
import com.huaheng.framework.config.JaxWsDynamicClientFactory;
import org.apache.cxf.endpoint.Client;
import org.springframework.stereotype.Service;
@Service
public class SelfClient {
public String go(String s){
ShipmentItemReceiveImplService shipmentItemReceiveImplService = new ShipmentItemReceiveImplService();
ShipmentItemReceive shipmentItemReceive = shipmentItemReceiveImplService.getShipmentItemReceiveImplPort();
String a =shipmentItemReceive.addShipment(s);
return "success";
}
}