cl.transbank.webpay.wrapper.WSCommerceIntegrationServiceWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of transbank-sdk-java Show documentation
Show all versions of transbank-sdk-java Show documentation
Tranbank API integration SDK for Java Projects
package cl.transbank.webpay.wrapper;
import cl.transbank.webpay.Webpay;
import cl.transbank.webpay.security.SoapSignature;
import com.transbank.webpay.wswebpay.service.*;
import javax.xml.namespace.QName;
public class WSCommerceIntegrationServiceWrapper extends ServiceWrapperBase {
private WSCommerceIntegrationService port;
protected WSCommerceIntegrationServiceWrapper(Webpay.Environment environment, SoapSignature signature) throws Exception {
super(environment, signature);
// WSCommerceIntegrationServiceImplService was NOT generated using CXF
// so we are forced to copy/paste the QNames for the service and port :(
this.port = initPort(
WSCommerceIntegrationService.class,
new QName(
"http://service.wswebpay.webpay.transbank.com/",
"WSCommerceIntegrationServiceImplService"
),
new QName(
"http://service.wswebpay.webpay.transbank.com/",
"WSCommerceIntegrationServiceImplPort"
),
"transbank-ws-commerce-integration-service.wsdl"
);
}
public CaptureOutput capture(CaptureInput input){
return port.capture(input);
}
public NullificationOutput nullify(NullificationInput input){
return port.nullify(input);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy