Apologies in advance!  Most of my reading material on SOAP is still 1.1
with references to what 1.2 is "supposed" to look like.


I am attempting to pass a message into a SOAP 1.2 server running on
Tomcat with Axis 1.2RC2 at the host side.  My message to the server is
supposed to be a doc/lit (something slightly new to me.)  The server
code if giving me Version Mismatch faults.

So far, I've isolated the "error" to the XML I'm sending to the server. 
The beginning of my message looks like this:

<?xml version="1.0"
 encoding="UTF-8"
 standalone="yes"?>
  <SOAP-ENV:Envelope
   xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope/";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <SOAP-ENV:Body>
      <ns1:registerWebUser
       SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding/";
       xmlns:ns1="urn:RegisterUser">

I've been able to see the contents of the axis.log file generated by the
server.  From what I can gather, my fault is happening when the code in
Axis is processing the <SOAP-ENV:Envelope> entry.  A snippet from the
log shows:

1068877 [http-8080-Processor23] DEBUG
org.apache.axis.encoding.DeserializationContext  - Enter:
DeserializationContext::startElement(http://www.w3.org/2003/05/soap-envelope/, 
Envelope)
1068877 [http-8080-Processor23] DEBUG
org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(pushHandler00)
1068877 [http-8080-Processor23] DEBUG
org.apache.axis.encoding.DeserializationContext  - Pushing handler
[EMAIL PROTECTED]
1068877 [http-8080-Processor23] DEBUG
org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(versionMissmatch00)
1068901 [http-8080-Processor23] DEBUG
org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(axisFault00)
1068901 [http-8080-Processor23] DEBUG org.apache.axis.EXCEPTIONS  -
AxisFault:
1068929 [http-8080-Processor23] DEBUG org.apache.axis.utils.NSStack  -
NSPush (32)
1068931 [http-8080-Processor23] DEBUG
org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(empty00)
1068931 [http-8080-Processor23] DEBUG org.apache.axis.utils.NSStack  -
NSPop (empty)
1068931 [http-8080-Processor23] DEBUG org.apache.axis.utils.NSStack  -
NSPush (32)
1068931 [http-8080-Processor23] DEBUG
org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(empty00)
1068932 [http-8080-Processor23] DEBUG org.apache.axis.utils.NSStack  -
NSPop (empty)
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}VersionMismatch
 faultSubcode:
 faultString: Version Mismatch
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:Version Mismatch
        at
org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:102)

Being limited in my knowledge if SOAP 1.2, I'm confused about what the
version mismatch is.  My best guess is that Axis doesn't like my name
space for SOAP-ENV - but that is just a guess.


Anyone with more knowledge point me to the "correct" problem?


Thanks!

Bob

Reply via email to