7 Replies Latest reply on Nov 29, 2005 10:03 AM by thomas.diesler

    Alpha 5.0 - Port not found in WSDL

    johnr1111


      I am getting an error message at deployment when I deploy any working Web Service WAR files to the new Alpha 5.0 version. The WAR files work against the 4.03 version, but blow up on the Alpha 5.0.

      Has anyone else seen this. I also saw it in the example that was posted in the admin guide (Which had a bug in it's namespace).

      I was trying out the latest build because of the deployment problems caused by the parsing of the "Parameters" elements in the WSDL.

      I could post the files, but thought I would just ask before I post.

        • 1. Re: Alpha 5.0 - Port not found in WSDL
          johnr1111


          Is there a build that can deploy war files that does not have the problem with the parameters in the WSDL? The inout string issue that gets caused by the WSDL parameters having the same name while deploying.

          • 2. Re: Alpha 5.0 - Port not found in WSDL
            johnr1111

            The following is generated when deploying a JAR on the lates jboss-head version. The same war and other wars deploy fine (Minus the parameter issue) on the previous versions of JBoss. This example web service was taken righ out of the JBoss Admin Guide.

            I would like to find a version of JBoss that could deploy correctly without the WSDL issue.

            --- Incompletely deployed packages ---
            org.jboss.deployment.DeploymentInfo@1b52b306 { url=file:/C:/jboss-5.0.0alpha/ser
            ver/default/deploy/hello-servlet.war }
            deployer: MBeanProxyExt[jboss.web:service=WebServer]
            status: Deployment FAILED reason: Cannot find port in wsdl: HelloPort
            state: FAILED
            watch: file:/C:/jboss-5.0.0alpha/server/default/deploy/hello-servlet.war
            altDD: null
            lastDeployed: 1132780320791
            lastModified: 1132780320776
            mbeans:

            • 3. Re: Alpha 5.0 - Port not found in WSDL
              thomas.diesler

               


              Deployment FAILED reason: Cannot find port in wsdl: HelloPort


              What ports do you have in the wsdl?



              • 4. Re: Alpha 5.0 - Port not found in WSDL
                johnr1111
                • 5. Re: Alpha 5.0 - Port not found in WSDL
                  thomas.diesler

                  The <wsdl-port> in webservices.xml is not namespace qualified

                   <port-component>
                   <port-component-name>Hello</port-component-name>
                   <wsdl-port>HelloPort</wsdl-port>
                   <service-endpoint-interface>org.jboss.ws.hello.Hello</service-endpoint-interface>
                   <service-impl-bean>
                   <ejb-link>HelloBean</ejb-link>
                   </service-impl-bean>
                   </port-component>
                  


                  It should be something like


                   <port-component>
                   <port-component-name>Hello</port-component-name>
                   <wsdl-port>impl:HelloPort</wsdl-port>
                   <service-endpoint-interface>org.jboss.ws.hello.Hello</service-endpoint-interface>
                   <service-impl-bean>
                   <ejb-link>HelloBean</ejb-link>
                   </service-impl-bean>
                   </port-component>
                  


                  The impl prefix must be defined in the root element.

                  --------------

                  Generally the documentation has not been synched with jbossws-1.0. Cant you work with the (many) examples/tests that come with the jbossws src?


                  • 6. Re: Alpha 5.0 - Port not found in WSDL
                    johnr1111

                    No, I've been too busy trying to convince our company to purchase a support contract from JBoss for $25,000.

                    I'm working through the source tree, it just through me off when the existing WAR's stopped working.

                    You're taking the time is very appreciated.

                    • 7. Re: Alpha 5.0 - Port not found in WSDL
                      thomas.diesler

                      Good luck John. Many successful projects rely on qualified answers within a known time frame. Posts on this forum will be dealt with at the comunities leisure. As you can might guess, I am also often quite busy.