简体   繁体   English

wsdl2java不会生成所有存根java

[英]wsdl2java does not generate all stubs java

I was trying to generate java codes via wsdl2java, and have been trying out all the possible arguments but still unable to get the java (ITransactionProcessor) for below : 我试图通过wsdl2java生成Java代码,并且一直在尝试所有可能的参数,但是仍然无法获得以下Java(ITransactionProcessor):

https://ics2wstesta.ic3.com/commerce/1.x/transactionProcessor/ https://ics2wstesta.ic3.com/commerce/1.x/transactionProcessor/

在此处输入图片说明

Any idea ? 任何想法 ?

There is some rather old but probably still useful documentation that goes into great detail on the steps to build a CyberSource Java SOAP client using wsdl2java. 有一些相当古老但可能仍然有用的文档,其中详细介绍了使用wsdl2java构建Cyber​​Source Java SOAP客户端的步骤。

See Chapter 9 of this document . 请参阅本文档的第9章。

Here is wsdl2java command from that document: 这是该文档中的wsdl2java命令:
java org.apache.axis.wsdl.WSDL2Java -p com.cybersource.stub https://ics2wstesta.ic3.com/commerce/1.x/transactionProcessor/CyberSourceTransaction_1.151.wsdl java org.apache.axis.wsdl.WSDL2Java -p com.cybersource.stub https://ics2wstesta.ic3.com/commerce/1.x/transactionProcessor/Cyber​​SourceTransaction_1.151.wsdl

Where com.cybersource.stub is the package name that will be used for the generated classes. 其中com.cybersource.stub是将用于生成的类的程序包名称。

If you can provide some more details about how you are building the java code and what the results look like I will probably be able to give you a better answer. 如果您可以提供有关如何构建Java代码以及结果如何的更多详细信息,我可能会为您提供更好的答案。

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

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