public class MyClient
{
//后台接口类
private MyStub stub;
public MyClient (){
}
/**
* constructor with spec url
*/
public MyClient (String url)
throws Exception
{
URL u = new URL(url);
Service service = new Service();
stub = new MyStub(u, service);
SOAPHeaderElement ppElement = setSoapHeader();
// add headerEle
stub.setHeader(
{
//后台接口类
private MyStub stub;
public MyClient (){
}
/**
* constructor with spec url
*/
public MyClient (String url)
throws Exception
{
URL u = new URL(url);
Service service = new Service();
stub = new MyStub(u, service);
SOAPHeaderElement ppElement = setSoapHeader();
// add headerEle
stub.setHeader(