I need to do something in an asp.net application to get shipping costs
from UPS.
a)does anyone have any C# code for this? That would be immensely
helpful as then I could examine it and apply it directly to my problem
2)if not, can someone help me out with the network programming? there
is no webservice. there is an endpoint that my app would have to talk
to and pass it the information in XML, and I would get some XML back,
which is all fine and good, but I don't know how to say "here's your
XML" and then "oh good, I got some XML back".
iii)Screw UPS for building some network thing that talks XML over HTTP,
but not actually setting up a web service.
any and all help greatly appreciated 4 2113
Scott,
Do you have any specs on how to access this framework? That would go a
long way to determining how to access it.
Also, you will probably want to bone up on the HttpWebRequest and
HttpWebResponse classes to send a request and receive the response. Check
out the XmlDocument class for a method of formulating your XML as well.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni************* *@exisconsultin g.com
"Scott C. Reynolds" <sr*********@ho tmail.com> wrote in message
news:Ol******** **************@ bgtnsc05-news.ops.worldn et.att.net... I need to do something in an asp.net application to get shipping costs from UPS.
a)does anyone have any C# code for this? That would be immensely helpful as then I could examine it and apply it directly to my problem
2)if not, can someone help me out with the network programming? there is no webservice. there is an endpoint that my app would have to talk to and pass it the information in XML, and I would get some XML back, which is all fine and good, but I don't know how to say "here's your XML" and then "oh good, I got some XML back".
iii)Screw UPS for building some network thing that talks XML over HTTP, but not actually setting up a web service.
any and all help greatly appreciated
yes...hundreds of pages of PDF
First, I know how to do the XML...that's the easy part.
Basically I have to make a POST (should have mentioned that in the first
place) to their thing. I can achieve that with HttpWebResponse and
HttpWebRequest? I will begin looking into it.
Nicholas Paldino [.NET/C# MVP] wrote: Scott,
Do you have any specs on how to access this framework? That would go a long way to determining how to access it.
Also, you will probably want to bone up on the HttpWebRequest and HttpWebResponse classes to send a request and receive the response. Check out the XmlDocument class for a method of formulating your XML as well.
Hope this helps.
"Scott C. Reynolds" <sr*********@ho tmail.com> wrote in message
news:Ol******** **************@ bgtnsc05-news.ops.worldn et.att.net... I need to do something in an asp.net application to get shipping costs from UPS.
a)does anyone have any C# code for this? That would be immensely helpful as then I could examine it and apply it directly to my problem
2)if not, can someone help me out with the network programming? there is no webservice. there is an endpoint that my app would have to talk to and pass it the information in XML, and I would get some XML back, which is all fine and good, but I don't know how to say "here's your XML" and then "oh good, I got some XML back".
iii)Screw UPS for building some network thing that talks XML over HTTP, but not actually setting up a web service.
any and all help greatly appreciated
There's a GotDotNet project - DotNETShipping - for an assembly which does
this. It currently supports rate requests for UPS, FedEx, Airborne Express
and USPS. You need to register with each of the individual providers before
you'll be able to use the code, but if you've gotten the UPS documentation
you must have already registered.
Check it out here (watch for wrapping): http://www.gotdotnet.com/Community/W...3-9445b978d1bf
It's not complete, but it should definitely get you started even if you
decide not to use it.
Good luck,
Ryan LaNeve
"Scott C. Reynolds" wrote: yes...hundreds of pages of PDF
First, I know how to do the XML...that's the easy part.
Basically I have to make a POST (should have mentioned that in the first place) to their thing. I can achieve that with HttpWebResponse and HttpWebRequest? I will begin looking into it.
For simple applications, System.Net.WebC lient will work as well.
Cheers,
--
Joerg Jooss jo*********@gmx .net This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Alex Ang |
last post by:
I have written the following VBScript program. It is stored into a
file "map_drive.vbs". It successfully mapped to a network drive
\\server1\data.
Dim WshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
sPwd = inputbox("Enter password")
WshNetwork.MapNetworkDrive "J:", "\\server1\data", false,
"xyz_net\John", sPwd
Msgbox "Drives has been map successful"
|
by: mch2k2 |
last post by:
Hello All
I have just started working on Pyhton.
I need urgent help regarding Python Network Programming.
I want the elctronic version of the Book: Foundations of Python
Network programming by John Goerzen.
If anybody among you have that please forward at my mailID.
Thank you in advance.
Manjeet Chaudhary
|
by: Jay |
last post by:
Hi,
I implemeneted an FTP client and server long time back using Java. I
found sockets porgramming in java quite useful and easy to handle. I
now wanted to implement a similar program using C++. My questions are
1. How good a language is C++ for network programming?
2. what are good onine resources to learn C++ network programming?
3. How similar it is to Java socket programming?
Thanks in advance.
|
by: John Walton |
last post by:
Hello, everyone. I just began school, and they
already assigned us science fair. Since I'm in 8th
grade, I get to do demonstrations for our projects.
I'm probably going to demonstrate Python's networking
capabilities by writing a simple instant messenger
program. I only have a few problems:
1. I know squat about Python network Programming
2. I know nothing about networks
|
by: Jesse Engle |
last post by:
i'm learning how to do some basic low-level network programming. the site
i'm reading talks about "network byte order" and "host byte order". the
thing is, it doesn't give an explanation as to what they are.
i understand most of what the main socket functions do, but i don't
understand what's up with this network byte order stuff.
could someone explain?
--
| |
by: Wayne M J |
last post by:
I have "Professional .Net Network Programming" and "Network Programming for
MS Windows 2nd Ed", but I find both of these to be lacking in what I am
looking for.
Has there been any books printed on serious network programming for C# that
deals with the IP Helper routines?
|
by: Terry |
last post by:
Could someone please suggest me a good book to learn
network programming.
I have been programming in C#/VB.NET/VB 6.0 and have
also used a bit of C++ (not MFC/ATL/COM)
I am a total novice when it comes to networks and I don't
even know the basics.
I need a book which teaches me everything I need to get
started with programming in networks, I dont mind if the
|
by: Eric |
last post by:
Does anyone know of any GOOD network programming book(s) that are C# based,
as well as any online tutorials and forums on network programming?
Thanks
|
by: ppuniversal |
last post by:
Hello,
Can someone tell a good Tutorial on Network Programming in C++, except Beej's Guide and Vijay Mukhi's tutorials.
I want to make a Client Server application in C++ which will involve huge amount of thread programming also, so I wanted a good tutorial which can give me good understanding of all the functions used for Network Programming using Standard C++ (and not using any Network Library other than Winsocks and those available in...
|
by: Mex |
last post by:
Hi,
I'm looking for a good book for beginners about Network Programming.
Besides Stevens' book, I would like something specific for C++
language. Any suggestions?
Thanks in advantage,
Massimo
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |