ExpressMan1
asked on
FedEx Web Services. What is correct procedure to add to .net website. Access denied C:\
Hello,
I have obtained my developer key, password, testing acct number, and meter number from FedEx. I downloaded a wsdl file "RateService_v14.wsdl from the FedEx Developer center. I would like to add a new page to my website where users can view FedEx rates.
Using VS 2010 VB.Net
How do I add this to my project? I tried right clicking on my project in Solution Explorer then "Add Service Reference / Advanced / Add Web Reference"
Then in the URL: C:\FedEx Web Services\RateService_v14.w sdl
Then in the box on the right "Web Services at this address I get the error:
There was an error downloading 'C:\FedEx Web Services'.
Access to the path 'C:\FedEx Web Services' is denied.
I have changed permissions to full for all users for this file.
I read the FedEx pdf and googled but no luck.
Can someone point me in the right direction. Thanks.
I have obtained my developer key, password, testing acct number, and meter number from FedEx. I downloaded a wsdl file "RateService_v14.wsdl from the FedEx Developer center. I would like to add a new page to my website where users can view FedEx rates.
Using VS 2010 VB.Net
How do I add this to my project? I tried right clicking on my project in Solution Explorer then "Add Service Reference / Advanced / Add Web Reference"
Then in the URL: C:\FedEx Web Services\RateService_v14.w
Then in the box on the right "Web Services at this address I get the error:
There was an error downloading 'C:\FedEx Web Services'.
Access to the path 'C:\FedEx Web Services' is denied.
I have changed permissions to full for all users for this file.
I read the FedEx pdf and googled but no luck.
Can someone point me in the right direction. Thanks.
ASKER
Tried the quotation marks in web reference and did not get "Access is denied" message in the box on the right titled "Web Services at this URL", which is now clear, but instead "This program cannot display the web page" "Most likely causes you are not connected to the internet" etc.
Tried just the service reference and got "An error occurred while attempting to start services at "C:\FedEx Web Services\RateService_v14.w sdl"
Details: Invalid URI: The URI scheme is not valid.
Tried just the service reference and got "An error occurred while attempting to start services at "C:\FedEx Web Services\RateService_v14.w
Details: Invalid URI: The URI scheme is not valid.
Can you open up the WSDL file in a text editor? Does it look similar to the one found here:
https://github.com/jzempel/fedex/blob/master/fedex/wsdls/RateService_v14.wsdl
In other words, can you confirm that it is in fact a WSDL file?
https://github.com/jzempel/fedex/blob/master/fedex/wsdls/RateService_v14.wsdl
In other words, can you confirm that it is in fact a WSDL file?
I just tried the one that I linked to above, and it appears to work correctly, so I'm wondering if your file is corrupted.
ASKER
I opened it in notepad and it looks the same.
I don't see where I am supposed to enter the fedex key, password, and meter number in this file though. Is there another file I need for this to work?
I don't see where I am supposed to enter the fedex key, password, and meter number in this file though. Is there another file I need for this to work?
ASKER
Don't know if this helps but if I click on the RateService_v14.wsdl file it opens in a new file in vs 2010.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank You.
The add service reference worked. I will need to keep working on learning the rest though.
The add service reference worked. I will need to keep working on learning the rest though.
e.g.
I don't really think you need to do the "Web Reference", though. The Service Reference *should* accomplish the same thing. If not, then I would fall back to the Web Reference.