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