What should the entry in muse.xml be for the pause/resume capabilities?
 
Currently I get the error message:
java.lang.RuntimeException: [ID = 'MissingOperationImplementations'] The
WSDL file '/wsdl/FMSresource.wsdl' has the following operations which have
no match in any of the resource's capabilities:
[http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/PauseSubscriptionRequest,
http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/ResumeSubscriptionRequest]


Daniel Jemiolo wrote:
> 
> The SubscriptionManager portType in WS-BaseNotification-1_3.wsdl does not 
> have the Pause/Resume operations (they are optional). These operations are 
> implemented as part of the SubscriptionManager capability, though, so all 
> you have to do to expose them is add them to the WSDL. Just add the two 
> <wsdl:operation/> elements to the SubscriptionManager portType (the 
> <wsdl:message/>s are already defined), remembering to include the 
> wsa:Action for each.
> 
> If you're an Axis2 user, you must also add the WS-A Action to the 
> services.xml file, or Axis2 won't let your request through.
> 
> The two Action URIs are:
> 
> http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/PauseSubscriptionRequest
> 
> http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/ResumeSubscriptionRequest
> 
> 
> 
> "Rosberg Mattias" <[EMAIL PROTECTED]> wrote on 02/27/2007 
> 07:00:11 AM:
> 
>> I have created a wsn-producer/consumer system not very different from 
> the 
>> sample included in Muse. To create subscriptions I use the 
>> NotificationProducerClient.subscribe(). This method returns a 
>> SubscriptionClient object. The subscription works fine but when I try to 
> pause
>> the subscription by calling pauseSubscription on the returned 
>> SubscriptionClient object. I get the following error in return.
>> 
>> <soap:Reason>
>>                 <soap:Text>[ID = 'ActionNotSupported'] The resource at 
>> 'SubscriptionManager' does not expose an operation with the WS-Action 
> 'http:
>> 
> //docs.oasis-open.org/wsn/bw-2/SubscriptionManager/PauseSubscriptionRequest' 
> 
>> through any of its capabilities.</soap:Text>
>>             </soap:Reason>
>> 
>> In Muse every subscription creates a new resource, right? After 
> debugging the 
>> above scenario I end up in my subscription resource (SimpleWsResource) 
>> 'MuseResource-1' trying to find a Capability to handle the 
>> PauseSubscriptionRequest (getCapabilityForAction(action)). I believed 
> that 
>> pause and resume should be handled automatically by the 
> SubscriptionManager. 
>> 
>> Any ideas what's missing? Do I have to implement my own 
> "PausableSubscriptionResource"?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-pauseSubscription-tf3300334.html#a11063583
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