100+
P: 118
|
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side.
i've attached the sample client source code in vb6 :
__________________________________________________ ________________
'********************* Created procedure *****************************
Private Sub Connect()
strClient = "http://localhost:8080/HiWS/HiWS?WSDL"
End sub
'********************* Form events ************************************
Private Sub cmdDoHello_Click()
Dim Client As New MSSOAPLib30.SoapClient30
Connect
Client.MSSoapInit (strClient)
txtSoapMessage.Text = Client.sayHi("Jeff")
End Sub
__________________________________________________ ________________
just a reminder.. i've added microsoft soap type libraryv3.0 in the references window.
*sayHi is the method of the java webservice
i'm receiving the following errors :
client: incorrect number of parameters supplied for soap request hresult=0x80070057: the parameter is incorrect.
-client: unspecified client error. HRESULT=0x80070057: the parameter is incorrect.
-I hope someone can help me with this one..... i'm running out of time... thanx in advance.
| |
Share this question for a faster answer!