in

InfoPath Dev

Web Service Make my fields mandatory !!!

Last post 04-27-2008 08:13 PM by desperation. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 12-22-2007 08:10 AM

    • Navid
    • Top 75 Contributor
    • Joined on 12-23-2006
    • Posts 54

    Web Service Make my fields mandatory !!!

    Hi , I'm really confused ...

    when I use a web service to query and submit my database , it makes Some Nullable fileds as Cannot Be Blank !!!!!! (usually DateTime & int fields)

    but you know that only the primary key should be mandatory !!!

    For example ( look at the attachment ) in the attachment , only the PerNo ( Person number ) is mandatory in DB , but when I use a web service the other fileds are marked as ''cannot be blank' 

    why ?! ... I want that user could leave some fileds empty ....


    S.N.R
  • 01-03-2008 08:16 AM In reply to

    Re: Web Service Make my fields mandatory !!!

    Hi Navid,

    This is an annoying habit of InfoPath and I'm not sure why it continues to do this.  You could try editing the XSD yourself to add the xsi:nillable='true' attribute.  That's the best I can think of.  Good luck!

    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 01-04-2008 11:51 PM In reply to

    • Navid
    • Top 75 Contributor
    • Joined on 12-23-2006
    • Posts 54

    Re: Web Service Make my fields mandatory !!!

    Hi & Thanks Matt !

    Now I'm sure that it wasn't my fault !

    yes , it's annoying ...

    S.N.R
  • 01-05-2008 12:45 AM In reply to

    Re: Web Service Make my fields mandatory !!!

    Hi Navid,

    You could try our Database Accelerator Web service (free for trial use) that doesn't try to make assumptions about the data it is receiving: http://www.infopathdev.com/files/folders/dbxldownload/entry22386.aspx. Check out this link for more info: http://www.qdabra.com/content/prodinfo/dbxl-benefits.aspx 

    Let me know if you'd like a quick demo to show you how it works.

    Best,

     

    Patrick Halstead / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 04-27-2008 08:13 PM In reply to

    Re: Web Service Make my fields mandatory !!!

     I encounter the same problem, I thought it has something to do with the web service, yet it is the infopath fault, oops

Page 1 of 1 (5 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.