Hi Denis, This is a wsdl gen issue when using wsdl-1.1. But if you use the wsdl-2.0, it saw the rest operations correctly with correct http bindings.
see <goog_1026103033> http://data.stratoslive.wso2.com/services/t/ddweerasiri.org/ddweerasiri_ds?wsdl2 Regards, Dinusha. On Sun, Mar 25, 2012 at 11:36 AM, Afkham Azeez <[email protected]> wrote: > This may be a Stratos specific issue. Please check with the standalone DSS > product. Even REST with Stratos ESB seems to be broken. > > On Sat, Mar 24, 2012 at 10:46 PM, Denis Weerasiri <[email protected]> wrote: > >> Hi, >> I created a data-source and it uses following configuration to RESTify >> the data service. >> >> <resource path="product/{productCode}" method="*GET*"> >> <call-query href="productQuery"> >> <with-param name="productCode" query-param="productCode" /> >> </call-query> >> </resource> >> >> I used stratoslive data services and the a stratoslive RSS database. >> >> The problem I have is, whether the generated verb for http binding [1] is >> correct as I configured it to be *GET*. >> >> <wsdl:binding name="ddweerasiri_dsHttpBinding" >> type="tns:ddweerasiri_dsPortType"> >> >> >> >> <http:binding verb="*POST*"/> >> >> <wsdl:operation name="_getproduct"> >> >> <http:operation location="product"/> >> >> <wsdl:input> >> >> <mime:content type="text/xml" part="parameters"/> >> >> </wsdl:input> >> >> <wsdl:output> >> <mime:content type="text/xml" part="parameters"/> >> >> >> >> </wsdl:output> >> </wsdl:operation> >> >> </wsdl:binding> >> >> [1] - >> http://data.stratoslive.wso2.com/services/t/ddweerasiri.org/ddweerasiri_ds?wsdl >> -- >> Thanks, >> Denis >> ---------------------------------------------------------- >> *Denis Weerasiri* >> Software Engineer >> Integration Technologies Team, WSO2 Inc.; http://wso2.com, >> *email: denis <http://goog_277208233/>** [AT] wso2.com <http://wso2.com/> >> * >> *phone: +94117639629 >> * >> *site: >> **https://sites.google.com/site/ddweerasiri/*<https://sites.google.com/site/ddweerasiri/> >> *blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/> >> * >> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri> >> * >> linked-in: >> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
