You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Sudhakar V Chellam <sv...@us.ibm.com> on 2009/09/04 16:44:49 UTC

Question on the Consumer

Hi,

I have a WSN consumer based on the Muse Project. 

With a apache muse based producer, the consumer can handle the requests 
perfectly fine. But when I receive request from another server where 
apache muse is not being used, following SOAP Response being sent from the 
muse server.


  <soap:Text>[ID = 'ActionNotSupported'] The resource at 'consumer' does 
not expose an operation with the WS-Action 
'http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify' through 
any of its capabilities.</soap:Text>
</soap:Reason>

Things I tried :

1. Add capability-uri "
http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify" and the 
impl class is SimpleNotificationConsumer.

2. Tried to add another port type and a binding where I defined the 
SoapAction and Action for the operation to be the "
http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify" 

Hopefully this is just a configuration issue. Please let me know what I 
can do to get this working on different producers.

FYI:  I am using muse 2.1.0 , and Mini Servlet as my entry point.

Thanks and Regards
Sudhakar

______________________________________________________________________________________
Sudhakar V Chellam 
e-mail : svelkant@us.ibm.com
Phone : 919-224-1179 [ Tie line - 687 - 1179 ]


Show wsdl

Posted by ju...@bt.com.
Hi all,

I am trying to show the wsdl of a muse web service on the browser, the
parameters and the location of the wsdl within the webapp are as I
describe below.

The wsdl is within a folder called wsdl
(webapps\WsSongStore\WEB-INF\classes\wsdl) and in the muse.xml you can
read this:
	
	<wsdl>
            <wsdl-file>/wsdl/WsSongStore.wsdl</wsdl-file>
            <wsdl-port-type
xmlns:pfx="http://songstore.org/tns">pfx:WsSongStorePortType</wsdl-port-
type>
	</wsdl>

But when I do a
http://localhost:8080/WsSongStore/services/WsSongStore?wsdl what I get
back is a 405 telling me that get method is not allowed. It is urgent to
fix this because I need to show the wsdl to expose it to the gateway.

Can you please help me with this?

Thanks

JuanLu