Jon
06-05-07, 23:38
Not sure if this is a problem or by design: I'm would like to retrieve all categories and all merchants....
I thought this might be possible by providing a 0 parameter for icategoryId and aMerchantsId... this works well for getMerchants, the response brings back all of the merchants... but doesn't work for the getCategory msg as this just brings back an empty single category. Can this be altered from your end or am I doing somthing wrong?
Also, is it possible to chain messages within a single soap envelope?
Say I have a page that needs to populate the submenu, update the breadcrumb, populate featured merchants and hotpicks and return a productlist of related products.. at present this would be 5 soap calls... could this be chained so the body of the soap msg would be somthing like this:-
<Body>
<getCategoryTree>
......... params .....
</getCategoryTree>
<getCategoryPath>
.......... params......
</getCategoryPath>
etc etc
</Body>
This is now just 1 call to your server, your web service could iterate through requests and send a single response.... thats a factor five reduction in quota usage....just an idea!
Cheers,
(Pls note I'm not using the PHP client software I'm writing this for .Net as a class using xml.serialisation...)
I thought this might be possible by providing a 0 parameter for icategoryId and aMerchantsId... this works well for getMerchants, the response brings back all of the merchants... but doesn't work for the getCategory msg as this just brings back an empty single category. Can this be altered from your end or am I doing somthing wrong?
Also, is it possible to chain messages within a single soap envelope?
Say I have a page that needs to populate the submenu, update the breadcrumb, populate featured merchants and hotpicks and return a productlist of related products.. at present this would be 5 soap calls... could this be chained so the body of the soap msg would be somthing like this:-
<Body>
<getCategoryTree>
......... params .....
</getCategoryTree>
<getCategoryPath>
.......... params......
</getCategoryPath>
etc etc
</Body>
This is now just 1 call to your server, your web service could iterate through requests and send a single response.... thats a factor five reduction in quota usage....just an idea!
Cheers,
(Pls note I'm not using the PHP client software I'm writing this for .Net as a class using xml.serialisation...)