2 Replies Latest reply on May 21, 2007 1:41 AM by 558962

    a critical issue for WebService and HTTP Analyzer

    558962
      According to the tutorial Building Web Services(the url is :http://www.oracle.com/technology/obe/obe11jdev/11/ws/ws.html)
      the source code of HelloService.java
      ============================================
      package annotation;

      import javax.jws.WebMethod;
      import javax.jws.WebService;

      import javax.xml.ws.BindingType;
      import javax.xml.ws.soap.SOAPBinding;

      @WebService(serviceName="HelloService")
      @BindingType(SOAPBinding.SOAP11HTTP_BINDING)
      public class HelloService {
      public HelloService() {
      }
      @WebMethod
      public String sayHello(String s){
      return "Hello " +s;
      }

      }
      ===================================================
      I created a simple WebService named HelloService, but when run TestWebservice
      it open HTTP Analyzer to test , enter a string "Gary" and click send request,
      it was expected that it response a string "Hello gary",

      However, HttpAnalyzer display "The Select Message is not soap message"
      under the tab "Http content", it show me that:
      ==============================================
      500 Server Error
      The following error occurred: [code=CANT_CONNECT_LOOPBACK] Cannot connect due to potential loopback problems
      ==============================================

      Expecting any suggestions for this problem, thanks