Click here to Skip to main content
15,921,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have console class of Fed ex RateAvailableServiceWebServiceClient which is successfully run with console output.Now i want to use this in my Asp.net we site.
i use the

1.Bin RateAvailableServiceWebServiceClient.Dll
2.web service
3.Web Reference

Still there is error in using with namespaces so i cat access any method or object of this.
Can anybody tell me how to use this console class in Asp.net Website?
Posted

1 solution

If it's a class, you can just copy it in to your web site. If it uses console UI, you need to rewrite that bit. I suspect your namespace error is that you've not imported console dlls in to your web project, which is good, they would be useless. You need to rewrite any UI code.
 
Share this answer
 
Comments
Nandakishor Arun Gaikwad 3-Jun-13 3:20am    
Ref:- https://www.fedex.com/wpor/web/jsp/drclinks.jsp?links=wss/getstarted.html
I download Rate Available Services Project In that Program.cs I put valid credentials ant it gives proper output now in this project they use Web reference .And this Test example i want to implement in my website.But when i added .DLL in Bin from add reference it cant detect the namespace and thrown error ...So at any method i want integrate this demo project into my website please guide me we can use above three methods but i am not able to do this .Please guide me !!! Please Give me demo project with WebForm On ngnandugaikwad@gmail.com
Christian Graus 3-Jun-13 11:33am    
You need to copy the code from the sample in to your web site. you need to able to write and modify code, not just copy and paste.
Nandakishor Arun Gaikwad 4-Jun-13 4:59am    
I handle all the file in my Website but about FedEx I failed to add web reference in my project that's why its continuously shows error on namespaces which is related to the web reference class can you please provide me the Rate Available Services Fed Ex with one Default.aspx
Thanks
Christian Graus 4-Jun-13 9:08am    
I think you've failed to understand what we do here. I'm not going to create a project to do your job for you. Why don't you post actual error messages and code so we can see what you're doing wrong ?
Nandakishor Arun Gaikwad 4-Jun-13 9:48am    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900