MinOccurs = 0 and Nillable = True - if you want it to be an optional mapping. You may not want to always set both to this, but in most cases it won't hurt.
Here's an article on the difference: http://www.dimuthu.org/blog/2008/08/18/xml-schema-nillabletrue-vs-minocc urs0/ You have to set it for each field where this may apply. Regards, Andrew Goodall Software Engineer 2 | Development Services | jcpenney . www.jcp.com <http://www.jcp.com/> ________________________________ From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Kemes, Lisa Sent: Friday, August 26, 2011 12:38 PM To: arslist@ARSLIST.ORG Subject: Re: .Net Example of getting data from a Web Service Thanks so much Andrew. What level do you set eh MinOccurs and Nillable properties? I see I can do it at the Form level and also at the field level....(would I have to set this property on every mapped field?) Lisa From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Andrew C Goodall Sent: Friday, August 26, 2011 1:04 PM To: arslist@ARSLIST.ORG Subject: Re: .Net Example of getting data from a Web Service ** See attached. This is VS2005 Also - to cut down on the amount of mapping your programmer has to do, make sure you set MinOccurs = 0 and Nillable=True on the remedy wsdl mapping (see options on field mapping) if the field is not required. I noticed on a lot of the OOTB web services BMC did not set these values even if the field was optional. Regards, Andrew Goodall Software Engineer 2 | Development Services | jcpenney . www.jcp.com <http://www.jcp.com/> ________________________________ From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Kemes, Lisa Sent: Friday, August 26, 2011 11:38 AM To: arslist@ARSLIST.ORG Subject: .Net Example of getting data from a Web Service I'm working with one of our .Net programmers and I just Published a very simple webservice and he's having problems getting the data. I have a OpGetList operation set up for him, but he's having a hard time getting the data. It's a pretty simple form and webservice. He requesting a snippet of anyone's .net code that gets data from a web service (created from the AR System). I sent him the WSDL URL. Everything looks OK on my end. Does anyone have something they can send me to get him started? Much appreciated!!! ARS 7.1 P7 Oracle 11g Windows 2003 Lisa Kemes AR System Developer TE Information Systems Global Infrastructure and Ops +01 717 810 2408 tel +01 717 602 9460 mobile lisa.ke...@te.com MS 161-43 P.O. Box 3608 Harrisburg, PA 17105-3608 <http://www.te.com/> www.te.com <http://www.te.com/> <http://twitter.com/teconnectivity> <http://www.facebook.com/teconnectivity> <http://www.flickr.com/photos/teconnectivity/> <http://www.linkedin.com/groups?gid=1591657> <http://www.youtube.com/teconnectivity> _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_ </pre><font face="monospace"size="-3"><br>The information transmitted is intended only for the person or entity to which it is addressed and <br>may contain confidential and/or privileged material. If the reader of this message is not the intended<br>recipient, you are hereby notified that your access is unauthorized, and any review, dissemination,<br>distribution or copying of this message including any attachments is strictly prohibited. If you are not<br>the intended recipient, please contact the sender and delete the material from any computer.<br><pre> _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"
<<image006.jpg>>
<<image005.jpg>>
<<image004.jpg>>
<<image003.jpg>>
<<image002.jpg>>
<<image001.gif>>