The right solution is to use a different Axis2 configuration for each user- there's absolutely no problem doing that.

Let me know if you guys need help to figure out the details of that- what we need to do is use the user name as a key to pick the configuration.

Sanjiva.

Jonathan Marsh wrote:
We can use "-" as a splitter if we preclude it from mashup names - can't
remember whether we do or not at present.

Having a separate instance of Axis2 per user sounds good.  Having an option
to turn off the "services" segment is good too.

Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Glen Daniels
Sent: Saturday, December 08, 2007 6:17 AM
To: [email protected]
Subject: Re: [mashup-dev] Some thoughts on the scripts folder, paths,
and urls

Jonathan Marsh wrote:
to differentiate between two services with the same service name
(channa/sudoku and jonathan/sudoku).
You mean we'd need to do some front-end rewriting of the url:
  /jonathan/Sudoku
to something like
  /services/jonathan;Sudoku
?
I'd steer away from semicolon since that's our reserved(?)
metadata-splitter character.  But we could either do "jonathan-Sudoku"
or just "Sudoku2" for the second one.  IIUC, it doesn't matter as much
exactly what the /services/* URL is, at least compared to the UI URL.

Or we'd have to actually work at building a service hierarchy into
axis2?

I don't think that's likely to fly at this point, although some more
flexibility into the way A2 maps URLs to services is probably a good
idea.

It's too bad Axis2 is limiting us here, but I just can't see scaling
a
mashup community site to a large number of users with a single name
space
for the mashups.
We could always give each user their own instance of A2...
"jonathan/services/Sudoku".  Or we could make it *look* this way by
building servlet mappings for "user/services/*" which automatically map
to Axis services "{user}-{servicename}", either with a redirect (slow)
or just another instance of AxisServlet which knows about the
translation....

--Glen

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev


_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev


--
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: [EMAIL PROTECTED]; cell: +1 650 265 8311 | +94 77 787 6880

"Oxygenating the Web Service Platform."

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to