Arsip: error soap action di webservice...

more 18 years ago
novlog
tulung dunk..
sy lg explore bikin webservices client, trus service nya sy coba "QuranService" yg ada di xmethod
wsdl nya: "http://studentmasjid.com/Quran/QuranService.wsdl"
setelah sy run di delphi raise error: "SOAPAction shall match...dst"
kira2 salah nya dmana ya?
koding nya sbb:
hasil wsdl importer nya:
unit QuranService;
...................
// //
QuranPortType = interface(IInvokable)
['{F7357B0F-2F5D-B666-9193-130F656CD939}']
function getVerseEnglish(const chapter: WideString; const verse: WideString): WideString; stdcall;
function getVerseArabic(const chapter: WideString; const verse: WideString): WideString; stdcall;
procedure getVerse(const chapter: WideString; const verse: WideString; out english: WideString; out arabic: WideString); stdcall;
end;
// //
...................
sedangkan test code sy:
uses QuranService;
....................
procedure TForm1.Button1Click(Sender: TObject);
var AQuranPortType:QuranPortType;
begin
HTTPRIO1.WSDLLocation:='http://studentmasjid.com/Quran/QuranService.wsdl';
AQuranPortType := HTTPRIO1 as QuranPortType;
Memo1.Lines.Text:=AQuranPortType.getVerseEnglish('1','1');
end;
mohon bantuannya nya yach...
ga mudheng niy..
more 18 years ago
EkoIndri
procedure TForm1.Button1Click(Sender: TObject);
var
data1,data2 : string;
AQuranPortType:QuranPortType;
begin HTTPRIO1.WSDLLocation:='http://studentmasjid.com/Quran/QuranService.wsdl';
AQuranPortType := HTTPRIO1 as QuranPortType;
Memo1.Lines.Text:=AQuranPortType.getVerseEnglish(data1,data2);
end;
silahkan coba kode diatas mas.....

more 18 years ago
novlog
msh sama mas...
raise nya:
:!: SOAPAction shall match 'uri#method' if present(got 'http://studentmasjid.com/Quran#getVerseEnglish',expected'#chapter')
error msg kya gini sy lom tau maksudnya apa..

more 18 years ago
novlog
om-om, mas-mas, or rekan2 smuanya..
lanjut nanya lagi deh yes... about web service pliz.........
ada ga yach...
kondisi2 tertentu yg nanti nya berpengaruh ama bisa-nggak nya suatu web service utk bs di consume ama delphi.
apakah itu mungkin berdasarkan background development web sevice-nya yg dibuat pake apa... or
apakah itu mungkin jg kt bs liat dr struktur wsdl -nya,
shg ntar tu sebelum coding kt dah bs taw bhw method A di service B tu bs dipake apa nggak...
btw utk sample case aja dari web service yg sy pake diatas,
pas sy import pake delphi.net ada baris remark giniy di file .pas nya
...................
// CODEGEN: The operation binding 'getVerseEnglish' from namespace 'http://studentmasjid.com/Quran' was ignored.
// The combination of style=rpc with use=literal is not supported.
.........................
apa bener ya klo dah gini kondisinya niy service emang ga bs di akses pake delphi ataw
emang perlu trik-nya... { gentleman plz... i beg on you }
{ hehehe... gw niy bisa nya cuma delphi doank siy, so panic klo bs }
o'rite then.. nuhun pisan punteun sadayana..
compiled..!,
more 18 years ago
granula
memang perlu diperhatikan. seksama. masalah compabilitas. versi yang terbaru belum tentu mendukung. malah cenderung menurun kinerjanya. selamat ultah buat nov.

more 18 years ago
aburasheed
Assalamualaikum
I don't know much about Delphi, but have you tried using "String" type as the parameters?
Wassalam
more ...
- Pages:
- 1
reply |
Report Obsolete
AI Forward

🚀 We're thrilled to partner with Alibaba Cloud for "AI Forward - Alibaba Cloud Global Developer Summit 2025" in Jakarta! Join us and explore the future of AI. Register now:
https://int.alibabacloud.com/m/1000400772/
#AlibabaCloud #DeveloperSummit #Jakarta #AIFORWARD
Last Articles
Last Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 4 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 5 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 12 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 12 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 12 years ago
Random Topic
- dari pake query mo dijadi pake ADOQuery qo error y
by fafa in Tip n Trik Pemrograman more 17 years ago - Triger mysql ke host berbeda
by sinaga in MySQL more 14 years ago - Trouble with ADO
by grounders in Hal umum tentang Pascal Indonesia more 19 years ago - About Databse using TQuery?
by mohawk in MySQL more 19 years ago - Konvert ke dll
by belajaraja in Tip n Trik Pemrograman more 17 years ago - nilai max query
by yayaretina in MySQL more 18 years ago - Bagaimana cara menyimpan username dan password di aplication
by purnomo2007 in Hal umum tentang Pascal Indonesia more 15 years ago - Cara backup dan restore data di program delphi
by wati in Multimedia & Graphic Enhancement more 12 years ago - Kapan Delphi-ID bisa seperti ini ?
by Manz in Hal umum tentang Pascal Indonesia more 15 years ago - Looping
by teru2bozo in Tip n Trik Pemrograman more 17 years ago