getting read-timeouts on soap11 and soap12 bindings :/ looks like provider doesnt support them..
M On Wed, Jul 16, 2008 at 10:54 PM, Daniel Kulp <[EMAIL PROTECTED]> wrote: > > We don't support the HTTP post binding. The two soap bindings should work > fine though. > > Dan > > > > > On Jul 16, 2008, at 3:48 PM, Mert Çalışkan wrote: > > Hi, >> >> I'm trying to consume this wsdl: >> >> http://pmum.teias.gov.tr/UzlasmaWeb/services/DGPService?wsdl >> >> with the cxf-codegen-plugin like, >> >> <plugin> >> <groupId>org.apache.cxf</groupId> >> <artifactId>cxf-codegen-plugin</artifactId> >> <version>2.1.1</version> >> <executions> >> <execution> >> <id>generate-sources</id> >> <phase>generate-sources</phase> >> <configuration> >> <sourceRoot>${basedir}/src/ws/java</sourceRoot> >> <wsdlOptions> >> <wsdlOption> >> <wsdl> >> http://pmum.teias.gov.tr/UzlasmaWeb/services/DGPService?wsdl</wsdl> >> </wsdlOption> >> </wsdlOptions> >> <argline>-classdir >> ${project.build.directory}/classes</argline> >> </configuration> >> <goals> >> <goal>wsdl2java</goal> >> </goals> >> </execution> >> </executions> >> </plugin> >> >> code generate is ok. After all I'm trying to construct the service like, >> >> DGPService service = new DGPService(); >> DGPServicePortType port = service.getDGPServiceHttpport(); >> >> and call some method. But I'm getting the exception below. >> >> javax.xml.ws.WebServiceException: >> org.apache.cxf.service.factory.ServiceConstructionException >> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:249) >> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:234) >> at javax.xml.ws.Service.getPort(Service.java:40) >> at >> com.deloitte.dgpys.ws.DGPService.getDGPServiceHttpport(DGPService.java:67) >> at >> >> org.euas.ems.ws.GupTalimatWSClientServiceTests.testServiceLogin(GupTalimatWSClientServiceTests.java:19) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >> at java.lang.reflect.Method.invoke(Unknown Source) >> at >> >> org.springframework.test.context.junit4.SpringTestMethod.invoke(SpringTestMethod.java:163) >> at >> >> org.springframework.test.context.junit4.SpringMethodRoadie.runTestMethod(SpringMethodRoadie.java:233) >> at >> >> org.springframework.test.context.junit4.SpringMethodRoadie$RunBeforesThenTestThenAfters.run(SpringMethodRoadie.java:333) >> at >> >> org.springframework.test.context.junit4.SpringMethodRoadie.runWithRepetitions(SpringMethodRoadie.java:217) >> at >> >> org.springframework.test.context.junit4.SpringMethodRoadie.runTest(SpringMethodRoadie.java:197) >> at >> >> org.springframework.test.context.junit4.SpringMethodRoadie.run(SpringMethodRoadie.java:143) >> at >> >> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:142) >> at >> >> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) >> at >> >> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) >> at >> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) >> at >> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) >> at >> >> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) >> at >> >> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) >> at >> >> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) >> at >> >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) >> at >> >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) >> at >> >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) >> at >> >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) >> Caused by: org.apache.cxf.service.factory.ServiceConstructionException >> at >> >> org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:58) >> at >> >> org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:97) >> at >> >> org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:93) >> at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:369) >> at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:247) >> ... 26 more >> Caused by: org.apache.cxf.BusException: No binding factory for namespace >> http://schemas.xmlsoap.org/wsdl/http/ registered. >> at >> >> org.apache.cxf.binding.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:91) >> at >> >> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:92) >> at >> >> org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:51) >> ... 30 more >> >> Any ideas on this? >> >> Thanks, >> >> M. >> > > --- > Daniel Kulp > [EMAIL PROTECTED] > http://www.dankulp.com/blog > > > > >