locked
WSDAPI or WS support in Metro applications

    Question

  • Hello,

    I would like to create a WSD print client Metro style app.  WSDAPI using WsdCodeGen.exe on the WSDL files doesn't compile due to all the APIs being ifdef'd out with the Desktop Family pragma.  Assuming WSDAPI is unsupported for Metro apps?

    The WsUtil.exe generated files on the other hand, do mostly compile, with the exception of struct _WS_CONTRACT_DESCRIPTION, which is #ifdef'd out with the Desktop Family pragma.

    What is the support plan for these two technologies in Windows8?

    Thanks!

    Tuesday, November 22, 2011 5:49 PM

Answers

  • Filed a feedback bug on this issue & closing it out in forums.
    • Edited by Payne Cash Friday, December 2, 2011 7:09 PM
    • Marked as answer by Payne Cash Friday, December 2, 2011 7:09 PM
    Friday, December 2, 2011 7:08 PM

All replies

  • If you have a Metro style app scenario where you are blocked due to an unavailable API, please provide feedback with that detail. If a feature does not exist in the Developer Preview, proceed as if it will not be in the product and provide feedback as to why that would be problematic (nicely of course ;-).

     

    If I can locate any more specifics on this particular API set, I'll post them here.

    Thanks!

    -David

     

    The feedback process template:

    Thank you for posting your feedback, we want to make sure we get the right info including your log files.  Can you also submit feedback using the Windows Feedback Tool from the Connect Site associated with your Windows Developer Preview program? If you’re an MSDN subscriber, the information on how to join the Connect program is included on the download page where you installed Windows Developer Preview.  There’s a link to the Connect site and an invitation code that you can click on to join using a Windows Live ID account. If you’re not an MSDN subscriber follow this limited use link to join the Connect program and then follow the steps here

     

     

    Wednesday, November 23, 2011 12:18 AM
    Moderator
  • WSDAPI is not supported for Metro style apps.  Can you share more information - why does your app need to use WSDAPI to talk to a printer, and what might be lacking in the print APIs in the metro style API set?

     

    Thanks!

    Wednesday, November 23, 2011 10:48 PM
  • OK Arvind, that makes sense, I can probably use the metro print APIs, however as I understand it there is no metro support for WIA scanning.  In that case I would need to generate a WSD scan client.  I think WSDAPI would be the best route for this, however if that is not going to be available then it may also be possible to do it using the WS API, but as I indicated there seems to be only partial support for that at this time.


    • Marked as answer by Payne Cash Friday, December 2, 2011 7:07 PM
    • Unmarked as answer by Payne Cash Friday, December 2, 2011 7:07 PM
    Thursday, November 24, 2011 1:23 AM
  • Filed a feedback bug on this issue & closing it out in forums.
    • Edited by Payne Cash Friday, December 2, 2011 7:09 PM
    • Marked as answer by Payne Cash Friday, December 2, 2011 7:09 PM
    Friday, December 2, 2011 7:08 PM