2 Replies Latest reply on Sep 4, 2006 8:35 AM by Thomas Diesler

    Multiple WSDL bindings referrencing the same interface

    adeel talib Newbie

      I have a problem invoking amazon's web service http://www.xmlme.com/WSAmazonBox.asmx?WSDL. It has Multiple WSDL bindings referrencing to the same interface (porttype)

      My client application can get the service end point correctly but i get following exception on invocation:

      Invoking service endpoint: http://www.xmlme.com/WSAmazonBox.asmx
      2006-08-25 12:08:52,647 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with SOAPAction : ""
      2006-08-25 12:08:52,647 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with Content-Type : text/xml; charset=UTF-8
      2006-08-25 12:08:53,442 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Server did not recognize the value of HTTP Header SOAPAction: .,actor=null,detail=detail]
      2006-08-25 12:08:53,442 ERROR [org.jboss.ws.jaxrpc.CallImpl] Call invocation failed
      javax.xml.rpc.soap.SOAPFaultException: Server did not recognize the value of HTTP Header SOAPAction: .
      at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100)
      at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:505)
      at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704)
      at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:398)
      at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:164)
      .......

      Does jboss support such wsdl? If I remove the mutiple binding, then its OK.