Given a WSDL file, create a simple Java client

前端 未结 6 508
孤独总比滥情好
孤独总比滥情好 2020-12-28 10:10

Can anyone please provide me with a sample code for this? I have a wsdl file, and I want to create a client that will call a service from that wsdl file
A working code

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-28 10:56

    One of the many possible tools is WSDL2Java. In a shell:

    $ java org.apache.axis.wsdl.WSDL2Java foo.wsdl
    

提交回复
热议问题