<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
org.jboss.ws.core.CommonSOAPFaultException: Endpoint {http://www.pruhealth.co.uk/heal/TestEJBService}PocServiceSOAP does not
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/arvindpratap">arvind narayan</a> in <i>JBoss Web Services</i> - <a href="https://community.jboss.org/message/799595#799595">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I have created a EJB project and exposed it as a webservice when I am hitting this webservice bt SOAP UI getting the below error</p><p><span style="color: navy; font-size: 10pt; text-decoration: underline; font-family: Consolas;">org.jboss.ws.core.CommonSOAPFaultException</span><span style="font-family: Consolas; color: black; font-size: 10pt;"><span>: Endpoint {</span><a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/TestEJBService" rel="nofollow" target="_blank">http://www.pruhealth.co.uk/heal/TestEJBService</a><span>}PocServiceSOAP does not </span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have placed the wsdl at  "/META-INF/wsdl/TestEJBService.wsdl" </p><p><?xml version="1.0" encoding="UTF-8" standalone="no"?><br/><wsdl:definitions xmlns:ps="<a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/TestEJBService" rel="nofollow">http://www.pruhealth.co.uk/heal/TestEJBService</a>"<br/> xmlns:soap="<a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl/soap/" rel="nofollow">http://schemas.xmlsoap.org/wsdl/soap/</a>" <br/> xmlns:wsdl="<a class="jive-link-external-small" href="http://schemas.xmlsoap.org/wsdl/" rel="nofollow">http://schemas.xmlsoap.org/wsdl/</a>"<br/> xmlns:xsd="<a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>" <br/> xmlns:pos="<a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/PocService" rel="nofollow">http://www.pruhealth.co.uk/heal/PocService</a>"<br/> targetNamespace="<a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/TestEJBService" rel="nofollow">http://www.pruhealth.co.uk/heal/TestEJBService</a>" <br/> name="TestEJBService"></p><p> <wsdl:import namespace="<a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/PocService" rel="nofollow">http://www.pruhealth.co.uk/heal/PocService</a>"<br/>  location="PocService.xsd" /></p><p><br/> <wsdl:message name="PocServiceInput"><br/>  <wsdl:part name="body" element="pos:PocRequest"></wsdl:part><br/> </wsdl:message><br/> <wsdl:message name="PocServiceOutput"><br/>  <wsdl:part name="body" element="pos:PocResponse"></wsdl:part><br/> </wsdl:message></p><p> <wsdl:portType name="PocServicePort"><br/>  <wsdl:operation name="getPocDetails"><br/>   <wsdl:input message="ps:PocServiceInput" /><br/>   <wsdl:output message="ps:PocServiceOutput" /><br/>  </wsdl:operation><br/> </wsdl:portType></p><p> <wsdl:binding name="PocServiceSOAPBinding" type="ps:PocServicePort"><br/>  <soap:binding style="document" transport="<a class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/http" rel="nofollow">http://schemas.xmlsoap.org/soap/http</a>" /><br/>  <wsdl:operation name="getPocDetails"><br/>   <soap:operation soapAction="" /><br/>   <wsdl:input><br/>    <soap:body namespace="<a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/PocService" rel="nofollow">http://www.pruhealth.co.uk/heal/PocService</a>"<br/>     use="literal" /><br/>   </wsdl:input><br/>   <wsdl:output><br/>    <soap:body namespace="<a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/PocService" rel="nofollow">http://www.pruhealth.co.uk/heal/PocService</a>"<br/>     use="literal" /><br/>   </wsdl:output><br/>  </wsdl:operation><br/> </wsdl:binding></p><p> <wsdl:service name="TestEJBService"><br/>  <wsdl:port binding="ps:PocServiceSOAPBinding" name="PocServiceSOAP"><br/>   <soap:address location="<a class="jive-link-external-small" href="http://127.0.0.1:8080/TestEJBService/TestEJBService" rel="nofollow">http://127.0.0.1:8080/TestEJBService/TestEJBService</a>" /><br/>  </wsdl:port><br/> </wsdl:service></p><p><br/></wsdl:definitions></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>===============================================================</p><p>I have imported PocService.xsd into wsdl</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><?xml version="1.0" encoding="utf-8" ?></p><p><xs:schema xmlns:pos="<a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/PocService" rel="nofollow">http://www.pruhealth.co.uk/heal/PocService</a>"</p><p> attributeFormDefault="unqualified" elementFormDefault="unqualified"</p><p> targetNamespace="<a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/PocService" rel="nofollow">http://www.pruhealth.co.uk/heal/PocService</a>" </p><p> xmlns:xs="<a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow">http://www.w3.org/2001/XMLSchema</a>"></p><p> <xs:element name="PocRequest"></p><p>  <xs:complexType></p><p>   <xs:sequence></p><p>    <xs:element name="PrincipalAmount" type="xs:integer"</p><p>     minOccurs="1" /></p><p>    <xs:element name="PrincipalRate" type="xs:float"</p><p>     minOccurs="1" /></p><p>    <xs:element name="Name" type="xs:string" minOccurs="0" /></p><p>   </xs:sequence></p><p>  </xs:complexType></p><p> </xs:element></p><p> <xs:element name="PocResponse"></p><p>  <xs:complexType></p><p>   <xs:sequence></p><p>    <xs:element name="TotalAmount" type="xs:float" minOccurs="1" /></p><p>    <xs:element name="Name" type="xs:string" minOccurs="0" /></p><p>   </xs:sequence></p><p>  </xs:complexType></p><p> </xs:element></p><p></xs:schema></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>EJB CLASS:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>package uk.co.pruhealth.heal.service;</p><p>import java.math.BigInteger;</p><p>import javax.ejb.Stateless;<br/>import javax.jws.WebMethod;<br/>import javax.jws.WebService;</p><p>import org.jboss.wsf.spi.annotation.WebContext;</p><p>import uk.co.pruhealth.heal.pocservice.PocRequest;<br/>import uk.co.pruhealth.heal.pocservice.PocResponse;</p><p>@Stateless<br/>@WebContext(contextRoot="TestEJBService", urlPattern="/TestEJBService")<br/>@WebService(serviceName = "TestEJBService", portName = "PocServiceSOAP", <br/>  endpointInterface = "uk.co.pruhealth.heal.service.PocRemote",<br/>  wsdlLocation="/META-INF/wsdl/TestEJBService.wsdl",<br/>  targetNamespace = "<a class="jive-link-external-small" href="http://www.pruhealth.co.uk/heal/TestEJBService" rel="nofollow">http://www.pruhealth.co.uk/heal/TestEJBService</a>")</p><p>public class PocBean implements PocRemote {<br/> <br/> @WebMethod<br/> public PocResponse getPocDetails(PocRequest request){ <br/>  PocResponse response = new PocResponse(); <br/>  BigInteger p= request.getPrincipalAmount();<br/>  int a = p.intValue();<br/>  Float r = request.getPrincipalRate();<br/>  Float totalAmount = a * r * 10; <br/>  request.getPrincipalAmount();<br/>  request.getPrincipalRate();<br/>  response.setTotalAmount(totalAmount);<br/>  response.setName(request.getName());<br/>  return response;<br/> }</p><p>}</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>package uk.co.pruhealth.heal.service;</p><p>import javax.ejb.Remote;<br/>import javax.jws.WebMethod;<br/>import javax.jws.WebService;<br/>import javax.jws.soap.SOAPBinding;</p><p>import uk.co.pruhealth.heal.pocservice.PocRequest;<br/>import uk.co.pruhealth.heal.pocservice.PocResponse;</p><p><br/>@Remote<br/>@WebService(name = "ConverterPortType",<br/>targetNamespace = "<a class="jive-link-external-small" href="http://jaxws.samples.geronimo.apache.org" rel="nofollow">http://jaxws.samples.geronimo.apache.org</a>")<br/>public interface PocRemote {<br/> public PocResponse getPocDetails(PocRequest request);<br/>}</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Please provide me the solution.</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/799595#799595">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>