2 Replies Latest reply on Feb 26, 2009 4:57 AM by aroeder

    Invalid binding: http://java.sun.com/xml/ns/jaxws/2003/05/so

    aroeder Newbie

      I just compiled my metro webservice on a new PC and now I keep getting this exception:


      java.lang.IllegalArgumentException: Invalid binding: http://java.sun.com/xml/ns/jaxws/2003/05/soap/bindings/HTTP/
      at org.jboss.wsf.stack.metro.metadata.sunjaxws.DDEndpoint.setBinding(DDEndpoint.java:108)
      at org.jboss.wsf.stack.metro.SunJaxwsDeploymentAspect.create(SunJaxwsDeploymentAspect.java:68)
      at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.create(DeploymentAspectManagerImpl.java:121)
      at org.jboss.wsf.container.jboss42.LazyAssemblyWSFRuntime.create(LazyAssemblyWSFRuntime.java:60)
      at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:95)
      at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:77)
      at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
      at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy45.create(Unknown Source)


      My code looks like that:

      @MTOM
      @WebService()
      @BindingType(value="http://java.sun.com/xml/ns/jaxws/2003/05/soap/bindings/HTTP/")
      public class MyWebService {...}
      


      I never got this error before, might that be a JDK issue?