You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by thilina madu <ma...@yahoo.com> on 2006/01/03 17:38:29 UTC
[axis2-0.93]Error in EPR
Hi all,
While I am trying to access service(axis2-0.93) that give an error(relavant to not found EPR.......)
but Couldn't clarify why it is so.(Under List Available services also displayed my service InteropTest).That works nicely with axis2-0.92.
I think there is no any change took place in making services.xml file once change
from axis-0.92 to axis2-0.93.(I couldn't Identify any change in the services.xml)
madushan thilina
////////////////////////////////////////////here is my client:
public class test_interoperability {
static EndpointReference targetIntegerString =new EndpointReference(
"http://127.0.0.1:8085/axis2/services/InteropTest");
public static void main(String [] arg) throws AxisFault, XMLStreamException {
System.out.println("1.Echoing Integer");
String text = "";
OMFactory fac = OMAbstractFactory.getOMFactory();
OMNamespace omNs = fac.createOMNamespace("http://example1.org/example1","exam");
OMElement value = fac.createOMElement("Text", omNs);
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
text = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
value.setText(text);
OMElement payload = value;
String axisop ="echoInteger";
Options options=new Options();
options.setTo(targetIntegerString);
options.setListenerTransportProtocol(Constants.TRANSPORT_HTTP);
options.setUseSeparateListener(false);
Call call = new Call();
call.setClientOptions(options);
OMElement result= call.invokeBlocking(axisop,payload);
StringWriter writer = new StringWriter();
result.serialize(XMLOutputFactory.newInstance().createXMLStreamWriter(writer));
writer.flush();
System.out.println(result.getText());
}
}
///////////////////////////////this is the error given after invocation
D:\j2sdk1.4.2_07\bin\java -Didea.launcher.port=7532 -Didea.launcher.library=D:\IntelliJ-IDEA-4.5\bin\breakgen.dll -Dfile.encoding=windows-1252 -classpath "D:\j2sdk1.4.2_07\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_07\jre\lib\charsets.jar;D:\j2sdk1.4.2_07\jre\lib\jce.jar;D:\j2sdk1.4.2_07\jre\lib\jsse.jar;D:\j2sdk1.4.2_07\jre\lib\plugin.jar;D:\j2sdk1.4.2_07\jre\lib\rt.jar;D:\j2sdk1.4.2_07\jre\lib\ext\dnsns.jar;D:\j2sdk1.4.2_07\jre\lib\ext\ldapsec.jar;D:\j2sdk1.4.2_07\jre\lib\ext\localedata.jar;D:\j2sdk1.4.2_07\jre\lib\ext\sunjce_provider.jar;D:\Documents and Settings\thilina\Desktop\ttt\classes;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\log4j-1.2.12.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-fileupload-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\wstx-asl-2.8.jar;D:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis2\WEB-INF\lib\bcprov-jdk13-128.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\geronimo-spec-javamail-1.3.1-rc5.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-discovery-0.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-logging-1.0.4.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlsec-1.2.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\junit-3.8.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xbean-2.0.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\geronimo-spec-activation-1.0.2-rc4.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\axis2-0.93.jar;D:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis2\WEB-INF\lib\xalan-2.6.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlParserAPIs-2.6.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\groovy-all-1.0-jsr-01.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\wss4j-SNAPSHOT.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\axis-wsdl4j-1.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\jaxen-1.1-beta-7.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\stax-api-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\maven-itest-plugin-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-codec-1.3.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xercesImpl-2.6.2.jar;D:\Program Files\
Apache
Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\XmlSchema-SNAPSHOT.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlunit-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\opensaml-1.0.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-httpclient-3.0-rc3.jar;D:\IntelliJ-IDEA-4.5\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain test_interoperability
1.Echoing Integer
342
- Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut'
- Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder
- Starting Process SOAP 1.1 message
- Build the OMElelment HeaderBy the StaxSOAPModelBuilder
- Build the OMElelment BodyBy the StaxSOAPModelBuilder
- Invoking Handler 'AddressingInHandler' in Phase 'PreDispatch'
- Invoking Handler 'AddressingBasedDispatcher' in Phase 'Dispatch'
- Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch'
- Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch'
- Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
- Invoking Handler 'DispatchPostConditionsEvaluator' in Phase 'PostDispatch'
- Invoking Handler 'InstanceDispatcher' in Phase 'PostDispatch'
- Invoking Handler 'SOAPProcessingModelChecker' in Phase 'PostDispatch'
- Build the OMElelment FaultBy the StaxSOAPModelBuilder
- Build the OMElelment CodeBy the StaxSOAPModelBuilder
- Build the OMElelment ReasonBy the StaxSOAPModelBuilder
- Build the OMElelment RoleBy the StaxSOAPModelBuilder
- Build the OMElelment DetailBy the StaxSOAPModelBuilder
- Build the OMElelment ExceptionBy the StaxSOAPModelBuilder
org.apache.axis2.AxisFault: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action =
at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70)
at org.apache.axis2.engine.Phase.invoke(Phase.java:167)
at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
; nested exception is:
java.lang.Exception: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action =
at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70)
at org.apache.axis2.engine.Phase.invoke(Phase.java:167)
at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
at org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:166)
at org.apache.axis2.client.Call.invokeBlocking(Call.java:91)
at test_interoperability.main(test_interoperability.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action =
at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70)
at org.apache.axis2.engine.Phase.invoke(Phase.java:167)
at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Unknown Source)
at org.apache.axis2.soap.impl.llom.SOAPFaultImpl.getException(SOAPFaultImpl.java:149)
at org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:161)
... 7 more
Exception in thread "main"
Process finished with exit code 1
---------------------------------
Yahoo! DSL Something to write home about. Just $16.99/mo. or less
Re: [axis2] Error in EPR
Posted by Eran Chinthaka <ch...@opensource.lk>.
Can I see your complete client code ?
thilina madu wrote:
> Hi Chinthaka,
>
> Thank chinthaka that's work nicely once once only after adding the
>options.setAction(operationName).
>
> Sorry for misleadding by dropping operation name at the end while pasting that here.
>
> But If I tried without adding options.setAction(operationName) that same error is given.
> Can't I access my service without setting setAction()[But in userguid that is not mention need of setAction()]
>
> madushan Thilina
>
>
>Eran Chinthaka <ch...@opensource.lk> wrote:
> Hi Thilina,
>
>As the error message clearly indicates you have not given Axis2 Server to identify the operation your message was intended to. Add the operation name to toEPR (http://127.0.0.1:8085/axis2/services/InteropTest/operationNameHere) or set the operation name using options.setAction(operationName).
>
>I don't think this worked even in 0.92.
>
>-- EC
>
>thilina madu wrote:
> Hi all, While I am trying to access service(axis2-0.93) that give an error(relavant to not found EPR.......) but Couldn't clarify why it is so.(Under List Available services also displayed my service InteropTest).That works nicely with axis2-0.92. I think there is no any change took place in making services.xml file once change from axis-0.92 to axis2-0.93.(I couldn't Identify any change in the services.xml) madushan thilina ////////////////////////////////////////////here is my client: public class test_interoperability { static EndpointReference targetIntegerString =new EndpointReference( "http://127.0.0.1:8085/axis2/services/InteropTest"); public static void main(String [] arg) throws AxisFault, XMLStreamException { System.out.println("1.Echoing Integer"); String text = ""; OMFactory fac =
> OMAbstractFactory.getOMFactory(); OMNamespace omNs = fac.createOMNamespace("http://example1.org/example1","exam"); OMElement value = fac.createOMElement("Text", omNs); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { text = br.readLine(); } catch (IOException e) { e.printStackTrace(); } value.setText(text); OMElement payload = value; String axisop ="echoInteger"; Options options=new Options(); options.setTo(targetIntegerString); options.setListenerTransportProtocol(Constants.TRANSPORT_HTTP); options.setUseSeparateListener(false); Call call =
> new
> Call(); call.setClientOptions(options); OMElement result= call.invokeBlocking(axisop,payload); StringWriter writer = new StringWriter(); result.serialize(XMLOutputFactory.newInstance().createXMLStreamWriter(writer)); writer.flush(); System.out.println(result.getText()); } } ///////////////////////////////this is the error given after invocation D:\j2sdk1.4.2_07\bin\java -Didea.launcher.port=7532 -Didea.launcher.library=D:\IntelliJ-IDEA-4.5\bin\breakgen.dll -Dfile.encoding=windows-1252 -classpath
> "D:\j2sdk1.4.2_07\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_07\jre\lib\charsets.jar;D:\j2sdk1.4.2_07\jre\lib\jce.jar;D:\j2sdk1.4.2_07\jre\lib\jsse.jar;D:\j2sdk1.4.2_07\jre\lib\plugin.jar;D:\j2sdk1.4.2_07\jre\lib\rt.jar;D:\j2sdk1.4.2_07\jre\lib\ext\dnsns.jar;D:\j2sdk1.4.2_07\jre\lib\ext\ldapsec.jar;D:\j2sdk1.4.2_07\jre\lib\ext\localedata.jar;D:\j2sdk1.4.2_07\jre\lib\ext\sunjce_provider.jar;D:\Documents and Settings\thilina\Desktop\ttt\classes;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\log4j-1.2.12.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-fileupload-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\wstx-asl-2.8.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\bcprov-jdk13-128.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\geronimo-spec-javamail-1.3.1-rc5.jar;D:\Program Files\Apach
> e
> Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-discovery-0.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-logging-1.0.4.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlsec-1.2.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\junit-3.8.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xbean-2.0.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\geronimo-spec-activation-1.0.2-rc4.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\axis2-0.93.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xalan-2.6.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlParserAPIs-2.6.2.jar;D:\Program Files\Apache Software Foundation\Tomcat
> 5.0\webapps\axis2\WEB-INF\lib\groovy-all-1.0-jsr-01.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\wss4j-SNAPSHOT.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\axis-wsdl4j-1.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\jaxen-1.1-beta-7.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\stax-api-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\maven-itest-plugin-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-codec-1.3.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xercesImpl-2.6.2.jar;D:\Program Files \ Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\XmlSchema-SNAPSHOT.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlunit-1.0.jar;D:\Program
> Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\opensaml-1.0.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-httpclient-3.0-rc3.jar;D:\IntelliJ-IDEA-4.5\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain test_interoperability 1.Echoing Integer 342 - Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut' - Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder - Starting Process SOAP 1.1 message - Build the OMElelment HeaderBy the StaxSOAPModelBuilder - Build the OMElelment BodyBy the StaxSOAPModelBuilder - Invoking Handler 'AddressingInHandler' in Phase 'PreDispatch' - Invoking Handler 'AddressingBasedDispatcher' in Phase 'Dispatch' - Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch' - Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch' - Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch' - Invoking Handler
> 'DispatchPostConditionsEvaluator' in Phase 'PostDispatch' - Invoking Handler 'InstanceDispatcher' in Phase 'PostDispatch' - Invoking Handler 'SOAPProcessingModelChecker' in Phase 'PostDispatch' - Build the OMElelment FaultBy the StaxSOAPModelBuilder - Build the OMElelment CodeBy the StaxSOAPModelBuilder - Build the OMElelment ReasonBy the StaxSOAPModelBuilder - Build the OMElelment RoleBy the StaxSOAPModelBuilder - Build the OMElelment DetailBy the StaxSOAPModelBuilder - Build the OMElelment ExceptionBy the StaxSOAPModelBuilder org.apache.axis2.AxisFault: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action = at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70) at org.apache.axis2.engine.Phase.invoke(Phase.java:167) at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137) at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) ; nested exception is: java.lang.Exception: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action = at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70) at org.apache.axis2.engine.Phase.invoke(Phase.java:167) at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137) at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) at org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:166) at org.apache.axis2.client.Call.invokeBlocking(Call.java:91) at test_interoperability.main(test_interoperability.java:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at
> com.intellij.rt.execution.application.AppMain.main(AppMain.java:78) Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action = at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70) at org.apache.axis2.engine.Phase.invoke(Phase.java:167) at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) a
> t
> org.apache.axis2.soap.impl.llom.SOAPFaultImpl.getException(SOAPFaultImpl.java:149) at org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:161) ... 7 more Exception in thread "main" Process finished with exit code 1 --------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less
>
>
>---------------------------------
> <service name="InteropTest"> <description> This is a sample Web Service for Inter operability testing. </description> <parameter name="ServiceClass" locked="xsd:false">InteropTest</parameter> <operation name="echoFloat"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoVoid"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoDate"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoDecimal"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoString"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoBase64">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoFloatArray"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoHexBinary"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoInteger"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoBoolean"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoStringArray"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoIntegerArray"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation
> name="echoStructArray"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoStruct"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoStruct"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> </service>
>
>
>
>
>
>
>
>---------------------------------
> Yahoo! DSL Something to write home about. Just $16.99/mo. or less
>
>
Re: [axis2-0.93]Error in EPR
Posted by thilina madu <ma...@yahoo.com>.
Hi Chinthaka,
Thank chinthaka that's work nicely once once only after adding the
options.setAction(operationName).
Sorry for misleadding by dropping operation name at the end while pasting that here.
But If I tried without adding options.setAction(operationName) that same error is given.
Can't I access my service without setting setAction()[But in userguid that is not mention need of setAction()]
madushan Thilina
Eran Chinthaka <ch...@opensource.lk> wrote:
Hi Thilina,
As the error message clearly indicates you have not given Axis2 Server to identify the operation your message was intended to. Add the operation name to toEPR (http://127.0.0.1:8085/axis2/services/InteropTest/operationNameHere) or set the operation name using options.setAction(operationName).
I don't think this worked even in 0.92.
-- EC
thilina madu wrote:
Hi all, While I am trying to access service(axis2-0.93) that give an error(relavant to not found EPR.......) but Couldn't clarify why it is so.(Under List Available services also displayed my service InteropTest).That works nicely with axis2-0.92. I think there is no any change took place in making services.xml file once change from axis-0.92 to axis2-0.93.(I couldn't Identify any change in the services.xml) madushan thilina ////////////////////////////////////////////here is my client: public class test_interoperability { static EndpointReference targetIntegerString =new EndpointReference( "http://127.0.0.1:8085/axis2/services/InteropTest"); public static void main(String [] arg) throws AxisFault, XMLStreamException { System.out.println("1.Echoing Integer"); String text = ""; OMFactory fac =
OMAbstractFactory.getOMFactory(); OMNamespace omNs = fac.createOMNamespace("http://example1.org/example1","exam"); OMElement value = fac.createOMElement("Text", omNs); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { text = br.readLine(); } catch (IOException e) { e.printStackTrace(); } value.setText(text); OMElement payload = value; String axisop ="echoInteger"; Options options=new Options(); options.setTo(targetIntegerString); options.setListenerTransportProtocol(Constants.TRANSPORT_HTTP); options.setUseSeparateListener(false); Call call =
new
Call(); call.setClientOptions(options); OMElement result= call.invokeBlocking(axisop,payload); StringWriter writer = new StringWriter(); result.serialize(XMLOutputFactory.newInstance().createXMLStreamWriter(writer)); writer.flush(); System.out.println(result.getText()); } } ///////////////////////////////this is the error given after invocation D:\j2sdk1.4.2_07\bin\java -Didea.launcher.port=7532 -Didea.launcher.library=D:\IntelliJ-IDEA-4.5\bin\breakgen.dll -Dfile.encoding=windows-1252 -classpath
"D:\j2sdk1.4.2_07\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_07\jre\lib\charsets.jar;D:\j2sdk1.4.2_07\jre\lib\jce.jar;D:\j2sdk1.4.2_07\jre\lib\jsse.jar;D:\j2sdk1.4.2_07\jre\lib\plugin.jar;D:\j2sdk1.4.2_07\jre\lib\rt.jar;D:\j2sdk1.4.2_07\jre\lib\ext\dnsns.jar;D:\j2sdk1.4.2_07\jre\lib\ext\ldapsec.jar;D:\j2sdk1.4.2_07\jre\lib\ext\localedata.jar;D:\j2sdk1.4.2_07\jre\lib\ext\sunjce_provider.jar;D:\Documents and Settings\thilina\Desktop\ttt\classes;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\log4j-1.2.12.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-fileupload-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\wstx-asl-2.8.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\bcprov-jdk13-128.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\geronimo-spec-javamail-1.3.1-rc5.jar;D:\Program Files\Apach
e
Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-discovery-0.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-logging-1.0.4.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlsec-1.2.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\junit-3.8.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xbean-2.0.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\geronimo-spec-activation-1.0.2-rc4.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\axis2-0.93.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xalan-2.6.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlParserAPIs-2.6.2.jar;D:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\axis2\WEB-INF\lib\groovy-all-1.0-jsr-01.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\wss4j-SNAPSHOT.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\axis-wsdl4j-1.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\jaxen-1.1-beta-7.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\stax-api-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\maven-itest-plugin-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-codec-1.3.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xercesImpl-2.6.2.jar;D:\Program Files \ Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\XmlSchema-SNAPSHOT.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlunit-1.0.jar;D:\Program
Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\opensaml-1.0.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-httpclient-3.0-rc3.jar;D:\IntelliJ-IDEA-4.5\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain test_interoperability 1.Echoing Integer 342 - Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut' - Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder - Starting Process SOAP 1.1 message - Build the OMElelment HeaderBy the StaxSOAPModelBuilder - Build the OMElelment BodyBy the StaxSOAPModelBuilder - Invoking Handler 'AddressingInHandler' in Phase 'PreDispatch' - Invoking Handler 'AddressingBasedDispatcher' in Phase 'Dispatch' - Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch' - Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch' - Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch' - Invoking Handler
'DispatchPostConditionsEvaluator' in Phase 'PostDispatch' - Invoking Handler 'InstanceDispatcher' in Phase 'PostDispatch' - Invoking Handler 'SOAPProcessingModelChecker' in Phase 'PostDispatch' - Build the OMElelment FaultBy the StaxSOAPModelBuilder - Build the OMElelment CodeBy the StaxSOAPModelBuilder - Build the OMElelment ReasonBy the StaxSOAPModelBuilder - Build the OMElelment RoleBy the StaxSOAPModelBuilder - Build the OMElelment DetailBy the StaxSOAPModelBuilder - Build the OMElelment ExceptionBy the StaxSOAPModelBuilder org.apache.axis2.AxisFault: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action = at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70) at org.apache.axis2.engine.Phase.invoke(Phase.java:167) at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137) at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) ; nested exception is: java.lang.Exception: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action = at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70) at org.apache.axis2.engine.Phase.invoke(Phase.java:167) at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137) at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) at org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:166) at org.apache.axis2.client.Call.invokeBlocking(Call.java:91) at test_interoperability.main(test_interoperability.java:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at
com.intellij.rt.execution.application.AppMain.main(AppMain.java:78) Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action = at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70) at org.apache.axis2.engine.Phase.invoke(Phase.java:167) at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) a
t
org.apache.axis2.soap.impl.llom.SOAPFaultImpl.getException(SOAPFaultImpl.java:149) at org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:161) ... 7 more Exception in thread "main" Process finished with exit code 1 --------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less
---------------------------------
<service name="InteropTest"> <description> This is a sample Web Service for Inter operability testing. </description> <parameter name="ServiceClass" locked="xsd:false">InteropTest</parameter> <operation name="echoFloat"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoVoid"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoDate"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoDecimal"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoString"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoBase64">
<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoFloatArray"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoHexBinary"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoInteger"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoBoolean"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoStringArray"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoIntegerArray"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation
name="echoStructArray"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoStruct"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> <operation name="echoStruct"> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> </service>
---------------------------------
Yahoo! DSL Something to write home about. Just $16.99/mo. or less
Re: [axis2-0.93]Error in EPR
Posted by Eran Chinthaka <ch...@opensource.lk>.
Hi Thilina,
As the error message clearly indicates you have not given Axis2 Server
to identify the operation your message was intended to. Add the
operation name to toEPR
(http://127.0.0.1:8085/axis2/services/InteropTest/*operationNameHere*)
or set the operation name using options.setAction(operationName).
I don't think this worked even in 0.92.
-- EC
thilina madu wrote:
>
>Hi all,
> While I am trying to access service(axis2-0.93) that give an error(relavant to not found EPR.......)
>but Couldn't clarify why it is so.(Under List Available services also displayed my service InteropTest).That works nicely with axis2-0.92.
>
> I think there is no any change took place in making services.xml file once change
>from axis-0.92 to axis2-0.93.(I couldn't Identify any change in the services.xml)
>
> madushan thilina
>
>
>////////////////////////////////////////////here is my client:
> public class test_interoperability {
>
> static EndpointReference targetIntegerString =new EndpointReference(
> "http://127.0.0.1:8085/axis2/services/InteropTest");
>
> public static void main(String [] arg) throws AxisFault, XMLStreamException {
> System.out.println("1.Echoing Integer");
> String text = "";
>
> OMFactory fac = OMAbstractFactory.getOMFactory();
> OMNamespace omNs = fac.createOMNamespace("http://example1.org/example1","exam");
> OMElement value = fac.createOMElement("Text", omNs);
> BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
> try {
> text = br.readLine();
> } catch (IOException e) {
> e.printStackTrace();
> }
> value.setText(text);
> OMElement payload = value;
> String axisop ="echoInteger";
> Options options=new Options();
> options.setTo(targetIntegerString);
> options.setListenerTransportProtocol(Constants.TRANSPORT_HTTP);
> options.setUseSeparateListener(false);
> Call call = new Call();
> call.setClientOptions(options);
> OMElement result= call.invokeBlocking(axisop,payload);
> StringWriter writer = new StringWriter();
> result.serialize(XMLOutputFactory.newInstance().createXMLStreamWriter(writer));
> writer.flush();
> System.out.println(result.getText());
>
> }
>}
>
>
>
>
> ///////////////////////////////this is the error given after invocation
> D:\j2sdk1.4.2_07\bin\java -Didea.launcher.port=7532 -Didea.launcher.library=D:\IntelliJ-IDEA-4.5\bin\breakgen.dll -Dfile.encoding=windows-1252 -classpath "D:\j2sdk1.4.2_07\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_07\jre\lib\charsets.jar;D:\j2sdk1.4.2_07\jre\lib\jce.jar;D:\j2sdk1.4.2_07\jre\lib\jsse.jar;D:\j2sdk1.4.2_07\jre\lib\plugin.jar;D:\j2sdk1.4.2_07\jre\lib\rt.jar;D:\j2sdk1.4.2_07\jre\lib\ext\dnsns.jar;D:\j2sdk1.4.2_07\jre\lib\ext\ldapsec.jar;D:\j2sdk1.4.2_07\jre\lib\ext\localedata.jar;D:\j2sdk1.4.2_07\jre\lib\ext\sunjce_provider.jar;D:\Documents and Settings\thilina\Desktop\ttt\classes;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\log4j-1.2.12.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-fileupload-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\wstx-asl-2.8.jar;D:\Program Files\Apache Software Foundation\Tomcat
> 5.0\webapps\axis2\WEB-INF\lib\bcprov-jdk13-128.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\geronimo-spec-javamail-1.3.1-rc5.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-discovery-0.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-logging-1.0.4.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlsec-1.2.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\junit-3.8.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xbean-2.0.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\geronimo-spec-activation-1.0.2-rc4.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\axis2-0.93.jar;D:\Program Files\Apache Software Foundation\Tomcat
> 5.0\webapps\axis2\WEB-INF\lib\xalan-2.6.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlParserAPIs-2.6.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\groovy-all-1.0-jsr-01.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\wss4j-SNAPSHOT.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\axis-wsdl4j-1.2.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\jaxen-1.1-beta-7.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\stax-api-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\maven-itest-plugin-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-codec-1.3.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xercesImpl-2.6.2.jar;D:\Program Files\
> Apache
> Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\XmlSchema-SNAPSHOT.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\xmlunit-1.0.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\opensaml-1.0.1.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\axis2\WEB-INF\lib\commons-httpclient-3.0-rc3.jar;D:\IntelliJ-IDEA-4.5\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain test_interoperability
>1.Echoing Integer
>342
>- Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut'
>- Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder
>- Starting Process SOAP 1.1 message
>- Build the OMElelment HeaderBy the StaxSOAPModelBuilder
>- Build the OMElelment BodyBy the StaxSOAPModelBuilder
>- Invoking Handler 'AddressingInHandler' in Phase 'PreDispatch'
>- Invoking Handler 'AddressingBasedDispatcher' in Phase 'Dispatch'
>- Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch'
>- Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch'
>- Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch'
>- Invoking Handler 'DispatchPostConditionsEvaluator' in Phase 'PostDispatch'
>- Invoking Handler 'InstanceDispatcher' in Phase 'PostDispatch'
>- Invoking Handler 'SOAPProcessingModelChecker' in Phase 'PostDispatch'
>- Build the OMElelment FaultBy the StaxSOAPModelBuilder
>- Build the OMElelment CodeBy the StaxSOAPModelBuilder
>- Build the OMElelment ReasonBy the StaxSOAPModelBuilder
>- Build the OMElelment RoleBy the StaxSOAPModelBuilder
>- Build the OMElelment DetailBy the StaxSOAPModelBuilder
>- Build the OMElelment ExceptionBy the StaxSOAPModelBuilder
>org.apache.axis2.AxisFault: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action =
> at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:167)
> at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Unknown Source)
>; nested exception is:
> java.lang.Exception: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action =
> at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:167)
> at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Unknown Source)
> at org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:166)
> at org.apache.axis2.client.Call.invokeBlocking(Call.java:91)
> at test_interoperability.main(test_interoperability.java:66)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
>Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Operation Not found EPR is http://127.0.0.1:8085/axis2/services/InteropTest and WSA Action =
> at org.apache.axis2.engine.DispatchingChecker.invoke(DispatchingChecker.java:70)
> at org.apache.axis2.engine.Phase.invoke(Phase.java:167)
> at org.apache.axis2.engine.AxisEngine.invokePhases(AxisEngine.java:443)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:137)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:211)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:181)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> at java.lang.Thread.run(Unknown Source)
> at org.apache.axis2.soap.impl.llom.SOAPFaultImpl.getException(SOAPFaultImpl.java:149)
> at org.apache.axis2.client.InOutMEPClient.invokeBlocking(InOutMEPClient.java:161)
> ... 7 more
>Exception in thread "main"
>Process finished with exit code 1
>
>
>
>
>
>
>
>---------------------------------
> Yahoo! DSL Something to write home about. Just $16.99/mo. or less
>
>
>------------------------------------------------------------------------
>
><service name="InteropTest">
> <description>
> This is a sample Web Service for Inter operability testing.
> </description>
>
> <parameter name="ServiceClass" locked="xsd:false">InteropTest</parameter>
>
> <operation name="echoFloat">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoVoid">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoDate">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoDecimal">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoString">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoBase64">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoFloatArray">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoHexBinary">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoInteger">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoBoolean">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoStringArray">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoIntegerArray">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoStructArray">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoStruct">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
> <operation name="echoStruct">
> <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> </operation>
>
></service>
>