Problem generating Java SOAP web services client with JDK tool wsimport from a WSDL generated by a .NET 2.0 application

前端 未结 4 2056
夕颜
夕颜 2021-01-30 08:49

I\'m trying to generate a client for some SOAP web services using the JDK 6 tool wsimport. The WSDL was generated by a .NET 2.0 application. For .NET 3.X applicatio

4条回答
  •  不知归路
    2021-01-30 09:28

    I don't know if this was ever solved, but I spent some time googling for a solution to this same problem.

    I found a fix here - https://jax-ws.dev.java.net/issues/show_bug.cgi?id=228

    The solution is to run wsimport with the -B-XautoNameResolution (no spaces)

提交回复
热议问题