You are correct it is a post and it is missing a body. However, I used a utility tool TCPMon, to sniff what was being sent to the Apache Http Server.
This does include a body, wrapped in <XML> tags. I do not know why Apache Http Server does not forward this to my tomcat server. The difference between my Tomcat client <--> Tomcat server set up and my Tomcat client <--> Apache <--> Tomcat server, is that the former communicates only over HTTP ports. There is no AJP. The Tomcat client knows which HTTP port the Tomcat server is running on. Whereas, in the later, Apache only knows about the AJP port of the Tomcat Server (which is 23009). It does not know about the HTTP port on the Tomcat Server (which is 23080), I wonder does it need to send PUT http requests with body? To answer your specific questions: "When you have your initial setup, where one Tomcat talks to the other directly" Question 1. which port do you use on the "server" Tomcat ? (can you show the corresponding <Connector> of your Tomcat server.xml file) <Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="23080" redirectPort="7443"/> <Connector enableLookups="false" port="23009" protocol="AJP/1.3" redirectPort="8443"/> Question 2. how does the "client" Tomcat connect to that port and send a request to it ? It is implemented as a Axis2 SOAP service. Question 3. is that request then pure HTTP ? (even if inside, there is a SOAP message) I am not sure quite what you mean, by pure HTTP. In both cases the tomcat client sends out the same HTTP message. The only difference is the port is being sent to. The TCPMon sniffs this as: POST /docy HTTP/1.1 Content-Type: application/soap+xml; charset=UTF-8; action="urn:saveAsWord" User-Agent: Axis2 Host: 127.0.0.1:8080 Transfer-Encoding: chunked 861 <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="true"><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-4326799"><wsse:Username>OASIS</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">OASIS</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><ns1:saveAsWord xmlns:ns1="http://www.fineos.com/frontoffice/documentproduction/operationtypes"><encodedHtmlFile>YmVnaW4gNjQ0IHppcGZpbGUNCk00JEwjISEwICIgICggKTIlOSNMICAgICAgICAgICAgICAgIEYgICAgOUZFTjk2XVM5Jl1DPTZVRTtHMVAKTTxGXUQ9Ni1UOjZdTj0mNU08JlFBPSY0Ti0zKFIsUz4tREVVT1ZSIDRBTlxDXjNcQFdfMCo4U01JVTtLJgpNNElIVVU6MlVKW0koTllSKFAwRDonUVowTi1GTydfQEM6VzxRNTRBUFAjU08uPlxRVDJSOkU3TEchN0I1Ck0wTUUiWF9BQDUmJ0svOS8kMExFS0haVU4nKlJVKyczM1wpSi0yUVMtIUozWyAtKUkwXFwgPTlYWDwlSkwKTVxPNEIyWyw0N0VXPlM2JjZUMFBOXFlMVTMtL0UsRFU3Vj4rWi5JXEgnLl49OlBOJE5KWStOR0ZCUzBZTQpNN00jK18wSiZcQT1JNyQ2XSVUOkhDVEspJyAkIUA+UzdAMV9RMkJPJ0UoLjs0XE0gLzZRUFstQkswWCZfCk0hPzY+JixMPFtLQkJOSyxQUlJfU14qUkRCJjNYVj5DPTlXSkZPV00zUjI9PSdaMz9PO19ZUCEwU1EmR1MKTS1dN0NVITwwLicjU0NfOTdQVz08PzAgMTcvVCRBQEZcWUgrIStdUFpMIz5MUDcmIiZKWjhNRzJMSiM2OgpNJ0ZLJ0BZSUwhNydMMV4sMUJcKEwvKT9YUU86MkNDTyFKRzUvQFxEMD4jW1M4IywqRSZCWCZDSF1DPSpaCk1UWU5DJERXWyRIV19QSD07MzRdICQrNyNdVF9QWDBbVD1fIiUoVU8oPzdHRjIkMFFPVEsyVUVULCAuNScKTTQgTUIrP1smXkFKUlg7UD0zUV5NP00pJiRFJjVWWkpUKzUmMzlOL10wTE1fTFIpOyEsJTs6Mzc8PExLQQpNRlJfWUQmSlAnLFdeWlVENzs1NkI4MFopXy4pM0hHOEgiL0UqUVJCOCcsL1BJLVlVOjFBXyAlISshUEA6Ck1NXVRfVFAkICAmWCMgICEwMlAkIiUgIDQgIEAgIiAiNEE2MFsmSz89L10sISAgIU4gUCAgKUAgICAgICAKTSAgICAgICAgICAgICAgICA5RkVOOTZdUzkmXUM9NlVFO0cxUDxGXUQ9Ni1UOjZdTj0mNU08JlFBPSY0Tgo7LTMoUixTPTAyUDQmICAgICAgJCAgMCE0ICAgIClQKCAgICAgCiAKZW5kDQo=</encodedHtmlFile><parentDirName>\\ied031\SharedDocs/2009/11/4/</parentDirName></ns1:saveAsWord></soapenv:Body></soapenv:Envelope> 0 Question 4. - and later, when you have changed your setup to have the "client Tomcat" now talk to the Apache server, instead of to the "server Tomcat" directly, are you using the exact same request from the client Tomcat ? Answer: Yes. Question 5. it would probably be useful to compare the mod_jk log between these two cases : when you are requesting the URL /HelloWorld and when you are requestion /docy (or whatever), and look where the difference is. Answer: I have done this. The /HelloWorl comes straight from a web browser and is a GET request. The Mod_JK shows it sent and then a response back. again thanks for any help and apologies in the lack of clarity in my explanations. I wonder couild this be something do with Apache only knowing about the tomcat server's AJP port and not it's http port? -- View this message in context: http://old.nabble.com/Problem-forward-HTTP---Soap-request-using-mod_jk-tp26160709p26200363.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org