You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Suresh Marru <sm...@cs.indiana.edu> on 2011/07/14 03:08:42 UTC

Namespaces and Integration Status

Hi Alek,

I do not think, this patch will break the clients because they are are already broken :(

I changed the subject since this is relevant to all the components not just this patch.  I totally agree with you on the need to unify the namespaces. I would also suggest we add them as constants at the component level like [1] or even at the project level in an util jar. 

Just to update the status on integration, we are few weeks away from tying all the loose ends and making the first release. Part of the broken integration is because WS-Messenger and GFac were ported to Axis 2 from XSUL but not well integrated with each other. The first goal as we stated in the incubator proposal is to clean up the code and improve the builds and documentation. Me and few others at IU are traveling next week,  I will jump back on development from 25th. Meanwhile, good to see Lahiru is testing the WS-Messnger build and tests so much, this should greatly help. 

Cheers,
Suresh

[1]  - http://svn.apache.org/viewvc/incubator/airavata/trunk/xbaya-gui/src/main/java/org/apache/airavata/xbaya/XBayaConstants.java?revision=1144719&view=markup

On Jul 13, 2011, at 5:15 PM, Aleksander Slominski (JIRA) wrote:

> 
>    [ https://issues.apache.org/jira/browse/AIRAVATA-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064855#comment-13064855 ] 
> 
> Aleksander Slominski commented on AIRAVATA-24:
> ----------------------------------------------
> 
> I just looked on the patch and have some concerns.
> 
> I think we should be using proper domain name for namespaces and use that constant in all Java *.java 
> 
> Also by changing it we are breaking compatibility with all old clients (such as XBaya UI deployed in portal) that are/were using msgbox and have old namespace URI
> 
> Index: messagebroker/src/main/java/org/apache/airavata/wsmg/commons/WsmgCommonConstants.java
> ===================================================================
> --- messagebroker/src/main/java/org/apache/airavata/wsmg/commons/WsmgCommonConstants.java	(revision 1145351)
> +++ messagebroker/src/main/java/org/apache/airavata/wsmg/commons/WsmgCommonConstants.java	(working copy)
> @@ -63,7 +63,7 @@
> 
>     public final static String WSN_ActionPrefix = WSN1_2_ActionPrefix;
> 
> -    public final static String WSMG_PUBLISH_SOAP_ACTION = "http://www.extreme.indiana.edu/WseNotification";
> +    public final static String WSMG_PUBLISH_SOAP_ACTION = "http://org.apache.airavata/WseNotification";
>     /**
>      * Constants to switch between different web service Stacks and Transports
>      * 
> Index: messagebroker/src/main/java/org/apache/airavata/wsmg/commons/XMLConstants.java
> ===================================================================
> --- messagebroker/src/main/java/org/apache/airavata/wsmg/commons/XMLConstants.java	(revision 1145351)
> +++ messagebroker/src/main/java/org/apache/airavata/wsmg/commons/XMLConstants.java	(working copy)
> @@ -23,7 +23,7 @@
> 
> public interface XMLConstants {
> 
> -    public static final String WSNT_PUBLISH_ACTION = "http://www.extreme.indiana.edu/WseNotification";
> +    public static final String WSNT_PUBLISH_ACTION = "http://org.apache.airavata/WseNotification";
> 
>     public static final String XMLNS_WIDGET = "widget";
> 
> 
>> Error while running MsgBoxSample
>> --------------------------------
>> 
>>                Key: AIRAVATA-24
>>                URL: https://issues.apache.org/jira/browse/AIRAVATA-24
>>            Project: Airavata
>>         Issue Type: Bug
>>        Environment: mac
>>           Reporter: Lahiru Gunathilake
>>           Assignee: Thilina Gunarathne
>>        Attachments: diff.out
>> 
>> 
>> I am getting following error while running MsgBox sample.
>> compile:
>>    [javac] /Users/lahirugunathilake/work/airavata/trunk/ws-messaging/distribution/target/airavta-ws-messenger-0.0.1-SNAPSHOT/client-api/samples/msgBoxSample/build.xml:65: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>>    [javac] Compiling 2 source files to /Users/lahirugunathilake/work/airavata/trunk/ws-messaging/distribution/target/airavta-ws-messenger-0.0.1-SNAPSHOT/client-api/samples/msgBoxSample/bin
>> run:
>>     [java] Exception in thread "main" org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is 127.0.0.1/axis2/services/MsgBoxService/clientid/6598dfc9-2f50-4fc2-9217-e8446b1faeac and the WSA Action = http://www.extreme.indiana.edu/xgws/msgbox/2004/storeMessages. If this EPR was previously reachable, please contact the server administrator.
>>     [java] 	at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>>     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>>     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>>     [java] 	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>>     [java] 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>>     [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
>>     [java] 	at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
>>     [java] 	at org.apache.airavata.wsmg.msgbox.client.StoreMessage.execute(StoreMessage.java:70)
>>     [java] 	at org.apache.airavata.wsmg.msgbox.client.MsgBoxClient.storeMessage(MsgBoxClient.java:46)
>>     [java] 	at wsmg.samples.msgBox.SimpleMsgBoxExec.main(SimpleMsgBoxExec.java:70)
>>     [java] Java Result: 1
>> BUILD SUCCESSFUL
>> Regards
>> Lahiru
> 
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
> 
>