0 Replies Latest reply on Jan 22, 2013 10:23 PM by k-fi

    Endpoint.publish() gives a HTTP:101221 error


      I'm stuck on a very simple piece of functionality and need help. I'm trying to publish an web services endpoint in weblogic. This code works perfectly well on Tomcat. I know that weblogic has its own implementation of JAXWS classes, so it's understandable that the behaviour differs, but I don't understand why it fails. Using weblogic

      Endpoint endpoint = Endpoint.create(MyWebservice.class);

      When I execute the code above, weblogic gives the following error:

      java.lang.IllegalArgumentException: [HTTP:101221]The url-pattern is empty or null for url-pattern weblogic.servlet.internal.WebAppServletContext@6ba26eb1 - appName: 'testApp', name: '/ExampleWebServices', context-path: '/ExampleWebServices', spec-version: 'null' in .
      at weblogic.servlet.internal.WebAppServletContext.registerServletMap(WebAppServletContext.java:1706)
      at weblogic.servlet.internal.WebAppServletContext.registerServletMapping(WebAppServletContext.java:1514)
      at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1409)
      at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1185)
      at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1120)


      Edited by: k-fi on Jan 22, 2013 2:23 PM