The endpoint reference (EPR) for the Operation not found exception in AxisFault
-------------------------------------------------------------------------------

                 Key: AXIS2-2709
                 URL: https://issues.apache.org/jira/browse/AXIS2-2709
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.2
         Environment: Client app. runs on Windows XP and the web service runs 
on Linux.
            Reporter: Gul Onural
            Priority: Blocker


Reproducibly,  I get  "The endpoint reference (EPR) for the Operation not found 
..." AxisFault on the client side when I invoke the operation very similar to 
the one in the attached test web service test wsdl, using Axis2 ServiceClient 
(please see TestClient.java in the attachment)

I have created an example web service (TestService) and a client (both are 
attached) to simulate the problem. Make sure 
you modify  \test\clientapp\wsProperties.xml to point the machine that you 
deploy the  TestService and execute run.bat.
You should see the following stack trace in the console.

Gul

D:\test\clientapp>java 
-Djava.ext.dirs=.\3rdparty;.\lib;"D:\Java\jdk1.5.0_07\jre\lib\ext" 
com.clientapp.TestClient .\
testSuite1.xml
log4j:WARN No appenders could be found for logger 
(org.apache.axiom.om.util.StAXUtils).
log4j:WARN Please initialize the log4j system properly.
Request = <tns:QueryXXRequest 
xmlns:tns="http://www.mycompany.com/TestServiceTypes"; 
xmlns:xsi="http://www.w3.org/2001
/XMLSchema-instance">
   <tns:criteria xsi:type="tns:QueryT">
      <tns:name>gul</tns:name>
   </tns:criteria>
</tns:QueryXXRequest>
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not 
found is http://xxxxxxxx:8080/axis2/s
ervices/TestService and the WSA Action = urn:queryXX
        at 
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
        at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
        at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)
        at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)
        at com.clientapp.TestClient.main(TestClient.java:68)
D:\test\clientapp>




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to