Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: service Web Client
I am trying to call java web service method in vb6, but always error..
i use SOAP type library v 3.0..
The error is :
Client : Incorrect number of parameters supplied for SOAP request
HRESULT=0x80070057: The parameters is incorrect.
- CLient:Unspecified client error, HRESULT=0x080070057: The parameter is incorrect
 
this is my listing code :
Private Sub Command8_Click()
 
Dim clientSOAP As SoapClient30
Set clientSOAP = New SoapClient30
Dim port As New WSDLPort
 
clientSOAP.mssoapinit "http://dealerhondabali.com:8080/TambahSPKService/TambahSPKService?WSDL;
 
Dim nResult As Integer
Dim strResult As String
 
'================method insertDataSPK===============
Dim spkTanggal As String
Dim posId As String
Dim slsId As String
Dim spkNoKtpFakturStnk As String
Dim spkNamaFakturStnk As String
Dim spkAlamatFakturStnk As String
Dim spkKelurahanFakturStnk As String
Dim spkJenisPenjualan As Integer
Dim spkLeasing As String
Dim spkDownPayment As String
Dim spkTenor As String
Dim spkJenisBunga As String
Dim dlrCodeHso As String
Dim createBy As String
Dim createDate As String
Dim updateBy As String
Dim updateDate As String
 
spkTanggal = "21/06/2012"
posId = "09221001"
slsId = "203872"
spkNoKtpFakturStnk = "5108023112790062"
spkNamaFakturStnk = "I Made Testing"
spkAlamatFakturStnk = "Jalan street gang line"
spkKelurahanFakturStnk = "14"
spkJenisPenjualan = "1"
spkLeasing = "1"
spkDownPayment = "500000"
spkTenor = "36"
spkJenisBunga = "menurun"
dlrCodeHso = "00637"
createBy = "user"
createDate = "21/06/2012"
updateBy = "user"
updateDate = "21/06/2012"
 
nResult = clientSOAP.insertDataSPK(spkTanggal, posId, slsId, spkNoKtpFakturStnk, spkNamaFakturStnk, _
spkAlamatFakturStnk, spkKelurahanFakturStnk, spkJenisPenjualan, _
spkLeasing, spkDownPayment, spkTenor, spkJenisBunga, dlrCodeHso, createBy, _
createDate, updateBy, updateDate)
 
End Sub
 
can any one please help me.
Thank you
Posted 29-Jun-12 16:32pm
Edited 30-Jun-12 1:43am
(no name)498.5K
v2

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

  Print Answers RSS
0 OriginalGriff 304
1 Maciej Los 285
2 Sergey Alexandrovich Kryukov 230
3 Shweta N Mishra 186
4 Aajmot Sk 153
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 30 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100