Sounds like the bug is in your service provider. Namespace names should not be hard-coded but rather resolved and the qnames compared. In other words, if your SOAP looks like this
<soap-env:Envelope xmlns:soap-env="http://soap"> Your provider should NOT be doing this (psuedo-code): If (element == "SOAP-ENV:Envelope") { But rather: if (element == "{http://soap}Envelope") { Make sense? The SOAP spec gives the canonical URI for the envelope namespace. -----Original Message----- From: Sean Leblanc [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 1:00 PM To: '[EMAIL PROTECTED]' Subject: SOAP-ENV vs. soapenv (was RE: Formatting the envelope?) Since no one replied to this, here's more: I downloaded the source to 1.1 release, and I see this: public static final String NS_PREFIX_SOAP_ENV = "soapenv"; in org.apache.axis.Constants. But I'm not sure if this is always used? I did see that someone else asked the exact same question as I did, but there were no followups: http://marc.theaimsgroup.com/?l=axis-user&m=105968266717515&w=2 Thanks, Sean LeBlanc -----Original Message----- From: Sean Leblanc [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 5:31 PM To: '[EMAIL PROTECTED]' Subject: Formatting the envelope? I'm wondering if there is any way to tweak the formatting in Axis. The reason I ask is that I'm trying to call a web service in which the expected format for the body and envelope look like: <SOAP-ENV:envelope... and <SOAP-ENV:body.... But when I use tcpmon I see I'm sending soapenv:Envelope & soapenv:Body And the service doesn't recognize my envelope. TIA, Sean LeBlanc
