publish "Approvals Management" codeunit

manikandanmanikandan Member Posts: 160
edited 2012-07-20 in NAV Three Tier
Hi,
I want to use "Approvals Management" funcionality in webservice.
already i have published "Approvals Management" codeunit.
following URL i am tring to use
URL:http://172.20.1.205:7047/DynamicsNAV/WS/CRONUS India Ltd./Codeunit/ApprovalsManagement
but i got an Error Message .
Kindly view the attachment.
please help me. ](*,)

Regards,
Muthusubramanian.M

Answers

  • james_csjames_cs Member Posts: 39
    well the message is quite helpful but I will spell it out for you - you can't publish a function which takes a record as a parameter as a web service because there is no way you can pass a record variable via SOAP.

    You should write another codeunit that acts as a wrapper for CU439 and publish that.
  • manikandanmanikandan Member Posts: 160
    james_cs wrote:
    well the message is quite helpful but I will spell it out for you - you can't publish a function which takes a record as a parameter as a web service because there is no way you can pass a record variable via SOAP.

    You should write another codeunit that acts as a wrapper for CU439 and publish that.
    Hi james_cs,
    Thanks for your valuable input and my issue got solved. :D:D

    Regards,
    Muhtusubramanian.M
Sign In or Register to comment.