Developer Forum [ All Topics | New Topic ]

Thread: WebService not working

I am using Delphi xe2. I have created DiamondManager.pas file using wsdl component with the help of web service URL https://technet.rapaport.com/webservices/Upload/DiamondManager.asmx?WSDL. I have received interface methods

procedure Login(const Username: string; const Password: string); stdcall;

function  UploadFiles(const Parameters: UploadFilesParameters): UploadFilesResult; stdcall; and etc.

I have called login procedure successfully, but I call function uploadFiles its generated an exception

---------------------------

Debugger Exception Notification

---------------------------

Project Project1.exe raised exception class ERemotableException with message 'Server was unable to process request. ---> You are not authenticated. Please run the Login function first.'.

---------------------------

While first I have called login function. Please anyone help me.



>> add a comment
Vikas Kumar
09/10/2012 05:55


3 Replies:


This happens if you don't send
the authentication header to consecutive calls. In .NET this will happen
automatically, what platform are you using for your application?





>> add a comment
Leo Muller
9/11/2012 3:53:00 AM

I am using Delphi Xe2 language.
I know Leo but my unit file generates procedure not a function. Then how get receive oauth ticket and send it into the header. Please guide me.

 



>> add a comment
Vikas
9/11/2012 6:31:00 AM
Hi

We need all data from the search and filter  result.Can you let me know how we can get all data.Right now we have only Round and Pear Shape data only.

Is that any other way to get all data.?We are using Web Services also but not successful to get the all data.

Please let me know ASAP.

Thanks

>> add a comment
Need All Data
4/11/2013 8:18:00 AM