Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 3 of 3

Thread: Read Only attribute on a field on WSDL record

  1. #1
    Senior Member
    Join Date
    Apr 2007
    Posts
    160

    Default Read Only attribute on a field on WSDL record

    Hi,

    Does anyone know of a way to restrict an exposed field on a WSDL extaccess record so that it is read only or even mandatory?

    Cheers

  2. #2
    Senior Member
    Join Date
    Jan 2002
    Location
    The Netherlands
    Posts
    930

    Default

    Mandatory is set through the application, as per always. Read Only doesn't really exist, but you could either define 2 different services and expose the RO fields only on the "no action" service, or you add some code to undo (delete/empty out) the fields you'd like untouched.

  3. #3
    Senior Member
    Join Date
    Apr 2007
    Posts
    160

    Default

    After thinking about it, the mandatory option was obvious (Doh! hee hee), and both options you gave on the read only solution is great thanks mate.

    I think what threw me was the XML output on soapUI. On that on each field you get something like Read Only [y/n] Mandatory [y/n]. So I thought it picks this up from somewhere.

    Cheers mate
    Last edited by Nosnibor35; 2010-04-30 at 07:32.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts