| Author |
WebService Client
|
mayur solanki
Greenhorn
Joined: Dec 28, 2007
Posts: 7
|
|
Hello Friends,
I am new to WebServices / Java, and i am trying to connect to a Java Webservice from a Client. Initially i faced issues with missing jars and stuff, but have progressed ahead, slowly and steadily and now am stuck at this point since last two days.
At least i am now touching the WS from my Web Service Client . I have tried with SOAP 1.1 AND 1.2 Schema version but with no progress. I read on internet saying the SOAP Message requrest/response should be binded with the schema which the WS Understands, but where to do this binding, in pom.xml, where to make the changes/config on the Client Side in Eclipse ? Can any one assist me on this please.
Exception in thread "main" org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding forhttp://schemas.xmlsoap.org/wsdl/soap12/wsdl11soap12.xsd
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:349)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:251)
at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:147)
at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:90)
at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:144)
at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:133)
Caused by: org.apache.cxf.BusException: No binding factory for namespace http://schemas.xmlsoap.org/wsdl/soap12/wsdl11soap12.xsdregistered.
at org.apache.cxf.binding.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:120)
Many thanks in Advance, Kind Regards
|
 |
 |
|
|
subject: WebService Client
|
|
|