The Artima Developer Community
Sponsored Link

Web Services Forum
AXIS http post

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
primc primcnekaj

Posts: 1
Nickname: primc
Registered: Jan, 2006

AXIS http post Posted: Jan 15, 2006 2:54 AM
Reply to this message Reply
Advertisement
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....

Topic: xml parsing innovation Previous Topic   Next Topic Topic: safe conection between web services

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use