ActiveX control consuming webservice. - InfoPath Dev
in

InfoPath Dev

ActiveX control consuming webservice.

Last post 07-07-2005 01:04 AM by ScottAtRVC. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-06-2005 09:15 AM

    ActiveX control consuming webservice.

    Hi All.

    I have developed a custom ActiveX control (C#) for an InfoPath form.
    The control consumes a webservice.
    An exception is being thrown when the call to consume the webservice method is made;
    Request for the permission of type System.Net.WebPermission failed.

    The same code works perfectly from managed code within InfoPath itself.

    Can anyone shed any help / security pointers??
    Cheers. Scott.
  • 07-06-2005 11:13 AM In reply to

    Re: ActiveX control consuming webservice.

    How did you install the ActiveX control?

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 07-07-2005 01:04 AM In reply to

    Re: ActiveX control consuming webservice.

    Hi Patrick. I hope you are well?

    The ActiveX control is still a project within my VS solution.
    I created the ICT file to add it to the InfoPath toolbox.
    Within InfoPath i used the toolbox to add the control to the form.

    Also FYI, the form is set to Full Trust using Digital certificates.

    Cheers. Scott.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.