本文整理了Java中org.apache.axis.client.Call.addHeader()
方法的一些代码示例,展示了Call.addHeader()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Call.addHeader()
方法的具体详情如下:
包路径:org.apache.axis.client.Call
类名称:Call
方法名:addHeader
[英]Add a header which should be inserted into each outgoing message we generate. Note: Not part of JAX-RPC specification.
[中]添加一个标题,该标题应插入到我们生成的每个传出消息中。注意:不是JAX-RPC规范的一部分。
代码示例来源:origin: org.n52.metadata/smarteditor-api
/**
* Inserts a secured action into a SOAP Call for marshalling.
*
* @param call
* @param securedAction
* @throws SOAPException
* @throws SAXException
*/
public void insertSecuredAction(Call call, SecuredAction securedAction) throws SOAPException,
SAXException {
call.addHeader((org.apache.axis.message.SOAPHeaderElement) asSOAPHeaderElement(securedAction));
}
代码示例来源:origin: axis/axis
protected void setRequestHeaders(org.apache.axis.client.Call call) throws AxisFault {
// Set the call headers.
SOAPHeaderElement[] headers = getHeaders();
for(int i=0;i<headers.length;i++){
call.addHeader(headers[i]);
}
}
代码示例来源:origin: org.n52.metadata/smarteditor-api
/**
* @param call
* @throws SOAPException
* @throws SAXException
*/
public void insert(Call call) throws SOAPException, SAXException {
SOAPHeaderElement headerElement = asSOAPHeaderElement();
call.addHeader((org.apache.axis.message.SOAPHeaderElement) headerElement);
}
代码示例来源:origin: org.n52.metadata/smarteditor-api
/**
* @param call
* @throws SOAPException
* @throws SAXException
*/
// ***
public void insert(Call call) throws SOAPException, SAXException {
SOAPHeaderElement headerElement = asSOAPHeaderElement();
call.addHeader((org.apache.axis.message.SOAPHeaderElement) headerElement);
}
代码示例来源:origin: org.apache.axis/axis
protected void setRequestHeaders(org.apache.axis.client.Call call) throws AxisFault {
// Set the call headers.
SOAPHeaderElement[] headers = getHeaders();
for(int i=0;i<headers.length;i++){
call.addHeader(headers[i]);
}
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
protected void setRequestHeaders(org.apache.axis.client.Call call) throws AxisFault {
// Set the call headers.
SOAPHeaderElement[] headers = getHeaders();
for(int i=0;i<headers.length;i++){
call.addHeader(headers[i]);
}
}
代码示例来源:origin: org.n52.metadata/smarteditor-api
public void insert(Call call) throws SOAPException, SAXException {
SOAPHeaderElement headerElement = asSOAPHeaderElement();
call.addHeader((org.apache.axis.message.SOAPHeaderElement) headerElement);
}
代码示例来源:origin: org.n52.metadata/smarteditor-api
public void insert(Call call) throws SOAPException, SAXException {
SOAPHeaderElement headerElement = asSOAPHeaderElement();
call.addHeader((org.apache.axis.message.SOAPHeaderElement) headerElement);
}
代码示例来源:origin: mx4j/mx4j-tools
private Call createCall() throws IOException
{
try
{
Call call = (Call)service.createCall();
call.setTargetEndpointAddress(endpoint);
SOAPHeaderElement connectionIDHeader = new SOAPHeaderElement(SOAPConstants.NAMESPACE_URI, SOAPConstants.CONNECTION_ID_HEADER_NAME, connectionId);
connectionIDHeader.setMustUnderstand(true);
call.addHeader(connectionIDHeader);
return call;
}
catch (ServiceException x)
{
throw new IOException(x.toString());
}
}
}
代码示例来源:origin: axis/axis
addHeader(new RPCHeaderParam(rpcParam));
} else {
result.add(rpcParam);
代码示例来源:origin: org.apache.axis/axis
addHeader(new RPCHeaderParam(rpcParam));
} else {
result.add(rpcParam);
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
addHeader(new RPCHeaderParam(rpcParam));
} else {
result.add(rpcParam);
内容来源于网络,如有侵权,请联系作者删除!