17
The problem description might be long. Please be patient and provide any kind of help since I am new to the web services.
What I have done: I have created a web service in java using Apache CXF RI. I simply created a class and used bottom up development approach to generate SEI, WSDL and XML files.
What the problem is:
Now, If I request "http://localhost:8084/DeepThoughtWS/services/DeepThoughtPort/whatIsTheAnswer", it produces output as No binding operation info while invoking unknown method with params unknown.
The response is as follows:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>No binding operation info while invoking unknown
method with params unknown.</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
The generated WSDL is:
<wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://ws.service.com/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
name="DeepThoughtService" targetNamespace="http://ws.service.com/">
<wsdl:types>
<schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://ws.service.com/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://ws.service.com/"
schemaLocation="http://localhost:8084/DeepThoughtWS/services/DeepThoughtPort?xsd=deepthought_schema1.xsd" />
</schema>
</wsdl:types>
<wsdl:message name="whatIsTheAnswerResponse">
<wsdl:part elem