I did what you suggest, the http endpoint was described like this

 <http:endpoint service="wsn:NotificationBroker"
                endpoint="http-binding"
                targetService="wsn:NotificationBroker"
                targetEndpoint="Broker"
                role="consumer"
                locationURI="http://localhost:8192/Broker/";
                defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                soap="true"/>

I changed the soap version
*
 <http:endpoint service="wsn:NotificationBroker"
                endpoint="http-binding"
                targetService="wsn:NotificationBroker"
                targetEndpoint="Broker"
                role="consumer"
                locationURI="http://localhost:8192/Broker/";
                defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                soap="true"
                soapVersion="1.1"/>

*But It not seems to works... I'm getting the same error as before...

Leandro


Guillaume Nodet wrote:
Change the soapVersion attribute on the HTTP BC to 1.1
and it should do the trick.

On 5/28/07, Leandro Sales <[EMAIL PROTECTED]> wrote:

HI,

   I'm trying to use wsn2005 but I'm getting an error on my
ConsumerService when it receives a notification from the
NotificationBroker. The error is listed below, Can anyone help me?

com.sun.xml.ws.protocol.soap.VersionMismatchException: Couldn't create
SOAP message. Expecting Envelope in namespace
http://schemas.xmlsoap.org/soap/envelope/, but got
http://www.w3.org/2003/05/soap-envelope

Leandro





Reply via email to