Search code examples
javasoapwsdlapache-axisxmlbeans

Axis2 maven plugin with xmlbean binding producing unknown symbol innerType and addNew()


I am trying to build stub from wsdl using axis2 maven plugin.It is generating a stub file with unknown literals innerType and addNew().

I am using below versions axis2 : 1.5.1 xmlbeans : 2.3.0

stub file extends org.apache.xmlbeans.XmlObject. I tried to search these literals in my wsdl as well as in xmlbeans library . But i didnt get it.

Any hints where things are going wrong?


Solution

  • For people facing same problem, I changed unwrap flag to false and it started working