Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2005

Tip: Looking for answers? Try searching our database.

Call a web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
A.M - 18 Jul 2005 16:48 GMT
Hi,

Can I dynamically call a web service within my JavaScrtiot code?

That means I don't want to create a DataAdapter at design time. I want to
build a WebService adapter within the code at runtime and call its methods.

Thank you,
Alan
Brisk - 18 Jul 2005 17:57 GMT
I'm not sure what JavaScrtiot is, but JScript is the scripting language
supported by Infopath.  :) Your best bet would be to install the .net
toolkit for infopath (do a search for the executable) and worked with
managed code (c# or vb.net) instead of jScript.  Then, just set up your
web reference, include the reference as a 'using' or #include, and
create the object:

MyWebService mws = new MyWebService();
returnValue = mws.WebMethodName()
A.M - 19 Jul 2005 02:59 GMT
Hi Brisk,

Sorry about the typo. I use terminal services through a low speed connection
and sometimes I don't see what I type!

On the main topic, The problem is I cannot use VS.NET because we don't want
to install VS.NET on all support team computers.

Can I use JScript to re-configure DataAdapters?

Thank you  for help,
Alan

> I'm not sure what JavaScrtiot is, but JScript is the scripting language
> supported by Infopath.  :) Your best bet would be to install the .net
[quoted text clipped - 5 lines]
> MyWebService mws = new MyWebService();
> returnValue = mws.WebMethodName()
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.