Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Getting the Java Axis2 SOAP Getting Started example to compile (1 Comment)

$
0
0

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?

Version

16.5

Viewing all articles
Browse latest Browse all 2504

Trending Articles