My environment:
- JBuilder
- Weblogic Platform 8.1
- Windows XP SP2
I've got the following error when I try to build document-oriented web services
[clientgen] Generating client jar for WLWSSEApp.ear(SimpleService) ...
[clientgen] weblogic.webservice.server.ConfigException: Could not add parameter
to operation. You must specify either its Java or XML type.
[clientgen] at weblogic.webservice.server.WebServiceFactory.addPart(WebServi
ceFactory.java:1258)
[clientgen] at weblogic.webservice.server.WebServiceFactory.addParamsToMetho
d(WebServiceFactory.java:1211)
[clientgen] at weblogic.webservice.server.WebServiceFactory.registerOperatio
n(WebServiceFactory.java:798)
[clientgen] at weblogic.webservice.server.WebServiceFactory.initOperations(W
ebServiceFactory.java:633)
[clientgen] at weblogic.webservice.server.WebServiceFactory.createFromMBean(
WebServiceFactory.java:220)
[clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebSe
rviceRuntime(WSDLGenImpl.java:240)
[clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDL
GenImpl.java:135)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
ntGenFromEAR(ClientGenImpl.java:438)
[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
ientGenImpl.java:345)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doC
lientGen(ClientGenTask.java:351)
[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.exe
cute(ClientGenTask.java:208)
[clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
[clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
[clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
)
[clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
[clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
BUILD FAILED
file:C:/bea/user_projects/domains/examples/build_ws/build.xml:54: weblogic.webservice.tools.build.WSBuildException: Could not add parameter to operation. You mu
st specify either its Java or XML type. - with nested exception:
[weblogic.webservice.server.ConfigException: Could not add parameter to operatio
n. You must specify either its Java or XML type.]
解决办法 :
将Jbuilder Webservice 生成方式 Service style 由 document 改为 rpc
阅读(773) | 评论(0) | 转发(0) |