473,407 Members | 2,359 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,407 software developers and data experts.

change XML output from a WebService ??

jlrodrigues
Hello.
I'm not sure if this is the right forum (also posted in XML forum), but my problem is the following:

I have a Webservice e need to access by HTTP POST. I have this method that returns a string and returns always this XML:

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="namespace">string</string>

How can i modify the webservice (or webmethod) to change the output?
For instance, i'd like to output the following:

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="http://localhost/XSLTs/WS1Wm1.xsl" type="text/xsl"?>
<string xmlns="namespace">string</string>

This would save me an entire interface between the WS and my final Http Page.

Really need a help here, i'm a freshman in WebServices, and this is urgent.

(Using VS2003 with C# and .Net 1.1)

Thanks in advance!
Jan 4 '07 #1
0 1033

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Martijn van Exel | last post by:
Hi all, I'm receiving output from a webservice formatted as follows: <?xml version="1.0" encoding="utf-8"?> <DataSet xmlns="http://tempuri.org/adrloc/levering"> <xs:schema...
6
by: mekim | last post by:
Hello, I have a webservice client that needs to change which webservice server it calls? I keep reading change the webservice.url ...but I don't see that property regards, mekim
4
by: ziondreams | last post by:
I'm currently working on a system that will allow our 175+ clients that store their data on our databases to export the data to their systems (via webservice) and also call other web services to...
0
by: J | last post by:
I wrote a simple test webservice in .net but when I use the test page to try and run the webservice. IE does not recognize the output as an XML document, ie it doesn't automatically format the XML...
5
by: joeblast | last post by:
I have a Web service that gets the financial periods and hold a reference to a disconnected dataset built at initialization. Web methods work on the dataset inside the web service. Everything is...
4
by: andreas.w.h.k. :-\) | last post by:
How do I change the address location in the wsdl <wsdl:port name="SearchSoap12" binding="tns:SearchSoap12"> <soap12:address location="http://searchservices/engine/search.asmx" /> </wsdl:port> ...
8
by: Maxi | last post by:
Hello, i'm sorry my bad english :( I have CR9 Webservice, how to change databadse name and User_name into Webservice method? (not Viewer Control) Tks!! -- --------------------------
5
by: heidi.hunter | last post by:
I just downloaded the most recent (2.4.3) Python and IDLE (1.1.3) to Windows XP Professional. I'm new to the IDLE environment, so hopefully someone can tell me what I'm missing here! Below is the...
2
jlrodrigues
by: jlrodrigues | last post by:
Hello. I'm not sure if this is the right forum (also posted in ASP forum), but my problem is the following: I have a Webservice e need to access by HTTP POST. I have this method that returns a...
2
jlrodrigues
by: jlrodrigues | last post by:
I have this WebService with a webmethod tha returns XML, accessed by HTTP POST... The webservice response is: <?xml version="1.0" encoding="utf-8"?> XML For XML i create a XMLDocument...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.