Let me get this straight:
You have a VB script somewhere that is trying to use a php function that somehow is registered (exposed) to the VB script via SOAP...
I have no idea on how that is supposed to work but maybe i can point out some troubleshooting tips.
First you say that everything worked fine.... or rather
It works fine until I send Body information ...
What do you mean by that?
Is it that in an earlier version where you did not send the $Body information everything worked as expected. If so my focus would be to the differences between now and then.
Then when I look at where you are explaining how you are making the call,
Dim Header As String = Add_Header.Text
Dim Source As String = Add_Source.Text
Dim Author As String = Add_Author.Text
Dim Body As String = Add_Body.Text
Dim User As String = "ZZZTEST"
Dim IMG As String = "ZZZTest"
Dim ReturnID As String
Try
ReturnID = ws.AddNews(Header, Author, Source, IMG, Body)
Catch ex As Exception
MessageBox.Show(ex.ToString)
Call Enable()
Exit Sub
End Try
I am starting to think that when you say if you remove Body in the above
ws.AddNews(Header, Author, Source, IMG, Body)
that it works, hm hm. Do you mean that without Body in the ws.AddNews call it works with the old php file where you only have 4 arguments to
function AddNews($Header, $Author, $Source, $IMG) {
And when you are executing ws.AddNews with the Body parameter and the modified php file with 5 arguments to AddNews you get the error on missing argumnet for AddNews...
Well this turned only out to be questions rather than answers, sorry but I am still interested and will monitor this thread for the solution.
Good Luck.