Shahzad Younas wrote:

Sorry for all the emails!
Just another question, why, in the printer example, do none of the request messages (in the requests folder) supply a resource ID for any of the requests?
Doesnt it need to specify to which printer the request is for? Have I understood it correctly?

Yes, you've understood it correctly. The reason there is no resource ID header in the request files is that the test harness (under docs\example\src\test\org\oasisOpen\docs\wsrf\) takes care of inserting this header with the appropriate value before sending the requests. That is, it first reads in the request file and then modifies the XML before sending the request to the server.


Why are all the commands addressed to the "PrinterFactory" instead of the Printer service?

Similar to the above - the test harness automatically replaces the value of the wsa:To header with the endpoint URL it is going to send the request to.

This was done in this way, because we use this test harness to run the interop tests against all of the various WSRF implementations that are participating in the WSRF interop. Every one of them have a different endpoint URL and use a different name for their resource ID header.

Regards,
Ian

Thanks
shahzad



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to