473,396 Members | 1,891 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,396 software developers and data experts.

Transform a Webservice With Xslt

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 this?

Thanks again

WStoreyII
Nov 23 '05 #1
4 2076
Do you mean the asp.net web services test page? , this is just for
testing you shouldn't consume , or expose the service for production
this way, it's better for you to write an asp.net page to consume the
services then you can display it anyway you want
Regards
Erymuzuan Mustapa
WStoreyII wrote:
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 this?

Thanks again

WStoreyII

Nov 23 '05 #2
Hi,

This isn't the recommended practice. If you want to make an XML/XSLT based
inteface, the best way to do this is to create a web application that calls
the back end web service, and then renders the appropriate parts of the
SOAP packet.

Another option is to use InfoPath as the display technology - Infopath is
able to call out to SOAP based web services and then use locally cached
XSLT files along with the Infopath software to create a forms experience
front end.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
Thread-Topic: Transform a Webservice With Xslt
thread-index: AcTiLf2rh/5C4OoXSji5k6tEF3GP9w==
X-WBNR-Posting-Host: 4.131.129.185
From: =?Utf-8?B?V1N0b3JleUlJ?= <WS*******@discussions.microsoft.com>
Subject: Transform a Webservice With Xslt
Date: Tue, 14 Dec 2004 14:41:03 -0800
Lines: 9
Message-ID: <F1**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8086
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

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 this?

Thanks again

WStoreyII

Nov 23 '05 #3
Could you explain or set me up with a site that explains the infopath thing.
because this is indeed what i wish to do.

"Dan Rogers" wrote:
Hi,

This isn't the recommended practice. If you want to make an XML/XSLT based
inteface, the best way to do this is to create a web application that calls
the back end web service, and then renders the appropriate parts of the
SOAP packet.

Another option is to use InfoPath as the display technology - Infopath is
able to call out to SOAP based web services and then use locally cached
XSLT files along with the Infopath software to create a forms experience
front end.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
Thread-Topic: Transform a Webservice With Xslt
thread-index: AcTiLf2rh/5C4OoXSji5k6tEF3GP9w==
X-WBNR-Posting-Host: 4.131.129.185
From: =?Utf-8?B?V1N0b3JleUlJ?= <WS*******@discussions.microsoft.com>
Subject: Transform a Webservice With Xslt
Date: Tue, 14 Dec 2004 14:41:03 -0800
Lines: 9
Message-ID: <F1**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8086
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

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 this?

Thanks again

WStoreyII

Nov 23 '05 #4
Hi Will,

You can tell InfoPath to design a form using a web service. There should
be samples and tutorials to help you do this, either on the office/infopath
site, MSDN, or with Infopath itself. Additionally, there was a discussion
of this just a few weeks back on this forum.

Regards

Dan
--------------------
Thread-Topic: Transform a Webservice With Xslt
thread-index: AcTiTP/+jLGHjY9ETtC96GIpkMmOPQ==
X-WBNR-Posting-Host: 4.131.130.235
From: =?Utf-8?B?V1N0b3JleUlJ?= <WS*******@discussions.microsoft.com>
References: <F1**********************************@microsoft.co m>
<ty**************@cpmsftngxa10.phx.gbl>
Subject: RE: Transform a Webservice With Xslt
Date: Tue, 14 Dec 2004 18:23:01 -0800
Lines: 56
Message-ID: <FF**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8100
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Could you explain or set me up with a site that explains the infopath thing.
because this is indeed what i wish to do.

"Dan Rogers" wrote:
Hi,

This isn't the recommended practice. If you want to make an XML/XSLT based inteface, the best way to do this is to create a web application that calls the back end web service, and then renders the appropriate parts of the
SOAP packet.

Another option is to use InfoPath as the display technology - Infopath is
able to call out to SOAP based web services and then use locally cached
XSLT files along with the Infopath software to create a forms experience
front end.

I hope this helps

Dan Rogers
Microsoft Corporation
--------------------
Thread-Topic: Transform a Webservice With Xslt
thread-index: AcTiLf2rh/5C4OoXSji5k6tEF3GP9w==
X-WBNR-Posting-Host: 4.131.129.185
From: =?Utf-8?B?V1N0b3JleUlJ?= <WS*******@discussions.microsoft.com>
Subject: Transform a Webservice With Xslt
Date: Tue, 14 Dec 2004 14:41:03 -0800
Lines: 9
Message-ID: <F1**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8086
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

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 this?

Thanks again

WStoreyII


Nov 23 '05 #5

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

Similar topics

5
by: KathyB | last post by:
If someone could just explain this to me...I just don't get it! I have an aspx page where I retrieve several session variables and use xmlDocument to transform xml file with xsl file into an...
8
by: Luther Miller | last post by:
I am using the XML tranform functionality in .NET to transform data in a DataSet into XMLSS using an XSLT file I have created. There are about 100 columns and only about 120 rows in the data...
1
by: Owen | last post by:
Hello: I have some xml and xsl in string, "not in file". I want to transform the xml with xsl and the result I want in string (but in xml format). I read this sample : public class Sample {...
3
by: Jason S | last post by:
Hello Group, I am just about tearing my hair out with this one and thought someone may have some insight. I have a transform that wasn't working so I grabbed the nearest debugger (xselerator)...
4
by: schneider | last post by:
Anyone know if there is a way to dynamicly create a Xslt template/s and use them as an xml transform with-out use files for the Xslt? All the methods I see use files. I want to create a Xslt...
1
by: Danny Lesnik | last post by:
Hi i have my XML file c:\prd.xm <?xml-stylesheet type="text/xsl" href="prd.xsl"?><products><product><a>2</a><b>3</b></product><product><a>4</a><b>2</b></product></products This is my XSL file...
1
by: Dan Beanweed | last post by:
I have this xslt : <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:param name="p" select="'q'"/> <xsl:output...
1
by: steve | last post by:
I am trying to create an XSLT Transform but keep getting the same problem. Overload resolution failed because no accessible 'Transform' can be called with these arguments. I create a reference...
3
by: Peter Row | last post by:
Hi, I have 2 XML files and 1 XSLT file. The second XML file has the following declarative 1st line: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> ....the 1st one (the one to be...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.