MTOM wieder unterstüzen
This commit is contained in:
@@ -13,6 +13,7 @@ import javax.jws.WebResult;
|
|||||||
import javax.jws.WebService;
|
import javax.jws.WebService;
|
||||||
import javax.jws.soap.SOAPBinding;
|
import javax.jws.soap.SOAPBinding;
|
||||||
import javax.xml.bind.annotation.XmlSeeAlso;
|
import javax.xml.bind.annotation.XmlSeeAlso;
|
||||||
|
import javax.xml.ws.soap.MTOM;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class was generated by Apache CXF 3.2.0
|
* This class was generated by Apache CXF 3.2.0
|
||||||
@@ -28,6 +29,7 @@ import javax.xml.bind.annotation.XmlSeeAlso;
|
|||||||
wsdlLocation = "file:/C:/Users/Jens/git/omdsservicedefinitions-master/OMDSServiceDefinition/src/main/resources/def/r1_5_0/omds3Services.wsdl",
|
wsdlLocation = "file:/C:/Users/Jens/git/omdsservicedefinitions-master/OMDSServiceDefinition/src/main/resources/def/r1_5_0/omds3Services.wsdl",
|
||||||
endpointInterface = "at.vvo.omds.types.omds3Types.r1_5_0.service.OmdsServicePortType")
|
endpointInterface = "at.vvo.omds.types.omds3Types.r1_5_0.service.OmdsServicePortType")
|
||||||
|
|
||||||
|
@MTOM(enabled = true, threshold = 1024)
|
||||||
public class OmdsServicePortImpl implements OmdsServicePortType {
|
public class OmdsServicePortImpl implements OmdsServicePortType {
|
||||||
|
|
||||||
private static final Logger LOG = Logger.getLogger(OmdsServicePortImpl.class.getName());
|
private static final Logger LOG = Logger.getLogger(OmdsServicePortImpl.class.getName());
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import javax.jws.WebResult;
|
|||||||
import javax.jws.WebService;
|
import javax.jws.WebService;
|
||||||
import javax.jws.soap.SOAPBinding;
|
import javax.jws.soap.SOAPBinding;
|
||||||
import javax.xml.bind.annotation.XmlSeeAlso;
|
import javax.xml.bind.annotation.XmlSeeAlso;
|
||||||
|
import javax.xml.ws.soap.MTOMFeature;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class was generated by Apache CXF 3.2.0
|
* This class was generated by Apache CXF 3.2.0
|
||||||
@@ -45,8 +46,11 @@ public final class OmdsServicePortType_OmdsServicePort_Client {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
|
OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
|
||||||
OmdsServicePortType port = ss.getOmdsServicePort();
|
OmdsServicePortType port = ss.getOmdsServicePort(new MTOMFeature(1024));
|
||||||
|
// OmdsService ss = new OmdsService(wsdlURL, SERVICE_NAME);
|
||||||
|
// OmdsServicePortType port = ss.getOmdsServicePort();
|
||||||
|
|
||||||
{
|
{
|
||||||
System.out.println("Invoking getOMDSPackageList...");
|
System.out.println("Invoking getOMDSPackageList...");
|
||||||
|
|||||||
Reference in New Issue
Block a user