简体   繁体   English

从大WSDL文件生成Java客户端

[英]Generate Java Client from Big WSDL File

I have a wsdl file, and I want to create a client that will call a service from that wsdl file. 我有一个wsdl文件,并且我想创建一个将从该wsdl文件中调用服务的客户端。

The main issue that the wsdl file has more than 300 method , so using tools to generate client code is not an option , i already tried to use eclipse tools , but the stub class was very big (more than allowed 65536 ). wsdl文件具有300多种方法,这是一个主要问题,因此无法使用工具生成客户端代码,我已经尝试使用eclipse工具,但存根类很大(超过允许的65536)。

Any suggestion ? 有什么建议吗?

Thanks 谢谢

Having a service exposing 300 methods is the problem. 有一个服务公开300种方法是问题。 Split your methods across services and you'll be able to use standard tools to generate the client stubs. 在服务之间拆分方法,您将可以使用标准工具来生成客户端存根。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM