3 Replies Latest reply on Jul 30, 2008 8:31 AM by sirigere

    testing web services using SeamTest

    sirigere

      Hi,
      We are using JAX-WS for realizing our EJB3 components as web services. We would like to test the functionality using the microcontainer+embedded Jboss.

      We would be greateful if someone could answer/provide pointers to the below questions
      1. Can we test web services using the microcontainer + embedded jboss that gets shipped with the Seam 2.0.1
      2. Where to place the wsdl file references in the @webservice annotation. In the EAR file, we are placing it at web-inf/wsdl directory
      3. How to invoke the webservices
      4. what port does the web services will be running? Can we configure the port.


      thanks in advance.

        • 1. Re: testing web services using SeamTest
          ropalka

           

          "sirigere" wrote:
          2. Where to place the wsdl file references in the @webservice annotation. In the EAR file, we are placing it at web-inf/wsdl directory

          You should put wsdl and xsd artifacts to:
          * META-INF/wsdl for EJB3 endpoints
          * WEB-INF/wsdl for POJO endpoints
          "sirigere" wrote:
          3. How to invoke the webservices

          Using standard JAX-WS clients (e.g. Web Service proxy or Dispatch)
          "sirigere" wrote:
          4. what port does the web services will be running? Can we configure the port.
          Web Services will be running on the same port as your JBossAS instance. There's no way to configure the webservice port.

          • 2. Re: testing web services using SeamTest
            ropalka

             

            "sirigere" wrote:
            1. Can we test web services using the microcontainer + embedded jboss that gets shipped with the Seam 2.0.1

            I don't know how such embedded AS looks like and which components it ships with. So I'm not able to answer your question now. Maybe you should post this question to Seam user forum.

            • 3. Re: testing web services using SeamTest
              sirigere

              thanks for the quick response. I will post my question #1 on Seam forum..

              Thanks, Sanjeev