473,394 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Xslt & Webservices

Two question,

1) is there a way to edit the interface of the display for when accessing a
asmx file through the browser as opposed to that default web service
interface.
For example what if i wanted to use a dropdown list for one of the
paramaters. if this is possible how html, xslt ?

2) can i assign a xslt style sheet to a xml webservices output. Lile
instead of accessing the webservice from code. THe user can access the
webservice and then see the results syled in my fashon as oppsed to the xml
that pops up when you hit the invoke button?

Thanks for any help and suggestions.

WStoreyII

Nov 21 '05 #1
1 1474
1) is there a way to edit the interface of the display for when accessing
a
asmx file through the browser as opposed to that default web service
interface.
For example what if i wanted to use a dropdown list for one of the
paramaters. if this is possible how html, xslt ? You can set the href property of the wsdlHelpGenerator element to point to
an aspx page you want to use as a template. The default template used to
create UIs for web services is located in:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFI G (The path can vary by
OS, installation location and framework version).

2) can i assign a xslt style sheet to a xml webservices output. Lile
instead of accessing the webservice from code. THe user can access the
webservice and then see the results syled in my fashon as oppsed to the
xml
that pops up when you hit the invoke button?

Creating a new template gives you full control over the UI, so it is
possible to do this.
However it sounds like you\re really trying to create a client for your web
services. If so, I suggest that you consider writing an ASP.NET application.
Changing the template is not really a shortcut if you want control over the
results and similar.

Anders Norås
blog. http://dotnetjunkies.com/weblog/anoras
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: J Trost | last post by:
I was wondering if anyone knows if it is possible to do basic string replacement using XSLT even though the strings being replaced may contain "<" and ">". Here is my problem: I need to be able...
2
by: chris | last post by:
Hi there, I create an XML file from a dataset like this: System.IO.StreamWriter xmlSW = new System.IO.StreamWriter(FILENAME); dsUserData1.WriteXml(xmlSW, XmlWriteMode.WriteSchema);...
4
by: WStoreyII | last post by:
I wish to know how to set it up so that when an xml webservice is called that instead of displaying the xml in the browser it will render it with a xslt file the problem is i dont know how to do...
5
by: | last post by:
Hi, How long do webservice objects live for? In particular, if i have static variables filled with data from a static constructor in a webservice, how long will that data persist? thxs
3
by: crc128 | last post by:
Hi, I'm looking at using XML and XSLT with apache cocoon to automatically generate html files for a site. the problem I'm having is that I want one of the pages to display a google map, but the...
0
by: DAnne | last post by:
Hi, I'm very new to xslt and this is my first time posting to a Forum so please forgive me if I transgress any protocols. I have to do a tally report. This report is divided up into sections....
1
by: GREGSMITH | last post by:
Hi all, I have an xml file that I am trying to run through XSLT, but the namespace on some of my source objects are causing the xslt to not find the node. Can't I tell xslt to ignore the namespace?...
4
by: mark4asp | last post by:
I have an element, report which contains tags which have been transformed. E.g. <pis &lt;p&gt <myXml> <report>This text has html tags in it.&lt;p&gt which but <has been changed to &lt;&gt</report>...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.