/**
* MobileCodeWSStub.java
* <p>
* This file was auto-generated from WSDL
* by the Apache Axis2 version: 1.7.3 Built on : May 30, 2016 (04:08:57 BST)
*/
package mobile;
import javax.xml.namespace.QName;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
/*
* MobileCodeWSStub java implementation
*/
public class MobileCodeWSStub extends org.apache.axis2.client.Stub {
private static int counter = 0;
protected org.apache.axis2.description.AxisOperation[] _operations;
//hashmaps to keep the fault mapping
private java.util.HashMap faultExceptionNameMap = new java.util.HashMap();
private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap();
private java.util.HashMap faultMessageMap = new java.util.HashMap();
private javax.xml.namespace.QName[] opNameArray = null;
/**
*Constructor that takes in a configContext
*/
public MobileCodeWSStub(
org.apache.axis2.context.ConfigurationContext configurationContext,
java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault {
this(configurationContext, targetEndpoint, false);
}
/**
* Constructor that takes in a configContext and useseperate listner
*/
public MobileCodeWSStub(
org.apache.axis2.context.ConfigurationContext configurationContext,
java.lang.String targetEndpoint, boolean useSeparateListener)
throws org.apache.axis2.AxisFault {
//To populate AxisService
populateAxisService();
populateFaults();
_serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,
_service);
_serviceClient.getOptions()
.setTo(new org.apache.axis2.addressing.EndpointReference(
targetEndpoint));
_serviceClient.getOptions().setUseSeparateListener(useSeparateListener);
//Set the soap version
_serviceClient.getOptions()
.setSoapVersionURI(org.apache.axiom.soap.SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
}
/**
* Default Constructor
*/
public MobileCodeWSStub(
org.apache.axis2.context.ConfigurationContext configurationContext)
throws org.apache.axis2.AxisFault {
this(configurationContext,
"http://www.webxml.com.cn/WebServices/MobileCodeWS.asmx");
}
/**
* Default Constructor
*/
public MobileCodeWSStub() throws org.apache.axis2.AxisFault {
this("http://www.webxml.com.cn/WebServices/MobileCodeWS.asmx");
}
/**
* Constructor taking the target endpoint
*/
public MobileCodeWSStub(java.lang.String targetEndpoint)
throws org.apache.axis2.AxisFault {
this(null, targetEndpoint);
}
private static synchronized java.lang.String getUniqueSuffix() {
// reset the counter if it is greater than 99999
if (counter > 99999) {
counter = 0;
}
counter = counter + 1;
return java.lang.Long.toString(java.lang.System.currentTimeMillis()) +
"_" + counter;
}
private void populateAxisService() throws org.apache.axis2.AxisFault {
//creating the Service with a unique name
_service = new org.apache.axis2.description.AxisService("MobileCodeWS" +
getUniqueSuffix());
addAnonymousOperations();
//creating the operations
org.apache.axis2.description.AxisOperation __operation;
_operations = new org.apache.axis2.description.AxisOperation[2];
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"http://WebXml.com.cn/", "getDatabaseInfo"));
_service.addOperation(__operation);
_operations[0] = __operation;
__operation = new org.apache.axis2.description.OutInAxisOperation();
__operation.setName(new javax.xml.namespace.QName(
"http://WebXml.com.cn/", "getMobileCodeInfo"));
_service.addOperation(__operation);
_operations[1] = __operation;
}
//populates the faults
private void populateFaults() {
}
/**
* Auto generated method signature
* <br /><h3>获得国内手机号码归属地数据库信息</h3><p>输入参数:无;返回数据:�?��字符串数组(省份 城市 记录数量)�?</p><br />
* @see mobile.MobileCodeWS#getDatabaseInfo
* @param getDatabaseInfo0
*/
public mobile.MobileCodeWSStub.GetDatabaseInfoResponse getDatabaseInfo(
mobile.MobileCodeWSStub.GetDatabaseInfo getDatabaseInfo0)
throws java.rmi.RemoteException {
org.apache.axis2.context.MessageContext _messageContext = null;
try {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName());
_operationClient.getOptions()
.setAction("http://WebXml.com.cn/getDatabaseInfo");
_operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
addPropertyToOperationClient(_operationClient,
org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR,
"&");
// create a message context
_messageContext = new org.apache.axis2.context.MessageContext();
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env = toEnvelope(getFactory(_operationClient.getOptions()
.getSoapVersionURI()),
getDatabaseInfo0,
optimizeContent(
new javax.xml.namespace.QName("http://WebXml.com.cn/",
"getDatabaseInfo")),
new javax.xml.namespace.QName("http://WebXml.com.cn/",
"getDatabaseInfo"));
//adding SOAP soap_headers
_serviceClient.addHeadersToEnvelope(env);
// set the message context with that soap envelope
_messageContext.setEnvelope(env);
// add the message contxt to the operation client
_operationClient.addMessageContext(_messageContext);
//execute the operation client
_operationClient.execute(true);
org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
java.lang.Object object = fromOM(_returnEnv.getBody()
.getFirstElement(),
mobile.MobileCodeWSStub.GetDatabaseInfoResponse.class);
return (mobile.MobileCodeWSStub.GetDatabaseInfoResponse) object;
} catch (org.apache.axis2.AxisFault f) {
org.apache.axiom.om.OMElement faultElt = f.getDetail();
if (faultElt != null) {
if (faultExceptionNameMap.containsKey(
new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "getDatabaseInfo"))) {
//make the fault by reflection
try {
java.lang.String exceptionClassName = (java.lang.String) faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(
faultElt.getQName(), "getDatabaseInfo"));
java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(new Class[]{java.lang.String.class});
java.lang.Excep
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
该案例整合了java流行框架springboot和报表制作工具帆软,帆软版本10.0,内附整合文档,有问题可以咨询QQ:361440206 整合项目介绍:https://blog.csdn.net/qq_39408914/article/details/100765504
资源推荐
资源详情
资源评论
收起资源包目录
springboot整合帆软报表案例 (2998个子文件)
__ImageCache__1AB224A25DA0DF23B371448A02B4D543 47KB
__ImageCache__1E19A653B67A4CD89321072444B49302 9KB
__ImageCache__217273BBF6E9CD2AF75B23F13127A150 2KB
__ImageCache__31A86CE7BCD4F709213B5544C36A7D81 235B
__ImageCache__3FBD11722912553A8978BC29486762B1 6KB
__ImageCache__4023B878C486547B3E86E1D2B71879BB 1KB
__ImageCache__465B4CED03DA621734E1DAEC8E07E90C 1KB
__ImageCache__4B741E0BAC272C5DA1BFF6406B95BA4A 1KB
__ImageCache__52F3CAD9AEF70C1A2CA55C6351E80679 875B
__ImageCache__674A4731265BE4DE717814640200DC65 331B
__ImageCache__6DEAA193F6B17F4BA667A2949614C9B0 9KB
__ImageCache__73CD7DDA9128A04EC26EF3F9307B0771 1KB
__ImageCache__7573C23C461FE7E07A0FF45C29B1F7F0 5KB
__ImageCache__79793E5F67426B2258C6A02102DE618 10KB
__ImageCache__858967DE3137F69286193FA97A77D6D4 376B
__ImageCache__8E7DC1FFD0CB0925595401912442DDF7 754B
__ImageCache__94A9A4DF83A225F3F962238E52BC6D0A 334B
__ImageCache__951A1D2305D2AC3BB5B0EFF68C75FECE 289B
__ImageCache__973705091506B0542C7B64947EE54500 2KB
__ImageCache__99A2513881B15B84AA3924E0B9D6B21F 319B
__ImageCache__9B769E6F9922EB26ACC0AEC4C541DC3F 2KB
__ImageCache__A1E168468F8EE6524599D6512E4664BC 3KB
__ImageCache__A617AFC549292739C9E8A929EC706EED 324B
__ImageCache__A6A576B5B49AB3BC8EF92CC8A7467E01 426B
__ImageCache__A785DE883867E5DEBA50339FFF9B8398 5KB
__ImageCache__ACFE26B918065A49F600AC2985C2ABB9 9KB
__ImageCache__B49FC4E772F8B2ED5A414BA1F60E554D 135B
__ImageCache__B8D53239D99DE9B45D9559B5E11E8E 2KB
__ImageCache__C0A49951C662878DF30AA2F2D5F85111 2KB
__ImageCache__E6E68E581E32B833C74CC4688722D1AA 672KB
__ImageCache__E7C8EBD490BE608AB5760A7B2F6ADB3 237B
__ImageCache__EC3816CD42C4BB37A451D3D029AF07CE 2KB
btracer.bat 3KB
btracec.bat 776B
btrace.bat 755B
start.bat 57B
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
btrace 2KB
btracec 1KB
btracer 3KB
ChangeLog 17KB
ChangeLog 17KB
ChangeLog 17KB
ChangeLog 17KB
myexporter.class 20KB
MobileCodeWSStub.class 17KB
SolarToLunar.class 10KB
HttpUtil.class 9KB
MobileCodeWSStub$GetMobileCodeInfo.class 7KB
MobileCodeWSStub$ArrayOfString.class 7KB
MobileCodeWSStub$GetDatabaseInfoResponse.class 7KB
myfilter.class 7KB
MobileCodeWSStub$GetMobileCodeInfoResponse.class 7KB
MobileCodeWSStub$ArrayOfStringE.class 7KB
MobileCodeWSStub$String.class 7KB
MobileCodeWSStub$GetDatabaseInfo.class 6KB
RSAUtil.class 6KB
MobileCodeWSStub$2.class 6KB
MobileCodeWSStub$1.class 6KB
JFreeToChart.class 5KB
MobileWsdlTableDataDemo.class 5KB
ExportApi.class 5KB
FrFilter.class 5KB
XMLDemoTableData.class 5KB
ExportExcel.class 5KB
SSLConnectionClient.class 5KB
CreateGenericTemplate.class 5KB
MobileWsdlTableDataDemoPara.class 5KB
ReportCheck.class 4KB
IRR.class 4KB
MobileWsdlTableDataDemo1.class 4KB
MobileTableWsdlDataDemo.class 4KB
ParamTableDataDemo.class 4KB
MobileCodeWSStub$ArrayOfString$Factory.class 4KB
ExportBatch.class 4KB
ParamSAPDataTest.class 4KB
MobileCodeWSStub$GetMobileCodeInfo$Factory.class 4KB
Commit3.class 4KB
MobileCodeWSStub$GetMobileCodeInfoResponse$Factory.class 4KB
MobileCodeWSStub$GetDatabaseInfoResponse$Factory.class 4KB
ExportReports.class 4KB
XMLParseDemoDataModel$DemoHandler.class 4KB
Widget2Image$WidgetPaint.class 4KB
XMLRead.class 3KB
Commit3.class 3KB
gauthority.class 3KB
FrLoginFilter.class 3KB
XMLParseDemoDataModel.class 3KB
SaveReportToDatabase.class 3KB
OutputExcel.class 3KB
ParamSAPDataTest.class 3KB
BinaryImage.class 3KB
SimpleDemo.class 3KB
FTPUpload.class 3KB
SetParameterWindow.class 3KB
WebServiceWsdlTableDataDemo2.class 3KB
MobileCodeWSStub$ArrayOfStringE$Factory.class 3KB
共 2998 条
- 1
- 2
- 3
- 4
- 5
- 6
- 30
木头亻
- 粉丝: 10
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页