简体   繁体   中英

Generate webservice soap client from wsdl when server using Windows Integrated Authentication

There is an SAP server that has some webservices I need to use, so I am trying to use wsimport to generate the client stubs.

I don't want to find all the wsdls and schemas that are referenced and modify them to do it locally, as that isn't sustainable, if they service should change.

So, how can I use wsimport to fetch a wsdl and generate the client stubs when the server is using Windows Integrated Authentication, where even the wsdl requires credentials.

The best solution I have found is to just copy the wsdl, and add in the changes to get it to work with wsimport, and save it on the jboss server, since it is unlikely someone will figure out the name of the directory, and only port 8009 is open to the world, even the jboss port is closed.

It isn't the best solution, but it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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