The problem in the axis webservice configuration if you get "Error: missing type or ref attribute for node 'unknown'" when you generate the client classes
Lets say this is our bean and service
class Foo{String name;
ClassInsideFoo classInsideFoo;
} class MyService{
public Foo getFoo(){
return new Foo();
}
} then the configuration should be
<service name="myServiceName" provider="java:RPC">
<parameter name="className" value="MyService"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="Application"/>
<namespace>http://example</namespace>
<beanMapping languageSpecificType="java:com.domain.Foo" qname="ns:Foo" xmlns:ns="http://example"/>
<beanMapping languageSpecificType="java:com.domain.ClassInsideFoo" qname="ns:ClassInsideFoo" xmlns:ns="http://example"/> (this line generates the error, "Error: missing type or ref attribute for node 'unknown'", should not be added)
</service>