I tried to bind the parameter names  in wsdl. I put 

<serviceFactory>org.codehaus.xfire.jaxws.JAXWSServiceFactory</serviceFac
tory> in the service.xml and some annotations in the service file.

 
but I got the following errors:
 
java.lang.NoSuchMethodError: portName
 at
org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations.getWebService
Annotation(Jsr181WebAnnotations.java:55)
 at
org.codehaus.xfire.annotations.AnnotationsValidatorImpl.validateClass(An
notationsValidatorImpl.java:15)
 at
org.codehaus.xfire.annotations.AnnotationsValidatorImpl.validate(Annotat
ionsValidatorImpl.java:90)
 at
org.codehaus.xfire.annotations.AnnotationServiceFactory.create(Annotatio
nServiceFactory.java:190)
 at
org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectSer
viceFactory.java:374)
 at
org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectSer
viceFactory.java:355)
 at
org.intermountain.help2.webservice.services.FactoryTest.setUp(FactoryTes
t.java:19)
 at junit.framework.TestCase.runBare(TestCase.java:125)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUn
it3TestReference.java:128)
 at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.ja
va:38)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe
stRunner.java:460)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe
stRunner.java:673)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun
ner.java:386)
 at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu
nner.java:196)
 
Thanks
 
Min
 

Reply via email to