title: The endpoint reference (EPR) for the Operation not found using glassfish n wso2esb
body: <p>I am new to wso2 esb.
  I am trying a simple web service program.</p>
  
  <pre><code>package testmart;
  
  import javax.jws.WebService;
  
  @WebService 
  public class testone {
  
     public String testMethod()
      {
          return "success";
      }
  }
  </code></pre>
  
  <p>I am using glassfish server, created a proxy on wso2 esb by giving following details:</p>
  
  <p>web service url: <code>http://localhost:8080/testmart/testoneService</code></p>
  
  <p>wsdl url :<code>http://localhost:8080/testmart/testoneService?wsdl</code></p>
  
  <p>After creating its showing "success" msg. But when I test it, the following error comes up:</p>
  
  <pre><code>&lt;soapenv:Fault xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:axis2ns7="http://www.w3.org/2003/05/soap-envelope"&gt;
  
     &lt;soapenv:Code&gt;
       &lt;soapenv:Value&gt;axis2ns7:Client&lt;/soapenv:Value&gt;
  
     &lt;/soapenv:Code&gt;
     &lt;soapenv:Reason&gt;
        &lt;soapenv:Text xml:lang="en-US" xmlns:xml="http://www.w3.org/XML/1998/namespace"&gt;
   The endpoint reference (EPR) for the Operation not found is         /services/testmart1.testmart1HttpSoap12Endpoint and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.
   &lt;/soapenv:Text&gt;
     &lt;/soapenv:Reason&gt;
     &lt;soapenv:Detail/&gt;
    &lt;/soapenv:Fault&gt;
  </code></pre>
  
  <p>Below is my esb source view code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
   &lt;definitions xmlns="http://ws.apache.org/ns/synapse"&gt;
     &lt;registry provider="org.wso2.carbon.mediation.registry.WSO2Registry"&gt;
        &lt;parameter name="cachableDuration"&gt;15000&lt;/parameter&gt;
     &lt;/registry&gt;
     &lt;proxy name="testmart1"
          transports="https http local"
        startOnLoad="true"
        trace="disable"&gt;
    &lt;description/&gt;
    &lt;target&gt;
       &lt;endpoint&gt;
          &lt;address uri="http://localhost:8080/testmart/testoneService"/&gt;
       &lt;/endpoint&gt;
       &lt;outSequence&gt;
          &lt;send/&gt;
       &lt;/outSequence&gt;
    &lt;/target&gt;
    &lt;publishWSDL uri="http://localhost:8080/testmart/testoneService?wsdl"/&gt;
     &lt;/proxy&gt;
     &lt;sequence name="fault"&gt;
       &lt;log level="full"&gt;
       &lt;property name="MESSAGE" value="Executing default 'fault' sequence"/&gt;
       &lt;property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/&gt;
       &lt;property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/&gt;
    &lt;/log&gt;
    &lt;drop/&gt;
     &lt;/sequence&gt;
     &lt;sequence name="main"&gt;
         &lt;in&gt;
          &lt;log level="full"/&gt;
          &lt;filter source="get-property('To')" regex="http://localhost:9000.*"&gt;
             &lt;send/&gt;
          &lt;/filter&gt;
        &lt;/in&gt;
       &lt;out&gt;
          &lt;send/&gt;
       &lt;/out&gt;
       &lt;description&gt;The main sequence for the message mediation&lt;/description&gt;
     &lt;/sequence&gt;
  &lt;/definitions&gt;
  </code></pre>
  
  <p>I read all post about this error but could not solve this problem. 
  Any sort of help would be highly appreciated as this was the first example I tried and stuck from hours.
  Thanks in advance.</p>