Options

Exposing a code unit with Automation param as web service

balhiniobalhinio Member Posts: 28
edited 2012-02-25 in NAV Three Tier
Hi All,

I have a simple code unit that contain a function :
CallMe(Recc : Automation "'AutoNavRecord'.AutoNavRecordClass")

The function CallMe contain a custom automation parameter. I publish this code unit as web service, when I whant to open it in IE I got the following error: HTTP 500 internal server error. is it related to the fact that the Automation must be XML Serialsable?

Thanks for Help

Comments

  • Options
    kinekine Member Posts: 12,562
    I think that automations are not supported as parameter type for published functions.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.