External Policy References are not shown in the WSDL appropriately
------------------------------------------------------------------

                 Key: AXIS2-3755
                 URL: https://issues.apache.org/jira/browse/AXIS2-3755
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.3
            Reporter: Dimuthu Leelarathne
            Assignee: Sanka Samaranayake


Below code does not yield the desired result.
When External policy references are added and serialized it is not there.

        ConfigurationContext ctx = ConfigurationContextFactory.
                            
createConfigurationContextFromFileSystem("sample01", null);
        AxisConfiguration config = ctx.getAxisConfiguration();
        AxisService service = config.getService("sample01");

        String uri = "http://localhost:8080/policy.xml";;
        PolicyReference ref = new PolicyReference();
        ref.setURI(uri);
        service.getPolicySubject().attachPolicyReference(ref);
        AxisService2WSDL11 atow = new AxisService2WSDL11(service);
        System.out.println(atow.generateOM());


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to