NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Soap XML invoke
« previous
next »
Print
Pages: [
1
]
Author
Topic: Soap XML invoke (Read 5421 times)
ntnewbies
Full Member
Posts: 184
Soap XML invoke
«
on:
January 03, 2015, 09:10:45 PM »
Hi all,
I have watched Bruce Johnson webinar and follow closely the example to do a soap xml invoke wsdl
But i get the attached error message.
What went wrong?
[attachment deleted by admin]
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Soap XML invoke
«
Reply #1 on:
January 03, 2015, 11:21:01 PM »
The error seems to be indicating that the packet you sent contained a "nul" character (ie an ASCII(0) )
Grab your outgoing xml, save it in a file, and open it in say Firefox. That will also report an error if it includes nuls.
If I had to guess I'd say that either;
a) you are encoding your xml in utf-8 or utf-16, but the Charset for the xml is not set correctly. or
b) You're using a Cstring incorrectly somewhere.
cheers
Bruce
Logged
ntnewbies
Full Member
Posts: 184
Re: Soap XML invoke
«
Reply #2 on:
January 04, 2015, 11:15:22 PM »
hi bruce
thanks for the quick response.
the soap xml file in the header did mentioned UTF 8 and i even follow the same uppercase.
as for data declaration, as per the webinar, i declare it as ANY
[attachment deleted by admin]
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Soap XML invoke
«
Reply #3 on:
January 05, 2015, 12:11:53 AM »
If you save your outgoing xml, and open it as a file in Firefox, what does it say?
cheers
Bruce
Logged
ntnewbies
Full Member
Posts: 184
Re: Soap XML invoke
«
Reply #4 on:
January 09, 2015, 10:09:24 AM »
hi bruce,
sorry for late reply. after i save the xml and open it in IE, it shows as you can see in attachment.
however, when i invoke it in the program, still getting the error message
[attachment deleted by admin]
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Soap XML invoke
«
Reply #5 on:
January 12, 2015, 08:30:37 PM »
The xml that was in the Jpeg.
Preferable saved to an attachement file "raw" - ie exactly as your program creates it, not copied into notepad or anything like that.
(use StringTheory.SaveFile for example.)
cheers
Bruce
Logged
ntnewbies
Full Member
Posts: 184
Re: Soap XML invoke
«
Reply #6 on:
January 16, 2015, 12:22:26 AM »
hi bruce,
got it. here is the attachment.
[attachment deleted by admin]
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Soap XML invoke
«
Reply #7 on:
January 19, 2015, 02:11:29 AM »
the file looks ok, and the rest of the code looks ok as well as far as I can see.
Maybe make a small demo app for me and email that to me (you probably don't want to post that here) and I'll run it from here and see what I get.
cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Soap XML invoke