axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimuthu Leelarathne (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3755) External Policy References are not shown in the WSDL appropriately
Date Mon, 21 Apr 2008 02:38:21 GMT
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message