问题描述
将Java soap Web服务从11g迁移到12c,该操作很少.
Migrating a java soap web service from 11g to 12c which has few operations.
使用jwsc任务生成WSDL,该WSDL生成所有以大写字母和"ArrayOf"开头的输入元素.元素不随wsdl一起出现.
Used jwsc task to generate WSDL which generates all the input elements starting with uppercase and "ArrayOf" elements not coming along with wsdl.
在11g中,这种行为是好的,其中通过servicegen任务生成了wsdl,而在12c中,servicegen不可用.
This behavior was good in 11g where wsdl generation happens through servicegen task, In 12c servicegen not available.
有什么建议可以解决这个问题?
Any suggestion to overcome this issue?
推荐答案
servicegen来自WLS 8.1(此版本具有专有的webservices jax-rpc运行时).该运行时已在12c中删除.
servicegen is from WLS 8.1 (this version had a proprietary webservices jax-rpc runtime). That runtime was removed in 12c.
您正在将JAX-RPC迁移到JAX-WS,但是您有一个重要的约束条件:
You are migrating JAX-RPC to JAX-WS, however you have an important constraint:
> -JAX-WS不支持SOAP数组;它们在JAX-RPC
更多详细信息: https://docs. oracle.com/cd/E24329_01/web.1211/e24497/upgrade_ws.htm#WLUPG334
这篇关于如何在jwsc任务中实现servicegen行为?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!