Hallo allemaal,
Ik wil graag de ascii code 12 (form feed) via soap versturen alleen krijg ik telkens de volgende fout code:
client, connector - server returned contenttype other then text/xml!
VB6:
server (dll) :
Public Function geefASC() As String
geefASC = Chr(12)
End Function
client:
Option Explicit
Dim soapclient As MSSOAPLib.soapclient
Private Sub Command1_Click()
On Error Resume Next
MsgBox soapclient.geefASC()
If Err.Number <> 0 Then
MsgBox soapclient.faultcode & ", " & soapclient.faultstring
End If
End Sub
Private Sub Form_Load()
Set soapclient = New MSSOAPLib.soapclient
Call soapclient.mssoapinit("http://alfred-laptop/ascii/asciFormat.WSDL")
End Sub
Waarschijnlijk heeft het iets met de encodig te maken, iemand een iedee?
Ik wil graag de ascii code 12 (form feed) via soap versturen alleen krijg ik telkens de volgende fout code:
client, connector - server returned contenttype other then text/xml!
VB6:
server (dll) :
Public Function geefASC() As String
geefASC = Chr(12)
End Function
client:
Option Explicit
Dim soapclient As MSSOAPLib.soapclient
Private Sub Command1_Click()
On Error Resume Next
MsgBox soapclient.geefASC()
If Err.Number <> 0 Then
MsgBox soapclient.faultcode & ", " & soapclient.faultstring
End If
End Sub
Private Sub Form_Load()
Set soapclient = New MSSOAPLib.soapclient
Call soapclient.mssoapinit("http://alfred-laptop/ascii/asciFormat.WSDL")
End Sub
Waarschijnlijk heeft het iets met de encodig te maken, iemand een iedee?