Ali Synapse can also send REST requests. You need to switch back to the REST URL and add the following format="pox"
<address uri="http://localhost:9000/soap/SimpleStockQuoteService" format="pox"/> into the address tag. Please see sample 152 http://ws.apache.org/synapse/Synapse_Samples.html#Sample152 Paul On Jan 3, 2008 9:25 AM, ali_khan <[EMAIL PROTECTED]> wrote: > > hi, > I think the problem is due to the firewall because when I put the following > url(REST request) in web browser: > http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=0GGBQRMT1MHNNDN5BY02&Operation=ItemLookup&IdType=ASIN&ItemId=0706922611 > I get proper result in the browser as an XML. > > But when I put the below URL(SOAP request): > > http://webservices.amazon.com/onca/soap?Service=AWSECommerceService&AWSAccessKeyId=0GGBQRMT1MHNNDN5BY02&Operation=ItemLookup&IdType=ASIN&ItemId=0706922611 > > I get (HTTP 500 Internal Server Error) > > I think the soap requests are being blocked by proxy. > > Please suggest any solution for this, because rest I am doing the same as > you mentioned. > > Thanks > faisal > > > > > > > asankha wrote: > > > > Faisal > >> <P>Your cache administrator is mailto:root root . > >> ... > >> Generated Wed, 02 Jan 2008 13:02:04 GMT by proxyserver.mycompany > >> (squid/2.5.STABLE6) > >> > > Seems like your local cache/proxy server is having issues with the use > > of TCPMon.. Usually a POST is of the form "POST /xxx HTTP/1.0" and the > > /xxx is the relative URL of the requested resource. However if you > > specify a TCPMon endpoint such as http://localhost:9090/xxx a proxy > > server may sometimes try to use it and call on itself.. > > > > please try the exact configuration I sent without using TCPMon and let > > me know. Also use the utilities I pointed earlier to send the sample > > request. Since that configuration works for me perfectly, you should be > > able to get to this same point first and then try out variations > > > > Let me know how it goes.. > > asankha > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Amazon-proxy-unable-to-forward-request-to-amazon-search-service-tp14526765p14594024.html > Sent from the Synapse - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]