ws-pubscribe-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramot Lubis" <ramot.lu...@gmail.com>
Subject Pause subscription error
Date Tue, 06 Jun 2006 12:58:31 GMT
hi all,

I found difficulties on how to work with "Pause, Resume, and Destroy"
subscription.

I tried FileSystem example on PubScribe 1.1

the scenario is the following:

1. I send Subscribe doc to FileSystem service and it works and replies
with ResourceIdentifier "a23e7740-85f7-478b-ba3e-7205fca1a00b"
2. I send Pause doc to SubcriptionManager service with
{http://ws.apache.org/notification/base/service/SubscriptionManager}ResourceIdentifier
values is "a23e7740-85f7-478b-ba3e-7205fca1a00b" in my SOAP request
header.

i received error saying like this:

The expected resource identifier reference parameter named
{http://ws.apache.org/resource/example/filesystem}ResourceIdentifier
was not found in the SOAP header.
	at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
	at org.apache.ws.resource.handler.axis.ResourceProvider.invoke(ResourceProvider.java:214)
	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
	at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
	at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)





When i tried to change the SOAP request header like the following:

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"
	  xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
          xmlns:sub="http://ws.apache.org/resource/example/filesystem">

   <Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing">
      <wsa:To mustUnderstand="1">http://uuid-59616261646162614A7874615032503306401C014BC944F5B720E303947D892803/pubscribe/services/SubscriptionManager</wsa:To>
      <wsa:Action
mustUnderstand="1">http://localhost:8080/pubscribe/services/SubscriptionManager/yourWsdlRequestName</wsa:Action>
      <sub:ResourceIdentifier
mustUnderstand="1">a23e7740-85f7-478b-ba3e-7205fca1a00b</sub:ResourceIdentifier>
   </Header>

   <Body>
      <wsnt:PauseSubscription />
   </Body>



The error is:

Resource Id 7d9cbe14-4307-4b59-b1cb-4e7e8706e237 not found for service
filesystem
	at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
	at org.apache.ws.resource.handler.axis.ResourceProvider.invoke(ResourceProvider.java:214)
	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
	at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
	at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)





Can somebody help me? especially the FileSystem example creator? ;;)




thanks in advance.


Ramot Lubis.

---------------------------------------------------------------------
To unsubscribe, e-mail: pubscribe-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: pubscribe-dev-help@ws.apache.org


Mime
View raw message