weblogic.webservice.server.ConfigException

Could not add parameter to operation. You must specify either its Java or XML type. [clientgen]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • Could not add parameter to operation. You must specify either its Java or XML type. [clientgen]
  • Could not add parameter to operation. You must specify either its Java or XML type.
  • via Oracle Community by 3004, 2 weeks ago
    failed to add type mapping to registry: - with nested exception: [java.lang.InstantiationException: com.egain.adapter.StartMonitoringResponse_LiteralSerializer]
  • Stack trace

    • 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(WebServiceFactory.java:1258)[clientgen] at weblogic.webservice.server.WebServiceFactory.addParamsToMethod(WebServiceFactory.java:1211)[clientgen] at weblogic.webservice.server.WebServiceFactory.registerOperation(WebServiceFactory.java:798)[clientgen] at weblogic.webservice.server.WebServiceFactory.initOperations(WebServiceFactory.java:633)[clientgen] at weblogic.webservice.server.WebServiceFactory.createFromMBean(WebServiceFactory.java:220)[clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebServiceRuntime(WSDLGenImpl.java:240)[clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDLGenImpl.java:135)[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:438)[clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:345)[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:351)[clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.