3 Replies Latest reply on Aug 21, 2008 7:58 AM by asoldano

    Multiple WSDL bindings warning

    tperrigo

      I'm trying to consume a .NET web service from an EJB3 Stateless session bean (using JBoss 5 beta 2). I used wsconsume to generate all the client classes; it seemed to work without any problems. However, when I deploy my app (as an ear) and try to call the bean which invokes the web service (using the generated classes), I get the following warning (multiple times):


      [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://com/werner/multimiler/web}PCMilerSoap


      Has anyone encountered this before? How can I fix the issue?

      Any help would be very much appreciated.

      Thanks,
      Tim


        • 1. Re: Multiple WSDL bindings warning
          tperrigo

          Any ideas on this one? This has really got me stuck...

          • 2. Re: Multiple WSDL bindings warning

             

            "tperrigo" wrote:
            Any ideas on this one? This has really got me stuck...


            If you solved this problem, please let me know.

            Because it's a real big problem, in production fills my logs to quickly, i have logs of Gigabytes only with this messages, because every call to WebService generate to many messages of this type.

            A quickly solution is change Log configuration, but i can't move that info in Production Servers becuz the client don't gave us permission to modify that configuration, and becuz our team use Log for other purposes.

            I consume .Net Webservices too, we are using JBoss 4.2.2.

            • 3. Re: Multiple WSDL bindings warning
              asoldano

              That's a warning message saying that the wsdl you're consuming has multiple bindings for the same interface. The last binding is actually used in those cases.

              If you have problems with the generated log, also consider you can just limit the logs of org.jboss.ws.metadata.wsdl.WSDLDefinitions class, without affecting your business code or any other JBoss class.