|
The javascript seems to be proprietary
MacroMedia code generated by DreamWeaver
or some other MacroMedia product. Try
this instead ...
<html><body>
<img src="default.jpg" width="98" height="38" onmouseover="this.src='over.jpg'"
onmouseout="this.src='default.jpg'"
onclick="this.onmouseout=''" >
</body></html>
<div class="modified">modified on Wednesday, March 10, 2010 7:49 AM</div>
|
|
|
|
|
I am learning about UDDI.
Is there a simple example for the following:-
1. create a simple web service.
2. make the webservice available on web by registering on it using UDDI
Regards,
NetQuestions
|
|
|
|
|
I would say don't bother. UDDI is really only useful if your web service URLs are likely to change often or you are going to have lots of versions where the contract is likely to change. Both of those scenarios usually mean you have more planning you should be doing.
I know some companies have tried to implement UDDI as a way to document what services they have in place so there isn't duplicated effort across different development teams, but rarely does a service from one team exactly fit the needs of another. And because it is an extra documentation step it is often not done anyway so the UDDI repository is never update to date or accurate.
|
|
|
|
|
Hi Gray,
I have read about Discovery files, WSDL and UDDI
I was able to create web service (class library). Then in the same solution I added another project to consume the web service. At that time when I added a web reference I could see the discovery files and wsdl files.
With regards to UDDI, I have only read. Just wanted to see what is it about. Would you know a link to help me.
Suppose I create an application and want to expose one functionality to another application, I can make that method
exposed using web method attribute. Now inorder to expose this functionality is it sufficient to use discovery and wsd l files or UDDI is necessary?
Regards,
NetQuestions
|
|
|
|
|
Hi,
instead of using the default httpsoap protocol, we can use http get and http post.
my question is whether type checking is possible on using http get. From what I understand
on using http get, the url is followed by name-value pairs.
From name-value pairs, I understand it should be the mathod arguments / parameters.
In case of httpsoap, a soap request is structured and it identifies the type(s)
in the request message.
what happens in http get?
Regards,
NetQuestions
|
|
|
|
|
NetQuestions wrote: Hi,
instead of using the default httpsoap protocol, we can use http get and http post.
my question is whether type checking is possible on using http get. From what I understand
on using http get, the url is followed by name-value pairs.
Yes, your understanding is good here..
NetQuestions wrote: From name-value pairs, I understand it should be the mathod arguments / parameters.
No , it is name - value pairs only .
NetQuestions wrote:
In case of httpsoap, a soap request is structured and it identifies the type(s)
in the request message.
what happens in http get?
Depending on the server technology used such as cgi,
asp, aspx (coldfusion) you will probably be supplied
a hash of name value pairs .
|
|
|
|
|
hi dave,
so http_get is primarly sending a hash table across?
and how about type checking then? None?
Regards,
Netquestions
|
|
|
|
|
Hi,
I submitted my site to google webmaster. webmaster displays a crawl error and google also tried to chache the site on 1 march.
I have removed the error. When google will chache my website again.
|
|
|
|
|
JM2251 wrote: When google will chache my website again
Presumably when they are good and ready.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
ok it means google crawls itself again.
|
|
|
|
|
Hi,
How to send a mail using ASP?
I am using windows server 2003. I want to have a form, in which user can enter name,email address and then in the submit button, send the mail.
How to achieve this?
Thank youThanks & Regards,
Venkat
|
|
|
|
|
Google (or Bing) is your friend!
Lots of examples out there.
Just search for net.mail example
|
|
|
|
|
 Hi,
I searched that. But I am not getting for using in windows server 2003.
I tried the below code:
<%
Option Explicit
dim sName, sEmail, sMessage
dim oCdoMail, oCdoConf, sConfURL
if Request.Form("Action") <> "" then
sName = Request.Form("Name")
sEmail = Request.Form("Email")
sMessage = Request.Form("Message")
Set oCdoMail = Server.CreateObject("CDO.Message")
Set oCdoConf = Server.CreateObject("CDO.Configuration")
sConfURL = "http://schemas.microsoft.com/cdo/configuration/"
with oCdoConf
.Fields.Item(sConfURL & "sendusing") = 2
.Fields.Item(sConfURL & "smtpserver") = "server name"
.Fields.Item(sConfURL & "smtpserverport") = 25
.Fields.Update
end with
with oCdoMail
.From = "you@yourdomain.com"
.To = sEmail
.Subject = "My message subject"
.TextBody = sMessage
.HTMLBody = sMessage
.Configuration = oCdoConf
.Send
end with
Set oCdoConf = Nothing
Set oCdoMail = Nothing
response.write "Thanks for your message!"
else
%>
<form method="post" action="<%=Request.ServerVariables("SCRIPT_NAME")%>">
<p>Name:<br /><input type="text" name="Name" /></p>
<p>E-mail:<br /><input type="text" name="Email" /></p>
<p>Message:<br /><textarea name="Message"></textarea></p>
<p><input type="submit" name="Action" value="Send" /></p>
</form>
<%
end if
%>
But I am not getting the mail in inbox. Any help on this..
Thank youThanks & Regards,
Venkat
modified on Tuesday, March 9, 2010 4:33 AM
|
|
|
|
|
What do the logs on the SMTP server say? I assume where it says "server name" you actually have the name of your server correct? Are you getting any error messages?
|
|
|
|
|
no sir it will not give a error because in this we have to define mail protocol name.. we can define SMTP,POP, etc..
but when we want to send mail not store then we can use SMTP protocol if we want to send mail as well as store then we use POP protocol..
so SMTP is not a server name its a type of protocol..
If You Get your answer then please Rating me...
Thanks..
"Are You Ready"
DX-ARMY
|
|
|
|
|
I don't think you understand. You can't use the POP protocol to send mail. To send mail you need to have an SMTP server. That server has a name. In the original poster's code he has the words "server name" as the name of the SMTP server. That would not be a valid server name. Before you try to correct someone, make sure you understand what they said.
|
|
|
|
|
below is my code for playing videos but problem is that video player is hidden automatically after playing videos in mozilla browser but it works ok in internet explorer browser and i m playing .avi files please suggest me.i have use only this much code for playing videos on my website.
<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject" width="900" height="600" style="background-color:black">
<param name="fileName" value="<%=videopath%>">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450"><embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://www.bigbonenews.net<%=videopath%>" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>
|
|
|
|
|
try this html code, it's working fine in mozila..
<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="http://yourdomain/yourmovie.wmv">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True">
<embed type="application/x-mplayer2" src="http://media.pmcmovies.com/SixtiesLove.wmv" name="MediaPlayer" width=320 height=240></embed>
</object>
|
|
|
|
|
may depend on which mozila version u are using 
|
|
|
|
|
In C# web application Requirement is when using admin panel admin inserts categoy,product etc then update also his store database on Ebay i hv integrated site with Ebay store db and updating that too. But Saving data takes time and Admin gets logout automatically I think default session time is up Plz help how to handle this
|
|
|
|
|
Not necessary that Session has timed out. It could be databse transaction timeout too. Or the established Connection timeout. You need to debug and find where the bottle neck is and increase the time accordingly.
P.S.: Please don't post at two places. It's basically ASP.NET question.
|
|
|
|
|
When admin logsout automatically then this session variable contains Null
condition Session["me"] == null becomes true
I have extended sessiontimeout using Session.timeout=40 when setting this session variable value at login sucessfully But still it logsout after saving data in to db with in 30 sec plz help how to handle it
|
|
|
|
|
the Session time out minimum value is 1 minute and by default its 10 minute and we can extend it to 1440 minute using code like..
use the following code in the web.config file in u r application
<session timeount="10000" />
Where 10000 in minutes......
you can get more information from following link:
<a href="http://www.codeproject.com/KB/session/Reconnect.aspx">Prevent Session Timeout in ASP.NET</a>[<a href="http://www.codeproject.com/KB/session/Reconnect.aspx" target="_blank" title="New Window">^</a>]
If You Get your answer then please Rating me...
Thanks..
"Are You Ready"
DX-ARMY
|
|
|
|
|
What the different between data(name, value) in jquery and javascript global variables?
e.g.
jquery:
<br />
<scirpt src='jq'></script><br />
<br />
<script><br />
<br />
function a(){<br />
$("#div").data("i", 1);<br />
....<br />
}<br />
<br />
function b(v){<br />
$("#div").data("i", i+v);<br />
....<br />
}<br />
</scirpt><br />
without jquery:
<br />
<script><br />
var i=0;<br />
<br />
function a(){<br />
i++<br />
....
}<br />
<br />
function b(v){<br />
i=i+v<br />
.....
}<br />
</scirpt><br />
So, which has better performance?
|
|
|
|
|
Of course the second one! 
modified 27-May-14 4:50am.
|
|
|
|