JBoss Community

java.lang.Error: Undefined operation name , when was removed from interface (wsdl)

created by Barry Schader in JBoss Web Services - View the full discussion

What I did:

  • Removed two completely unused methods from a class that represents a web service interface  (we had a sloppy contractor who left his trash in the interface code...)
  • Updated the WSDL file to remove the methods
  • Committed those changes into our local SVN
  • Ran a complete regression test (using Hudson, JUnit) -> PASSED

 

But when I attempt to run any of the same JUnit tests within the JBoss Dev Studio environment, I get a stack trace that begins with:

junit.framework.AssertionFailedError: Exception in constructor: testFetchProduct_PRE001_01 (java.lang.Error: Undefined operation name checkDMAS
     at com.sun.xml.ws.model.JavaMethodImpl.freeze(JavaMethodImpl.java:305)
     at com.sun.xml.ws.model.AbstractSEIModelImpl.freeze(AbstractSEIModelImpl.java:73)
     at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:230)
     at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:588)
     at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:291)
     at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:274)
     at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:267)
     at javax.xml.ws.Service.getPort(Service.java:92)
     at com.medtronic.mes.FacadeService_Service.getFacadeServicePort(FacadeService_Service.java:50)


I seem to be unable to make eclipse (or JBDS?) forget about the "checkDMAS" method.  There are no references to it anywhere that I can find within the JUnit code, yet every JUnit test case causes the same stack trace.  I have 'cleaned' the project in every way that I know how -- but I will admit that my experience with eclipse (and JBDS) is weak.

 

Thanks in advance for any help you can provide.

 

Barry Schader

Phoenix, AZ 

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community