[英]Axis2 and Web-Service
I have a web-service, I used Axis2-1.5.0
to access it, but I have two questions: 我有一个Web服务,我使用
Axis2-1.5.0
来访问它,但是我有两个问题:
[ServiceName]ServiceStub
has all source, which ended up with > 9 Mb, is there any parameter I can pass so these classes got separated? [ServiceName]ServiceStub
具有所有源,最终以> 9 Mb结尾,是否可以传递任何参数以使这些类分离? You can find all the options at 您可以在以下位置找到所有选项
http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html
Of interest to you may be 您可能感兴趣的是
-u
--unpack-classes
Unpack classes. This option specifies whether to unpack the classes and generate separate classes for the databinders.
However, last time I used it (on a salesforce.com wsdl), I still got a giant 10 MB stub, because the WSDL was monolithic. 但是,上次使用它时(在salesforce.com wsdl上),我仍然得到了一个10 MB的巨大存根,因为WSDL是单片的。 So yes, this will try to unpack classes, but if it is written as a single class with 10000 methods on the server side, it will still be big.
因此,是的,这将尝试解压缩类,但是如果在服务器端将其编写为具有10000个方法的单个类,则它仍然很大。
As to static, I think it depends on the type of generator you use. 至于静态,我认为这取决于您使用的发电机类型。 It doesn't have to be.
不一定是。
-d
--databinding-method
Specifies the Databinding framework. valid values are xmlbeans, adb, jibx, and none. Default is adb.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.