Thanks Chanaka,

Now its working fine.

Regards,
Chathurika


On Wed, Apr 9, 2014 at 5:13 PM, Chanaka Fernando <[email protected]> wrote:

> Hi Chathurika,
>
> Did you try with the sample client?
>
> ant stockquote -Dtrpurl=http://localhost:8280 -Dsymbol=foo
>
>
> Looks like you are not sending the Action header with your request. If you
> use the sample client, it will set the action header (wsa:Action).
>
> Thanks,
> Chanaka
>
>
>
> On Wed, Apr 9, 2014 at 4:36 PM, Chathurika Mahaarachchi <
> [email protected]> wrote:
>
>> Hi
>>
>> could you please have a look on this exception
>>
>> regards,
>> Chathurika
>>
>> On Wed, Apr 9, 2014 at 2:20 PM, Chathurika Mahaarachchi <
>> [email protected]> wrote:
>>
>>> Hi
>>>
>>> Created a proxy for  Publish-Subscribe Channel EIP as follows, and
>>> created a topic as " PublisherSubsciber"
>>>
>>> Started two sample Axis2 server instances in port 9000  and 9001
>>>
>>>
>>> https://docs.wso2.org/display/IntegrationPatterns/Publish-Subscribe+Channel
>>>
>>>
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>>
>>> <proxy xmlns="http://ws.apache.org/ns/synapse";
>>>
>>> name="Event"
>>>
>>> transports="https,http"
>>>
>>> statistics="disable"
>>>
>>> trace="disable"
>>>
>>> startOnLoad="true">
>>>
>>> <target>
>>>
>>> <inSequence>
>>>
>>> <event topic="PublisherSubsciber"/>
>>>
>>> </inSequence>
>>>
>>> <faultSequence>
>>>
>>> <log level="full">
>>>
>>> <property name="MESSAGE" value="Executing default &#34;fault&#34;
>>> sequence"/>
>>>
>>> <property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
>>>
>>> <property name="ERROR_MESSAGE"
>>> expression="get-property('ERROR_MESSAGE')"/>
>>>
>>> </log>
>>>
>>> <drop/>
>>>
>>> </faultSequence>
>>>
>>> </target>
>>>
>>> <description/>
>>>
>>> </proxy>
>>>
>>>
>>> Then I tried using giving the below message
>>>
>>>
>>> <soapenv:Envelope xmlns:soapenv="
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ser="
>>> http://services.samples"; xmlns:xsd="http://services.samples/xsd";>
>>>    <soapenv:Header/>
>>>    <soapenv:Body>
>>>       <ser:getQuote>
>>>          <ser:request>
>>>             <xsd:symbol>foo</xsd:symbol>
>>>          </ser:request>
>>>       </ser:getQuote>
>>>    </soapenv:Body>
>>> </soapenv:Envelope>
>>>
>>> following error is observed in axis2 server
>>>
>>> 14/04/09 13:57:44 ERROR engine.AxisEngine: The endpoint reference (EPR)
>>> for the Operation not found is /services/SimpleStockQuoteService and the
>>> WSA Action = http://ws.apache.org/ws/2007/05/eventing-extended/Publish.
>>> If this EPR was previously reachable, please contact the server
>>> administrator.
>>>
>>> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the
>>> Operation not found is /services/SimpleStockQuoteService and the WSA Action
>>> = http://ws.apache.org/ws/2007/05/eventing-extended/Publish. If this
>>> EPR was previously reachable, please contact the server administrator.
>>>
>>> at
>>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
>>>
>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>>>
>>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>>>
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>>>
>>> at
>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>>
>>> at
>>> org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:459)
>>>
>>> at
>>> org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:279)
>>>
>>> at
>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>>
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>>
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>>
>>> at java.lang.Thread.run(Thread.java:722)
>>>
>>> 14/04/09 13:57:44 ERROR nhttp.ServerWorker: Error processing POST request
>>>
>>> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the
>>> Operation not found is /services/SimpleStockQuoteService and the WSA Action
>>> = http://ws.apache.org/ws/2007/05/eventing-extended/Publish. If this
>>> EPR was previously reachable, please contact the server administrator.
>>>
>>> at
>>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
>>>
>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>>>
>>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>>>
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
>>>
>>> at
>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>>
>>> at
>>> org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:459)
>>>
>>> at
>>> org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:279)
>>>
>>> at
>>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>>>
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>>
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>>
>>> at java.lang.Thread.run(Thread.java:722)
>>>
>>> Please have a look.
>>>
>>> Regards,
>>>
>>> --
>>> *Chathurika Mahaarachchi*
>>> Software Engineer, QA.
>>> WSO2 Inc.: http://wso2.com/
>>> lean.enterprise.middleware
>>> Mobile: +94718223950
>>>
>>
>>
>>
>> --
>> *Chathurika Mahaarachchi*
>> Software Engineer, QA.
>> WSO2 Inc.: http://wso2.com/
>> lean.enterprise.middleware
>> Mobile: +94718223950
>>
>
>
>
> --
> --
> Chanaka Fernando
> Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 773337238
> Blog : http://soatutorials.blogspot.com
> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
> Twitter:https://twitter.com/chanakaudaya
> Wordpress:http://chanakaudaya.wordpress.com
>
>
>
>


-- 
*Chathurika Mahaarachchi*
Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
lean.enterprise.middleware
Mobile: +94718223950
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to