Clearnign cache for staff_codegen

19 views
Skip to first unread message

Yasir K

unread,
Mar 28, 2014, 6:02:40 AM3/28/14
to wsf-...@googlegroups.com
Hi there,

Am trying to build a client to a hosted web service on Azure using staff_codegen, it works fine but when I updated the service with new functions , staff_codegen uses the cached version of the WSDL to generate the proxy classes. How can I force staff_codegen to clear the cache or grab the latest WSDL from the Azure service?

YK

Dmitry Utkin

unread,
Mar 28, 2014, 6:23:00 AM3/28/14
to wsf-...@googlegroups.com
Hi,

Try to remove directory named .staff_codegen_cache from directory where you start codegen.

To prevent codegen from creating cache file try to add flag 'do_not_save_wsdl' like this:

staff_codegen -pwsdl http://url-to-wsdl/..  -ddo_not_save_wsdl

'-d' flag is to declare variable, 'do_not_save_wsdl' is a variable name.

пятница, 28 марта 2014 г., 14:02:40 UTC+4 пользователь Yasir K написал:

Yasir K

unread,
Mar 28, 2014, 7:44:18 AM3/28/14
to wsf-...@googlegroups.com
Awesome, thanks dimitry, that is a great tip!
Reply all
Reply to author
Forward
0 new messages