LucidDB / adminws

Web services for connecting to and administrating LucidDB
http://www.dynamobi.com/c/products/luciddb/administration-ui/
2 stars 1 forks source link

[DWS-9] Resolve recent integration that is now including ns2: prefixes in REST services #23

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[reporter="ngoodman", created="Thu, 8 Apr 2010 20:24:31 -0700", resolved="Mon, 12 Apr 2010 00:05:25 -0700"]

Since the integration of the FlexSQLAdminServices (or some other WS) all the RESTful web services now include namespace prefixes. Please review all RESTful/SOAP web services to ensure that there aren't any namespace prefixing occuring.

dynamobi-build commented 12 years ago

[author="ngoodman", created="Thu, 8 Apr 2010 20:25:38 -0700"]

Old RESTful:

http://localhost:8080/adminws/rest/metadata/LOCALDB/AGILETESTING




New Result:




/ns2:schema

dynamobi-build commented 12 years ago

[author="ngoodman", created="Thu, 8 Apr 2010 20:26:27 -0700"]

The namespace prefix is breaking some of the UI parsing behavior.

To be clear, if a namespace prefix is required that's OK, we should probably just name it properly (dynamo instead of just ns2.

dynamobi-build commented 12 years ago

[author="rzhang", created="Fri, 9 Apr 2010 06:19:37 -0700"]

The root cause is below:
if namespace is null, flex will throw exception when calling webservice.
So I add this class package-info, which specifies the namespace.

////////////////
@XmlSchema( namespace = "http://domain.ws.dynamobi.com")
package com.dynamobi.ws.domain;
import javax.xml.bind.annotation.XmlSchema;
////////////////

I will try to change prefix from ns2 to dynamo.

dynamobi-build commented 12 years ago

[author="rzhang", created="Mon, 12 Apr 2010 00:05:25 -0700"]

Please sync up with lastest svn, and go on testing.