You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-dev@ws.apache.org by Ni...@fr.thalesgroup.com on 2005/04/25 17:20:55 UTC

RE: Example implementations of Subscribe and GetCurrentMessage op erations

Hello,

I am trying to use Hermes with the filesystem example but I met problems.
I succeeded in compiling and deploying to Tomcat the filesystem service, also I can have a look on the WSDL at : http://localhost:8080/hermes/services/filesystem?wsdl however, I am not able to complete SOAP request such as subscribe ....

I obtain the response described after this message.

Is someone already met these kind of problem ?

Thanks,

Nicolas. 



[echo] ========================== REQUEST  ============================
   [concat] <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" 
   [concat]           xmlns:fs="http://ws.apache.org/resource/example/filesystem"
   [concat]           xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
   [concat]           xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
   [concat]           >

   [concat]    <Header>
   [concat]       <wsa:To mustUnderstand="1">http://localhost:8080/hermes/services/filesystem</wsa:To>
   [concat]       <wsa:Action mustUnderstand="1">http://ws.apache.org/resource/example/filesystem/FileSystemPortType/yourWsdlRequestName</wsa:Action>
   [concat]       <fs:ResourceID mustUnderstand="1">/dev/vg00/lvol1</fs:ResourceID>
   [concat]    </Header>

   [concat]    <Body>
   [concat]       <wsnt:Subscribe>
   [concat]                                   
   [concat]          <wsnt:ConsumerReference>
   [concat]             <!-- make this filesystem for now... -->
   [concat]             <wsa:Address>http://localhost:8080/hermes/services/filesystem</wsa:Address>
   [concat]         <wsa:ReferenceProperties/>      
   [concat]          </wsnt:ConsumerReference>
   [concat]          
   [concat]          <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/2004/06/TopicExpression/Simple">fs:MountPointDirectory</wsnt:TopicExpression>
   [concat]          
   [concat]          <wsnt:UseNotify>true</wsnt:UseNotify> 
   [concat]          
   [concat]       </wsnt:Subscribe>
   [concat]    </Body>

   [concat] </Envelope>

     [echo] ========================== RESPONSE ============================
  [taskdef] --> 04-25-05 14:51:43 DEBUG [main] ProjectResourceBundle: getBundle(org.apache.ws,org.apache.ws.util.i18n,resource,null,...)
  [taskdef] --> 04-25-05 14:51:43 DEBUG [main] ProjectResourceBundle: loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.ws.ut
il.resource, locale fr_FR
  [taskdef] --> 04-25-05 14:51:43 DEBUG [main] ProjectResourceBundle: loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.ws.re
source, locale fr_FR
  [taskdef] --> 04-25-05 14:51:43 DEBUG [main] ProjectResourceBundle: Created org.apache.ws.util.i18n.resource, linked to parent null
[soapClient] --> 04-25-05 14:51:44 DEBUG [main] ProjectResourceBundle: getBundle(org.apache.ws.util,org.apache.ws.util.i18n,resource,null,...)
[soapClient] --> 04-25-05 14:51:44 DEBUG [main] ProjectResourceBundle: org.apache.ws.util.i18n.resource::handleGetObject(SOAP_REQ_FAILED_HTTP_STATUS)
[soapClient] SOAP request failed with HTTP status: 500 Erreur Interne de Servlet
[soapClient] <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/20
01/XMLSchema-instance">
[soapClient]  <soapenv:Body>
[soapClient]   <soapenv:Fault>
[soapClient]    <faultcode>soapenv:Server.userException</faultcode>
[soapClient]    <faultstring>javax.xml.rpc.JAXRPCException: Unexpected error. Cause: java.lang.NoSuchMethodError: org.apache.ws.resource.properties.ResourceProperty.
addChangeListener(Lorg/apache/ws/resource/properties/ResourcePropertyValueChangeListener;)V</faultstring>
[soapClient]    <detail/>
[soapClient]   </soapenv:Fault>
[soapClient]  </soapenv:Body>



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