Hi

1) Those should be as wsa:Action attributes on your operations in your 
portType.

2) It would be http://ws.apache.org/muse/test/simple since they are now 
part of the same capability. Everything (ie operations, properties) with 
the same namespace is part of the same capability. 

3) Yes, because each capability must have its own Capability URI and we've 
taken the convention that Capability URI == Namespace URI.

4) Yes you can. Make each method have a different wsa:Action attribute and 
namespace in your WSDL. Then you can do one of the following: Generate off 
that wsdl which will create 5 different template server java classes and a 
muse.xml. Delete the java classes, drop in your own class and change the 
muse.xml for each of the capabilities to refer to the same class. The 
URI's have to be different, the classes don't.

Thanks,
Andrew

Andrew Eberbach
Autonomic Computing
(919) 254-2645
T/L: 444-2645
[EMAIL PROTECTED]



"Vinh Nguyen \(vinguye2\)" <[EMAIL PROTECTED]> 
01/09/2007 09:14 PM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
actionMapping and capability-uri






I'm building a project from scratch and am getting confused again with
the muse.xml and services.xml files.
 
1) In services.xml, each resource contains a list of <actionMapping>
values.  How do I determine/create one of these values just by looking
at the resource wsdl?
 
2) In muse.xml, each resource capability is associated with a
<capability-uri> value.  If my resource wsdl defines all operations and
messages to have the same namespace, how do I identify the corresponding
Java methods/capabilities in muse.xml?

For example, suppose that in the "simple" example, FirstOperation and
SecondOperation have the same namespace uri
"http://ws.apache.org/muse/test/simple"; instead of
"http://ws.apache.org/muse/test/simple/first"; and
http://ws.apache.org/muse/test/simple/second";, respectively.  What would
be the <capability-uri> value for each operation?

3) Does Muse require that each capability have a unique namespace?

4) Can I have a single capability class with 5 methods, and expose each
method as separate capabilities in muse.xml?  If so, how?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to