I am trying to call a web service that uses WS-Addressing. The reason the web service method uses WS-Addressing is that it has the potential to return thousands of rows of data. So rather than waiting several minutes for the call to return with thousands of rows you can specify how many rows you would like “per page” and keep calling repeatedly to get successive pages, at least that is the idea. WS-Addressing is new to me and I do not understand how to call the method so it will return the next “page” of data.
Here the simplified synchronous method call, I have not tried calling the asynchronous method.
GetOrderInfoByNumber(int orderID, int pagesize, bool pageSizeSpedified);
If I call the method with the following values (1000, 5, true) it will return the top 5 rows every time even though this order has 100s of rows.
I am using visual studio 2008 and .Net 3.5, my web references were generated by dev studio 2008 from the .wsdl files provided to me by another developer.
What am I missing? Please Help.
View Complete Post