Hello Folks,
I'm trying example of document style webservice from Ivan's study guide section 9.3. On running client program I'm getting below error.
Adding the values 7.241783721362973 and 1.5793153077945998:
*** A fatal error occurred:
Cannot find dispatch method for {http://www.ivan.com/additionservicetypes}addValuesRequest
SOAP request on TCPMon:
POST /JAX-WS_SchemaToWS/calculationService HTTP/1.1
Content-type: text/xml;charset="utf-8"
Soapaction: "http://www.ivan.com/AdditionService/CalculationService/addValuesRequest"
Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
User-Agent: JAX-WS RI 2.1.6 in JDK 6
Host: 127.0.0.1:37199
Connection: keep-alive
Content-Length: 283
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:addValuesRequest xmlns:ns2="http://www.ivan.com/additionservicetypes">
<value1>7.241034568984911</value1>
<value2>1.5627112561036527</value2>
</ns2:addValuesRequest>
</S:Body>
</S:Envelope>
SOAP response on TCPMon:
HTTP/1.1 500 Internal Server Error
X-Powered-By: Servlet/3.0
Server: GlassFish v3
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 19 Aug 2010 16:33:16 GMT
Connection: close
6e
<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
f1
<S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
<faultcode>S:Client</faultcode>
<faultstring>Cannot find dispatch method for {http://www.ivan.com/additionservicetypes}addValuesRequest
</faultstring>
</S:Fault>
</S:Body>
</S:Envelope>
0
Does anybody get similar error? Any idea what can be the solution?
Thanks