本文整理了Java中org.apache.axis.client.Service.getAxisClient()
方法的一些代码示例,展示了Service.getAxisClient()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Service.getAxisClient()
方法的具体详情如下:
包路径:org.apache.axis.client.Service
类名称:Service
方法名:getAxisClient
暂无
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Constructs a new Service object - this assumes the caller will set
* the appropriate fields by hand rather than getting them from the
* WSDL.
*/
public Service() {
engine = getAxisClient();
}
代码示例来源:origin: axis/axis
/**
* Constructs a new Service object - this assumes the caller will set
* the appropriate fields by hand rather than getting them from the
* WSDL.
*/
public Service(QName serviceName) {
this.serviceName = serviceName;
engine = getAxisClient();
}
代码示例来源:origin: axis/axis
/**
* Constructs a new Service object as above, but also passing in
* the EngineConfiguration which should be used to set up the
* AxisClient.
*/
public Service(EngineConfiguration config) {
this.config = config;
engine = getAxisClient();
}
代码示例来源:origin: org.apache.axis/axis
/**
* Constructs a new Service object - this assumes the caller will set
* the appropriate fields by hand rather than getting them from the
* WSDL.
*/
public Service(QName serviceName) {
this.serviceName = serviceName;
engine = getAxisClient();
}
代码示例来源:origin: org.apache.axis/axis
/**
* Constructs a new Service object as above, but also passing in
* the EngineConfiguration which should be used to set up the
* AxisClient.
*/
public Service(EngineConfiguration config) {
this.config = config;
engine = getAxisClient();
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Constructs a new Service object - this assumes the caller will set
* the appropriate fields by hand rather than getting them from the
* WSDL.
*/
public Service(QName serviceName) {
this.serviceName = serviceName;
engine = getAxisClient();
}
代码示例来源:origin: axis/axis
/**
* Constructs a new Service object - this assumes the caller will set
* the appropriate fields by hand rather than getting them from the
* WSDL.
*/
public Service() {
engine = getAxisClient();
}
代码示例来源:origin: org.apache.axis/axis
/**
* Constructs a new Service object - this assumes the caller will set
* the appropriate fields by hand rather than getting them from the
* WSDL.
*/
public Service() {
engine = getAxisClient();
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Constructs a new Service object as above, but also passing in
* the EngineConfiguration which should be used to set up the
* AxisClient.
*/
public Service(EngineConfiguration config) {
this.config = config;
engine = getAxisClient();
}
代码示例来源:origin: org.apache.axis/axis
/**
* Constructs a new Service object for the service in the WSDL document
*
* @param parser Parser for this service
* @param serviceName Qualified name of the desired service
* @throws ServiceException If there's an error
*/
public Service(Parser parser, QName serviceName) throws ServiceException {
this.serviceName = serviceName;
engine = getAxisClient();
initService(parser, serviceName);
}
代码示例来源:origin: axis/axis
/**
* Constructs a new Service object for the service in the WSDL document
*
* @param parser Parser for this service
* @param serviceName Qualified name of the desired service
* @throws ServiceException If there's an error
*/
public Service(Parser parser, QName serviceName) throws ServiceException {
this.serviceName = serviceName;
engine = getAxisClient();
initService(parser, serviceName);
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Constructs a new Service object for the service in the WSDL document
*
* @param parser Parser for this service
* @param serviceName Qualified name of the desired service
* @throws ServiceException If there's an error
*/
public Service(Parser parser, QName serviceName) throws ServiceException {
this.serviceName = serviceName;
engine = getAxisClient();
initService(parser, serviceName);
}
代码示例来源:origin: axis/axis
/**
* Constructs a new Service object for the service in the WSDL document
* pointed to by the wsdlDoc URL and serviceName parameters.
*
* @param wsdlDoc URL of the WSDL document
* @param serviceName Qualified name of the desired service
* @throws ServiceException If there's an error finding or parsing the WSDL
*/
public Service(URL wsdlDoc, QName serviceName) throws ServiceException {
this.serviceName = serviceName;
engine = getAxisClient();
wsdlLocation = wsdlDoc.toString();
Parser parser = null;
if (cachingWSDL &&
(parser = (Parser) cachedWSDL.get(this.wsdlLocation.toString())) != null) {
initService(parser, serviceName);
} else {
initService(wsdlDoc.toString(), serviceName);
}
}
代码示例来源:origin: org.apache.axis/axis
/**
* Constructs a new Service object for the service in the WSDL document
* pointed to by the wsdlDoc URL and serviceName parameters.
*
* @param wsdlDoc URL of the WSDL document
* @param serviceName Qualified name of the desired service
* @throws ServiceException If there's an error finding or parsing the WSDL
*/
public Service(URL wsdlDoc, QName serviceName) throws ServiceException {
this.serviceName = serviceName;
engine = getAxisClient();
wsdlLocation = wsdlDoc.toString();
Parser parser = null;
if (cachingWSDL &&
(parser = (Parser) cachedWSDL.get(this.wsdlLocation.toString())) != null) {
initService(parser, serviceName);
} else {
initService(wsdlDoc.toString(), serviceName);
}
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Constructs a new Service object for the service in the WSDL document
* pointed to by the wsdlDoc URL and serviceName parameters.
*
* @param wsdlDoc URL of the WSDL document
* @param serviceName Qualified name of the desired service
* @throws ServiceException If there's an error finding or parsing the WSDL
*/
public Service(URL wsdlDoc, QName serviceName) throws ServiceException {
this.serviceName = serviceName;
engine = getAxisClient();
wsdlLocation = wsdlDoc.toString();
Parser parser = null;
if (cachingWSDL &&
(parser = (Parser) cachedWSDL.get(this.wsdlLocation.toString())) != null) {
initService(parser, serviceName);
} else {
initService(wsdlDoc.toString(), serviceName);
}
}
代码示例来源:origin: org.apache.axis/axis
/**
* Constructs a new Service object for the service in the WSDL document
* pointed to by the wsdlLocation and serviceName parameters. This is
* just like the previous constructor but instead of URL the
* wsdlLocation parameter points to a file on the filesystem relative
* to the current directory.
*
* @param wsdlLocation Location of the WSDL relative to the current dir
* @param serviceName Qualified name of the desired service
* @throws ServiceException If there's an error finding or parsing the WSDL
*/
public Service(String wsdlLocation, QName serviceName)
throws ServiceException {
this.serviceName = serviceName;
this.wsdlLocation = wsdlLocation;
engine = getAxisClient();
// Start by reading in the WSDL using Parser
Parser parser = null;
if (cachingWSDL &&
(parser = (Parser) cachedWSDL.get(wsdlLocation)) != null) {
initService(parser, serviceName);
} else {
initService(wsdlLocation, serviceName);
}
}
代码示例来源:origin: org.apache.axis/axis
/**
*
* Set the service so that it defers missing property gets to the
* Call. So when client-side Handlers get at the MessageContext,
* the property scoping will be MC -> SOAPService -> Call
*/
public void setSOAPService(SOAPService service)
{
myService = service;
if (service != null) {
// Set the service so that it defers missing property gets to the
// Call. So when client-side Handlers get at the MessageContext,
// the property scoping will be MC -> SOAPService -> Call -> Engine
// THE ORDER OF THESE TWO CALLS IS IMPORTANT, since setting the
// engine on a service will set the property parent for the service
service.setEngine(this.service.getAxisClient());
service.setPropertyParent(myProperties);
}
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
*
* Set the service so that it defers missing property gets to the
* Call. So when client-side Handlers get at the MessageContext,
* the property scoping will be MC -> SOAPService -> Call
*/
public void setSOAPService(SOAPService service)
{
myService = service;
if (service != null) {
// Set the service so that it defers missing property gets to the
// Call. So when client-side Handlers get at the MessageContext,
// the property scoping will be MC -> SOAPService -> Call -> Engine
// THE ORDER OF THESE TWO CALLS IS IMPORTANT, since setting the
// engine on a service will set the property parent for the service
service.setEngine(this.service.getAxisClient());
service.setPropertyParent(myProperties);
}
}
代码示例来源:origin: axis/axis
/**
*
* Set the service so that it defers missing property gets to the
* Call. So when client-side Handlers get at the MessageContext,
* the property scoping will be MC -> SOAPService -> Call
*/
public void setSOAPService(SOAPService service)
{
myService = service;
if (service != null) {
// Set the service so that it defers missing property gets to the
// Call. So when client-side Handlers get at the MessageContext,
// the property scoping will be MC -> SOAPService -> Call -> Engine
// THE ORDER OF THESE TWO CALLS IS IMPORTANT, since setting the
// engine on a service will set the property parent for the service
service.setEngine(this.service.getAxisClient());
service.setPropertyParent(myProperties);
}
}
代码示例来源:origin: axis/axis
/**
* Constructs a new Service object for the service in the WSDL document
* in the wsdlInputStream and serviceName parameters. This is
* just like the previous constructor but instead of reading the WSDL
* from a file (or from a URL) it is in the passed in InputStream.
*
* @param wsdlInputStream InputStream containing the WSDL
* @param serviceName Qualified name of the desired service
* @throws ServiceException If there's an error finding or parsing the WSDL
*/
public Service(InputStream wsdlInputStream, QName serviceName)
throws ServiceException {
engine = getAxisClient();
Document doc = null;
try {
doc = XMLUtils.newDocument(wsdlInputStream);
} catch (Exception exp) {
throw new ServiceException(
Messages.getMessage("wsdlError00", "" + "", "\n" + exp));
}
initService(null, doc, serviceName);
}
内容来源于网络,如有侵权,请联系作者删除!