Question on the Consumer

View: New views
2 Messages — Rating Filter:   Alert me  

Question on the Consumer

by Sudhakar V Chellam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
Phone : 919-224-1179 [ Tie line - 687 - 1179 ]


Show wsdl

by juanlu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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