Topic by Phil Franklin
Content
I'm trying to run the Connect Getting Started example. I've downloaded Axis-2 and wss4j libraries and all files compile except one line in the SampleClient.java . It is in the createSecurityHeader method and the line of code which won't compile is:
OMFactory factory = new SOAP11Factory();
The error I get is
"constructor SOAP11Factory in class SOAP11Factory cannot be applied to given types;
required: OMMetaFactory,NodeFactory
found: no arguments
reason: actual and formal argument lists differ in length"
I've checked the SOAP11FactoryImpl() class and it only has a single constructor accepting the arguments above. How do I fix this?