So I can either save the WSDL or point my service to the copy which is not
protected with security.

I presume the wsdlLocation parameter that is passed in is either the file or
a location without security/http? And then further down:
url = new URL("https://sales.test.com.au/RSIService.svc?singleWsdl";);
Is the one with https?


@WebServiceClient(name = "ISRService", targetNamespace =
"urn:sales.test.com.au/schema/common", wsdlLocation =
"http://sales.test.com.nosecurity.au/RSIService.svc?singleWsdl";)
public class ISRService
    extends Service
{

    private final static URL ISRSERVICE_WSDL_LOCATION;
    private final static WebServiceException ISRSERVICE_EXCEPTION;
    private final static QName ISRSERVICE_QNAME = new
QName("urn:sales.test.com.au/schema/common", "RSIService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new
URL("https://sales.test.com.au/RSIService.svc?singleWsdl";);
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        ISRSERVICE_WSDL_LOCATION = url;
        ISRSERVICE_EXCEPTION = e;
    }

Cheers

AG




--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to