Hi,

in the line
factory.setAddress(wsdlAddress); 
wsdl from soapui is correct one (since you've confirmed it's working).


Different results mean differences in requests, so what you could do next is
to configure logging on client side and compare messages you are sending
from soapUI and your java client.

For setting up logging, try following code:
//optional - if you are using log4j
System.setProperty("org.apache.cxf.Logger",
"org.apache.cxf.common.logging.Log4jLogger");

factory.getFeatures().add(new org.apache.cxf.feature.LoggingFeature());
call it before GETPERSONALINFO client =
factory.create(GETPERSONALINFO.class); 




--
View this message in context: 
http://cxf.547215.n5.nabble.com/SAP-Webservice-None-of-the-policy-alternatives-can-be-satisfied-tp5772704p5772926.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to