本文整理汇总了Java中org.apache.axis.soap.SOAPConstants类的典型用法代码示例。如果您正苦于以下问题:Java SOAPConstants类的具体用法?Java SOAPConstants怎么用?Java SOAPConstants使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SOAPConstants类属于org.apache.axis.soap包,在下文中一共展示了SOAPConstants类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: MSS_Registration
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSRegistrationResp MSS_Registration(final MSSRegistrationReq req) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
null,
_operations[0]);
_call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call1.setSOAPActionURI("#MSS_Registration");
this.setRequestHeaders(_call1);
Object _resp = _call1.invoke(new Object[] {req});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
return (MSSRegistrationResp) _resp;
}
}
示例2: MSS_ProfileQuery
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSProfileResp MSS_ProfileQuery(MSSProfileReq req) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
null,
_operations[0]);
_call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call1.setSOAPActionURI("#MSS_ProfileQuery");
this.setRequestHeaders(_call1);
Object _resp = _call1.invoke(new Object[] {req});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
return (MSSProfileResp) _resp;
}
}
示例3: MSS_Signature
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSSignatureResp MSS_Signature(MSSSignatureReq req) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
null,
_operations[0]);
_call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call1.setSOAPActionURI("#MSS_Signature");
this.setRequestHeaders(_call1);
Object _resp = _call1.invoke(new Object[] {req});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
return (MSSSignatureResp) _resp;
}
}
示例4: MSS_StatusQuery
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSStatusResp MSS_StatusQuery(MSSStatusReq req) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
null,
_operations[0]);
_call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call1.setSOAPActionURI("#MSS_StatusQuery");
this.setRequestHeaders(_call1);
Object _resp = _call1.invoke(new Object[] {req});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
return (MSSStatusResp) _resp;
}
}
示例5: MSS_Handshake
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSHandshakeResp MSS_Handshake(MSSHandshakeReq MSS_HandshakeReq) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
null,
_operations[0]);
_call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call1.setSOAPActionURI("#MSS_Handshake");
this.setRequestHeaders(_call1);
Object _resp = _call1.invoke(new Object[] {MSS_HandshakeReq});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
return (MSSHandshakeResp) _resp;
}
}
示例6: MSS_Receipt
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSReceiptResp MSS_Receipt(MSSReceiptReq req) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
null,
_operations[0]);
_call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call1.setSOAPActionURI("#MSS_Receipt");
this.setRequestHeaders(_call1);
Object _resp = _call1.invoke(new Object[] {req});
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
return (MSSReceiptResp) _resp;
}
}
示例7: createCall
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
/**
* Create a call with common parameter preparation.
*
* @param soapConstants Preferably SOAP12Constants
* @param encodingStyleURI null or Constants.URI_SOAP12_ENC, or Constants.URI_SOAP12_NOENC
* @param operationDesc OperationDesc
* @return Prepared Call object.
* @throws RemoteException for a number of initialization failures
*/
public Call createCall( final SOAPConstants soapConstants,
final String encodingStyleURI,
final OperationDesc operationDesc )
throws RemoteException
{
final org.apache.axis.client.Call _call1 = this.createCall(encodingStyleURI);
_call1.setSOAPVersion(soapConstants);
// Could this be safe not to be filled?
_call1.setEncodingStyle(encodingStyleURI);
// OperationDesc fills local type registry as a side function
_call1.setOperation(operationDesc);
// Set the operation QName (OperationDesc has top-level ElementQName)
_call1.setOperationName(operationDesc.getElementQName());
return _call1;
}
示例8: MSS_Notification
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
@Override
public MSSReceiptReq MSS_Notification(MSSStatusResp req) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
Call _call1 = this.createCall(SOAPConstants.SOAP12_CONSTANTS,
null,
_operations[0]);
_call1.setProperty(Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call1.setProperty(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call1.setSOAPActionURI("#MSS_Notification");
this.setRequestHeaders(_call1);
final Object[] reqs = new Object[] {req};
Object _resp = _call1.invoke(reqs);
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
return (MSSReceiptReq) _resp;
}
}
示例9: OperationInfo
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
public OperationInfo(OperationDesc operationDesc, boolean useSOAPAction, String soapActionURI, SOAPConstants soapVersion, QName operationName, String methodName, String methodDesc) {
this.operationDesc = operationDesc;
this.useSOAPAction = useSOAPAction;
this.soapActionURI = soapActionURI;
this.soapVersion = soapVersion;
this.operationName = operationName;
this.methodName = methodName;
this.methodDesc = methodDesc;
}
示例10: getSoapVersion
import org.apache.axis.soap.SOAPConstants; //导入依赖的package包/类
public SOAPConstants getSoapVersion() {
return soapVersion;
}