WCF / ASMX :: How To Receive Sms Using URL
Jan 20, 2011I want to use webservice to send & receive SMS... I know how to send SMS using URL...but dont know how to receive SMS...
View 2 RepliesI want to use webservice to send & receive SMS... I know how to send SMS using URL...but dont know how to receive SMS...
View 2 Repliesi am currently working on a project with an iphone developer in which i need to receive an image to my .net 1.1 web service. Here is the code that locally works fine if i take an image and convert to bytes... but from the iphone it is coming across as an unreadable 1 kb file. Any thought or experience? Is it encoding issue? Developer says he is sending it as utf8?
<WebMethod()> _
Public Function UploadFile(ByVal fileBytes As Byte()) As Boolean
Try
Dim ms As New MemoryStream(fileBytes)
Dim fs As New FileStream("c:attachments est.jpg", FileMode.Create)
ms.WriteTo(fs)
clean up
ms.Close()
fs.Close()
Catch ex as Exception
End Try
End Function
I'm trying to receive a Client Certificate in a Web Service and having some problems.
Client
[Code]....
The certificate seems to be correclty loading and added to the client.
The client connects to the server with HTTPS.
Server:
[Code]....
cert.IsPresent is false and all certificate fields are empty.
IIS is configured to Accept Client Certificates.
Reproduced in two environments:
- Windows 7 x64, IIS 7, VS 2008, .NET 3.5
- XP x86, IIS 5, VS 2008, .NET 3.5
Always in the Web Service the Client Certificate is not proesent. I haven't been able to find any other configuration I should do.
I am trying to create a web service that can do the following functionality:
Request XML
[Code]....
How can I create web service to do this.
I have developed simple user registeration application form in that after press submit button i am sending mail to user for welcome template as well as i am also get on mail for user details like name email id, and ip address.my problem is the user can receive the mail form my site but i am receive the any user details mail it doesnot shows any exception what is the problem i donno please
View 4 RepliesI have a requirement to design an ASPX page to receive a binary image from a remote call. Basically, our client wants to send a POST request from their server to this particular page. This POST request contains some parameters, as well as an JPG image. How should I design this ASPX page to receive all these information? I need to convert the JPG image to byte[] array and save it to DB, together with the rest of the parameter values.
View 1 RepliesIn asp.net (or vb) I must to call a page that only autenticates a user, returning the user data if the logon succed. This way, I would like to implement the sequence:
A blank page (mine) request the autenticator page (3rd part) automatically on load; The user logs in the autenticator page; My page reads the autenticator page results and do the actions.
I'm a very begginer in asp.net, and I'm using vb.net in the environment for coding the page "onload" event. I'm trying to use the "redirect('url')" method to call the autenticator's page, but in this way, obviously, I can't receive the result. How can I implement this sequence?
I wanted to send and receive SMS from my application, as of the need i bought a Wavecom GSM Modem. I also downloaded ActiveXperts Toolkit for communicating with GSM Modem, i can be able to send SMS through the GSM Modem. have problem with receiving SMS.
View 3 Replieshow to receive sms from nokia n70 or upper to pc with c#?i have on ListView and to cloum 1.cloum is sms number and 2.cloum is text messege.
View 1 RepliesI'm completely blanking here. I've got 2 servers that cannot talk to each other via normal network traffic (like just copying a file). I can't get FTP setup on either server due to artificial company security constraints.Server1 basically just has an exe on it that I have written, and it needs to send a file to Server2.Server2 has a full blown asp.net website on it so I'm writing a .ashx page to handle receiving the file.So...Server1 needs to make a call to server2 and send a file to it over http. Server2 needs to accept the file and save it to disk.Where should I start? I know I can make server1 create a WebRequest object, and set the methodto POST, and then stream the content.But on server2, what am I supposed to write? A generic handler? Will my file that I send be part of the context.Request object? How do I get it out?
View 2 RepliesWeb developer newbie question (I am otherwise fluent in C#!):
I need to set up a web site (ASP.NET/C#) that can receive XML posts via HTTP. I haven't the first clue of where to start. Create web site? Web page? Web service? WCF? Can you self-host it, or must it be on IIS? How/where do you catch the post event?
i want to receive some data from my database and in a while loop. i use this code in the while loop
Code:
Dim sqlda As New SqlDataAdapter()
sqlda.SelectCommand = New SqlCommand()
sqlda.SelectCommand.Connection = con
sqlda.SelectCommand.Parameters.Add(paramar(0))
sqlda.SelectCommand.CommandText = "select images,creationdate,dimosieyseis from t_accounts where UserName=@un"
Dim ds As New DataSet()
sqlda.Fill(ds)
if i open and close the connection it becomes slow. if i use a general con and not open and close it then i receive an error
"There is already an open DataReader associated with this Command which must be closed first. "
then i tried to resolve this error with
MultipleActiveResultSets=True that resolves the problem but it is not faster because i think it does the open and close of the connection automatically
I am sending mails from ASP.net application does the same way can i receive mails from other recipients. how can i achieve that.
View 2 RepliesI have create a website and i need to send/receive email from website . I am able to send email through system.net.mail namespace . But it needs an gmail id and password . I want to send email from my website like Username@mywebsite.com and also receive email from another domain like gmail.com . I didn't know how i can perform this task . I don't have a logic .
View 8 RepliesI use T4MVC v.2.6.15 I have following problem with registering routes:My problem route is following:
[Code]....
when I use first scenario (with plain mvc rules) my controller
[Code]....
receives empty line and 1 as a parameters. But in second (and third) cases I receive to it null for both parameters.What do I do incorrectly?
The setup was incredibly easy. The shop was up and running (Local server, for now!) But then I am confused. When the user will purchase a product from my shop, how will I receive the payment?
I searched a lot in order to setup my credit card/accounnt/paypal information in the Admin area, but I couldnt find anything...
i have a working mvc web site (MVC 2)and im tring to add routingso i changed the index this waypublic ActionResult Index(string id)and call to the same url with this addition /1i receive 404 (and try to redirect to defualt.aspx )i have tried few changes on the web.config
View 19 RepliesI have a website written in C# and when a user does something I want to be able to send an IM message to an admin and allow the admin to respond to approve/deny the request.
I would like to use something like MSN Messenger or AIM so that the IM messages can also be sent to phones as sms.
how to receive the payment using mobile in asp.net
View 1 RepliesI would like to create an API for my website to send and receive data.
For example I need my customers to upload products, single or multiple items. Product feeds can be send daily, weekly or monthly.
Product Name:
Product Color:
Product Weight:
Product Images:
Also I need functionality to send this data to another server. And it should be user friendly.
where to start, what technology to use to make it simple and sufficient.
I have background in Asp.Net, C#. It would be great to see an example how to approach it.
i am receiveing mail from pop3server but if it consisting of any image(in body) that can't display properly.when i am showing the body message with image is printed as binary format.
View 4 RepliesMy company is currently looking into bringing a new piece of third party software in for online ordering. The software does not handle pricing so they are requesting the pricing information from a web service. Their software is passing an XML file as a parameter, and expecting an XML file as a response. I would think that returning an XML file would be pretty straight forward, but I cannot think of a way to receive an XML file as a parameter.
View 1 RepliesI used code below to send an email from company exchange server 2010.
For all recipients there is no any problem.
But for Gmail recipients, they can not receive email from app.
Dim myMessage As New MailMessage(strFrom, strTo, strSubject, strBody)
Dim myMail As New SmtpClient("email.company.com")
myMail.Credentials = New System.Net.NetworkCredential("aspnetemail", "password")
myMail.Send(myMessage)
to send and receive messages from my website on to a mobile and if it is then how.
View 8 RepliesI have a user creation form. and want so they automatically receive a username and password when I have approved their profile. right now I only have user creation. How can I do this?
View 9 Replies