Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #11  
Old 09-06-2010, 02:58 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

The following line is the normal call for the webservice method:

Code:
oWS.createAttachment(sid,'doc_rep:1002',newTicketHandle,'My description','C:\qryItems.SQL');

The delcaration of the function is:

Code:
function  createAttachment(const sid: Integer; const repositoryHandle: WideString; const objectHandle: WideString; const description: WideString; const fileName: WideString): WideString; stdcall;
__________________
Regards,
Abdulaziz Jasser
Reply With Quote
  #12  
Old 09-06-2010, 03:26 PM
Norrit Norrit is offline
Moderator
 
Join Date: Aug 2001
Location: Landgraaf
Posts: 7,335
Default

When I try to open "http://192.168.4.85:8080/axis/services/USD_R11_WebService?wsdl" in my browser I get a page not available error...
What happens if you open the url in your browser?
Reply With Quote
  #13  
Old 09-06-2010, 04:50 PM
Jasser Jasser is offline
Moderator
 
Join Date: Jan 2005
Location: Saudi Arabia
Posts: 5,060
Default

That is a local IP inside our LAN. You can not access it from out and it is not the issue. After talking to the vendor of the web service application (CA-Service Desk Manager) which I am trying to call some of it's web methods I was told that the error comes when you are not using DIME encoding with the attachments. Any idea how to solve it?
__________________
Regards,
Abdulaziz Jasser

Last edited by Jasser; 09-06-2010 at 08:09 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 02:02 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.