Hi,

My understanding is that this operation provides look-up capability in an installed contribution. For example, if you want to find a WSDL portType based on the QName in contribution A, the call will be:

QName wsdlPortType = new QName("http://schemas.xmlsoap.org/wsdl/";, "PortType"); // The symbol space which differentiates XML artifacts, such as WSDL PortType, WSDL Binding or BPEL process
QName portTypeName = new QName("http://ns1/";, "StockQuote");
javax.wsdl.PortType portType = domain.getDefinitionByQName("http://contributions/A";, wsdlPortType, portTypeName);

Thanks,
Raymond

----- Original Message ----- From: "Simon Laws" <[EMAIL PROTECTED]>
To: "tuscany-dev" <[email protected]>
Sent: Tuesday, November 27, 2007 9:06 AM
Subject: getQNameDefinition?


I'm looking at the getQNameDefinition method which is described in the
assembly spec but I don't have a specific scenario describing how it works
or what it's for. It would seem to be saying that parts of the domain model
should be available based on QName but I don't understand why it uses a
Contribution URI as a context, what the "supplied symbol space" is for and
what the return type is expected to be. I believe we are able to write out
the model to XML for any composite so if we want to support this function I
would suggest we do that to start with.

Anyone have any background on this function?

Regards

Simon



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

Reply via email to