When a sequence saved in the integrated registry with namespaces is viewed a 
blank Namespace Editor window is displayed
-----------------------------------------------------------------------------------------------------------------------

                 Key: ESBJAVA-482
                 URL: https://wso2.org/jira/browse/ESBJAVA-482
             Project: WSO2 ESB
          Issue Type: Bug
          Components: Sequences Management
    Affects Versions: NIGHTLY
         Environment: Ubuntu7.04, JDK1.5.0_14
            Reporter: Evanthika Amarasiri
            Assignee: Ruwan Linton
            Priority: Minor


1. Create a sequence in the Integrated Registry (for example use the following 
configuration)
***********************************************************************************************************
    <sequence name="main" onError="myFaultHandler">
        <in>
            <log level="custom">
                <property name="text"
                          value="** Looking up from the Database **"/>
            </log>
            <dblookup xmlns="http://ws.apache.org/ns/synapse";>
                <connection>
                    <pool>
                        <driver>org.apache.derby.jdbc.ClientDriver</driver>
                        
<url>jdbc:derby://localhost:1527/esbdb;create=false</url>
                        <user>esb</user>
                        <password>esb</password>
                    </pool>
                </connection>
                <statement>
                    <sql>select * from company where name =?</sql>
                    <parameter expression="//m0:getQuote/m0:request/m0:symbol"
                               xmlns:m0="http://services.samples/xsd"; 
type="VARCHAR"/>
                    <result name="company_id" column="id"/>
                </statement>
            </dblookup>
          </in>
</sequence>
***********************************************************************************************************

2. Edit the created sequence and edit the mediator which contains the namespace 
declaration. (dblookup mediator)
3. View the namespace editor window and you will see that the namespaces are 
lost which were there when you saved the sequence

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to