Wrox Programmer Forums
|
BOOK: Professional Microsoft Office SharePoint Designer 2007 ISBN: 978-0-470-28761-3
This is the forum to discuss the Wrox book Professional Microsoft Office SharePoint Designer 2007 by Woodrow W. Windischman, Bryan Phillips, Asif Rehmani; ISBN: 9780470287613
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Microsoft Office SharePoint Designer 2007 ISBN: 978-0-470-28761-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 19th, 2009, 10:43 AM
Registered User
 
Join Date: Jun 2009
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Default Value parameter in Web Part Connection requires default value?

Hi,

I am trying to send web form data(Firstname and lastname) to web service and web service prints a message "Hello <FirstName> <LastName>!".

In XML web service's Data Source properly, I have checked the box "The value of this parameter can be set via a Web Part connection". The problem is if i don't give any default value, it doesn't work. It prints the above message successfuly only if I provide default values during connection.

I am not sure why it is so!? Is it possible to do without default values?

Thanks,
Jalpa
 
Old November 24th, 2009, 03:05 PM
Authorized User
 
Join Date: Nov 2008
Posts: 17
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Is this a service you have written? What does it return if it is called without its parameters?

If it doesn't return anything, SharePoint may be assuming that the service is down, so it doesn't send anything through the connection.

You might have your service return "something" if is called without parameters (or with null parameters), such as some kind of prompt text. (Ideally the null result set will have the same schema as the filled results.)
__________________
- Woody -
The Following User Says Thank You to WoodyWindy For This Useful Post:
JalpaPatel (November 25th, 2009)
 
Old November 25th, 2009, 05:22 AM
Registered User
 
Join Date: Jun 2009
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Yes, I have written the service. Your explanation solved my problem.

Thanks again!
Jalpa





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chap 15 pg 535: SMTP error (requires secure connection, authentication and ssl) tomche BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 8 July 19th, 2009 04:10 AM
Part Default Value Brendan Bartley Access 3 September 18th, 2008 11:41 AM
how do i set default parameter value.. rupen Classic ASP Basics 5 January 5th, 2007 12:14 AM
sa is not the part of trusted connection mikeparams SQL Server 2000 7 December 23rd, 2003 08:50 AM
how to set parameter default value oranginalab Classic ASP Basics 0 August 28th, 2003 02:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.