webdork
asked on
Implement .NET
I'm trying to retrieve a shipping label from Fedex in a web application. FE says it can be done and i've got all the tools, just dont know how to use them. I understand ASP pretty good but there is no sample in that language. I've got samples in C# and VB.NET.
I'm not asking for someone to do my work, just point me in the right direction. What would be the best way to proceed?
I'm not asking for someone to do my work, just point me in the right direction. What would be the best way to proceed?
Have you signed up for a FedEx developer account yet?
ASKER
yep
ASKER
ive got the dev key and sample code. not sure how to implement the 12 or so files that make up the vb.net sample.
Then you need to click on "Request Attention" above and get the VB.NET zone added to your question so you can get those experts looking at your question.
ASKER
Done. Thank You
I have no idea about how to specifically provide details about Fedex, but I am willing to help you help yourself...if you are interested...
ASKER
yes very interested. I have sample code provided by Fed Ex, just not sure how to implement.
Can you show me the sample code?
ASKER
EE security does not allow me to attach the sample C# or .NET files. What do you suggest?
Zip up the files, use http://www.ee-stuff.com to upload the zip file, and then give me the URL for the file ID reference.
ASKER
It looks like I can dump the code in to the Code form field. There are about 15 files in each zip archive C3 and .NET. I could also post the zipped files on my server and you could download
ASKER
Do you want to look at C# .NET or both?
ASKER
ASKER
ASKER
Which version do you want to work with (C# or VB.NET)?
ASKER
whichever one is closest to classic ASP
This is what I see:
1) A web service reference to https://gatewaybeta.fedex.com:443/web-services/ship.
2) SOAP objects defined from the WebService for the request (CreatePendingShipmentRequ est)
2) SOAP objects defined from the WebService for the reply (CancelPendingShipmentRepl y, CreatePendingShipmentReply , ProcessShipmentReply, ProcessTagReply).
3) Client class -- CreatePendingShipmentWebSe rviceClien t
4) Methods for CreatePendingShipmentWebSe rviceClien t
a) SetShipmentDetails(CreateP endingShip mentReques t)
b) SetSender(CreatePendingShi pmentReque st)
c) SetRecipient(CreatePending ShipmentRe quest)
d) SetPayment(CreatePendingSh ipmentRequ est)
e) SetLabelDetails(CreatePend ingShipmen tRequest)
f) SetSpecialServices(CreateP endingShip mentReques t, isCodShipment)
g) SetPendingShipmentDetails( CreatePend ingShipmen tRequest)
h) SetEmailNotificationDetail s(CreatePe ndingShipm entRequest )
i) SetCODDetails(CreatePendin gShipmentR equest)
j) SetPackageLineItems(Create PendingShi pmentReque st)
--------------------------
Important methods:
--------------------------
k) CreatePendingShipmentReque st
1) Create a pending shipment request
2) Set the authentication credentials for the user request
3) Set the client detail information for the request
l) Main -- this is the starting point for the sample
1) Create a shipment request
2) Create an instance of the web service
3) Get the reply for the request by calling the "createPendingShipment" web method
1) A web service reference to https://gatewaybeta.fedex.com:443/web-services/ship.
2) SOAP objects defined from the WebService for the request (CreatePendingShipmentRequ
2) SOAP objects defined from the WebService for the reply (CancelPendingShipmentRepl
3) Client class -- CreatePendingShipmentWebSe
4) Methods for CreatePendingShipmentWebSe
a) SetShipmentDetails(CreateP
b) SetSender(CreatePendingShi
c) SetRecipient(CreatePending
d) SetPayment(CreatePendingSh
e) SetLabelDetails(CreatePend
f) SetSpecialServices(CreateP
g) SetPendingShipmentDetails(
h) SetEmailNotificationDetail
i) SetCODDetails(CreatePendin
j) SetPackageLineItems(Create
--------------------------
Important methods:
--------------------------
k) CreatePendingShipmentReque
1) Create a pending shipment request
2) Set the authentication credentials for the user request
3) Set the client detail information for the request
l) Main -- this is the starting point for the sample
1) Create a shipment request
2) Create an instance of the web service
3) Get the reply for the request by calling the "createPendingShipment" web method
If you are used to classic ASP, then I would go with the VB.NET version, since it will be easier to read.
ASKER
OK VB.NET.
Do I need an application beyond Dreamweaver to work with those files?
MY main objective is to get a shipping label returned from FE.
Do I need an application beyond Dreamweaver to work with those files?
MY main objective is to get a shipping label returned from FE.
It depends on your final requirement. If you would like to create an ASP.NET web site, then Visual Web Developer 2010 is a free download, and you can use the VB.NET sample code, with a few tweaks. If you are targeting a different platform, then that sample code is probably useless.
ASKER
Hmm... I've got a lot of time into the site already as ASP. I would like to transition to .NET but not all at once. Can they coexist as the transition progresses?
ASKER
what is my objective with the 15 .Net files in the zip archive? Is it to create a single aspx page? or a page with external reference to some of the support files?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Thanks,
I'm still not sure how to proceed and I don't expect you to do my work for me. How do you recommend I continue my education?
I'm still not sure how to proceed and I don't expect you to do my work for me. How do you recommend I continue my education?
Some light reading to hopefully help you continue with this effort:
Combine Classic ASP and ASP.NET Content Seamlessly with Invisible Blended IFrames
http://www.eggheadcafe.com/articles/20060605.asp
ASP.NET Tutorial
http://www.w3schools.com/aspnet/default.asp
Combine Classic ASP and ASP.NET Content Seamlessly with Invisible Blended IFrames
http://www.eggheadcafe.com/articles/20060605.asp
ASP.NET Tutorial
http://www.w3schools.com/aspnet/default.asp