473,503 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Javascript in Web Services

Dear All,

I have build a web services that returns product information. In that
web services I want to display some text in the Footer. To get this I
have a .js file constructed. Now I want to use or consume this file in
my web services.

I tried adding the javascript as below
[WEBMETHOD(Description="<script language=javascript
src=/footer.js></script>")]

But its not diaplying the text i wanted rather its displaying "<script
language=javascript src=/footer.js></script>".

Can any one please help me in solving the issue.

Thanks
Hasham

May 29 '06 #1
2 1096
Hi Hasham

I have a same problem. If you happen to get the solution, do let me
know ;-)

Thanx
Vini

Spam Catcher wrote:
ha********@gmail.com wrote in news:1148902515.469843.5480
@u72g2000cwu.googlegroups.com:
Dear All,

I have build a web services that returns product information. In that
web services I want to display some text in the Footer. To get this I
have a .js file constructed. Now I want to use or consume this file in
my web services.

I tried adding the javascript as below
[WEBMETHOD(Description="<script language=javascript
src=/footer.js></script>")]

But its not diaplying the text i wanted rather its displaying "<script
language=javascript src=/footer.js></script>".

Can any one please help me in solving the issue.

What client are you using? IE? In this case, IE's web service rendering
does not support consuming of Javascript.

I don't know of any web service clients that CAN consume javascript - but
of course your application might...


May 31 '06 #2
Hi

http://groups.google.co.in/group/mic...f2aedf7c93fbc6

http://www.perfectxml.com/ASPNetWebSvc.asp?p=1
the above links helped me a bit but again I got error in web.config
file.

Vins wrote:
Hi Hasham

I have a same problem. If you happen to get the solution, do let me
know ;-)

Thanx
Vini

Spam Catcher wrote:
ha********@gmail.com wrote in news:1148902515.469843.5480
@u72g2000cwu.googlegroups.com:
Dear All,

I have build a web services that returns product information. In that
web services I want to display some text in the Footer. To get this I
have a .js file constructed. Now I want to use or consume this file in
my web services.

I tried adding the javascript as below
[WEBMETHOD(Description="<script language=javascript
src=/footer.js></script>")]

But its not diaplying the text i wanted rather its displaying "<script
language=javascript src=/footer.js></script>".

Can any one please help me in solving the issue.

What client are you using? IE? In this case, IE's web service rendering
does not support consuming of Javascript.

I don't know of any web service clients that CAN consume javascript - but
of course your application might...


Jun 5 '06 #3

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

Similar topics

4
2490
by: Nuno | last post by:
Hello, I'm trying to call some web services only using javascript from a html page. I succeeded on doind this in IE with the use of the behavior:url(webservice.htc); (technique founded in the...
2
9004
by: joelkeepup | last post by:
Hi, I made a change this morning and now im getting an error that says either "a is undefined or null" or "e is undefined or null" the microsoft ajax line is below, I have no idea how to...
5
2922
by: Nike1984 | last post by:
I'm fairly new to Javascript and it's more of a guessing game for me... I'm trying to build an app for Google Maps and just had some issues recently. First off I just wanted to say that everything...
0
7198
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
7072
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...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
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
5570
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
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3149
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.