Hi,

I assume you are not able to find any description for capability (
http://ws.apache.org/muse/test/wsn/consumer) in consumer wsdl file, that's 
because this capability did not have any properties and operations.
 
Sometimes there might be a requirement that your capability is supposed to 
do some initialization work and in that case you don't need any properties 
and operations in that capability. Now if that is the case then there is 
no way to define Empty Capability in wsdl file, that's the reason this 
Empty Capability is define in muse.xml.
 
If you define any Empty Capability in muse.xml and invoke wsdl2java then 
this will create a Java class for that Empty capability with having a 
method 

public void initializeCompleted() throws SoapFault

So you can provide your custom initialization code here. 
I hope this will clarify the point 1.

For point 1.1 MetadatExchangeClient.getWSDL() method internally invoke 
"GetMetadata" operation on "MetadataExchange" capability by passing the 
dialect as "http://schemas.xmlsoap.org/wsdl/";. There is already an 
operation define as "GetMetadata" for "MetadataExchange" capability wsdl 
file.

thanks

With best regards,

Saurabh Dravid,
Staff Software Engineer - Autonomic Computing,
India Software Lab, IBM Software Group
Embassy Golf Links, 'B' Block, 4th Floor, Bangalore
Phone: +91-80-51055494, e-mail: [EMAIL PROTECTED]
About India Software Lab 





mabroukONnet <[EMAIL PROTECTED]> 
14/06/2007 18:31
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: wsn consumer - suite







thanks for responding,

and what about the first posted message in this thread:
1- i didn't find a wsdl description for the consumer resource in
wsn-consumer example (however there is the capability class). So i want to
ask:
can i create simple resource code without creating wsdl description for 
that
resource (only including standard wsdl and xsd files) and off course 
without
passing via wsdl2java (by coding manually) ?
1.1- If it's so, how MetadatExchangeClient.getWSDL() method can work? 

(sorry if i re-edit this question, but, i see that the second message hide
the first one from readers)

waiting response...i'll drink coffe :*)


Balan Subramanian wrote:
> 
> No the wsn-consumer can be in a separate container but must also be an 
> endpoint. For that matter it may or may not use Muse.
> 
> Balan Subramanian 
> Autonomic Computing, IBM, RTP, NC
> 919.543.0197 | [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> mabroukONnet <[EMAIL PROTECTED]> 
> 06/14/2007 05:21 AM
> Please respond to
> [email protected]
> 
> 
> To
> [email protected]
> cc
> 
> Subject
> Re: wsn consumer - suite
> 
> 
> 
> 
> 
> 
> 
> sorry i forget another question in this way ^L^
> 
> it's true that : to receive notification from wsn-producer, a 
wsn-consumer
> must be deployed in the same container of wsn-producer ?
> 
> thanks for all
> 
> mabroukONnet
> 
> 
> mabroukONnet wrote:
>> 
>> hi all,
>> I have two questions:
>> 
>> 1- i didn't find a wsdl description for the consumer resource in
>> wsn-consumer example (however there is the capability class). So i want 

> to
>> ask:
>> can i create simple resource code without creating wsdl description for
>> that resource (only including standard wsdl and xsd files) and off 
> course
>> without passing via wsdl2java (by coding manually) ?
>> 1.1- If it's so, how MetadatExchangeClient.getWSDL() method can work?
>> 
>> 2- I readed discussion between Dan and Bigtex (last february) about
>> wsn-consumer and how a simple java program can receive published
>> notification. If i understood, that's no way to receive notification
>> directly from wsn-producer (so we must create one resource consumer) ?
>> 
>> thanks for all.
>> 
>> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/wsn-consumer-tf3920425.html#a11116208
> Sent from the Muse User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wsn-consumer-tf3920425.html#a11119777
Sent from the Muse User mailing list archive at Nabble.com.


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


Reply via email to