How to acheive servicegen behavior in jwsc task?

◇◆丶佛笑我妖孽 提交于 2020-07-31 04:45:36

问题


Migrating a java soap web service from 11g to 12c which has few operations.

Used jwsc task to generate WSDL which generates all the input elements starting with uppercase and "ArrayOf" elements not coming along with wsdl.

This behavior was good in 11g where wsdl generation happens through servicegen task, In 12c servicegen not available.

Any suggestion to overcome this issue?


回答1:


servicegen is from WLS 8.1 (this version had a proprietary webservices jax-rpc runtime). That runtime was removed in 12c.

You are migrating JAX-RPC to JAX-WS, however you have an important constraint:

> - SOAP Arrays are not supported by JAX-WS; they are available in JAX-RPC

Further details: https://docs.oracle.com/cd/E24329_01/web.1211/e24497/upgrade_ws.htm#WLUPG334



来源:https://stackoverflow.com/questions/62846539/how-to-acheive-servicegen-behavior-in-jwsc-task

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!