Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SharePoint > SharePoint 2007 > BOOK: Professional Microsoft Office SharePoint Designer 2007 ISBN: 978-0-470-28761-3
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 19th, 2009, 09: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
Reply With Quote
  #2 (permalink)  
Old November 24th, 2009, 02:05 PM
Authorized User
 
Join Date: Nov 2008
Location: , , USA.
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 -
Reply With Quote
The Following User Says Thank You to WoodyWindy For This Useful Post:
JalpaPatel (November 25th, 2009)
  #3 (permalink)  
Old November 25th, 2009, 04: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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 4th, 2007 11:14 PM
sa is not the part of trusted connection mikeparams SQL Server 2000 7 December 23rd, 2003 07:50 AM
how to set parameter default value oranginalab Classic ASP Basics 0 August 28th, 2003 02:53 AM



All times are GMT -4. The time now is 04:04 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.