I'm using web services in tomcat. As client i use Vusual studio 6.0 c++ with axis client stubs.
With wsdl2ws i generate client stubs from wsdl. When i tried out some web services which are published on Internet, work vs c++ with axis client stubs OK. but when i tried to use web services on tomcat, the program gave exception in generated stub in line ...invoke() web service...
i looked with tcpmon and find out that in httppost header a parameter "Content-Length:" is set to a number which is smaller than the actual length of the envelope. so if i set this number from let's say 350 to 356 and in tcpmon clik send to server, i get the correct answer else not. In ultra edit i see that some spaces are added at the end of lines in envelope.
i'd like to know why the spaces are added in envelope or why ,when the content-length is calculated,is set wrong length in header?
yes and where the hell in code is actually generated header and envelope, so i could see what's wrong. Thanks for reply....