axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alastair FETTES" <afet...@mdacorporation.com>
Subject RE: SOAP-ENV versus soapenv
Date Fri, 11 Jan 2008 19:39:47 GMT
Hi Andrew.

Theoretically soapenv should be perfectly acceptable.  Irregardless of
what the prefix is, as long as the actual namespace is the same it
should recognize things appropriately.

Take this silly example:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   ...
</SOAP-ENV:Envelope>

Theoretically that should work without error.

Cheers.
Alastair

-----Original Message-----
From: Andrew Wood [mailto:ajwood@iee.org] 
Sent: Friday, January 11, 2008 11:32 AM
To: axis-user@ws.apache.org
Subject: SOAP-ENV versus soapenv

When creating SOAP tags is there a choice of using either SOAP-ENV or
soapenv?  I thought it had to be SOAP-ENV but my Axis client is using
soapenv, and I think this is probably the cause for the server moaning
that the start or end tags of the SOAP message are missing.


For example Axis sends

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>........

And the server (not Axis) says

<SOAP-ENV:faultcode>Client.ImproperlyFormattedMessage</SOAP-
ENV:faultcode>
<SOAP-ENV:faultstring>The message either has no begin tag or is missing
the end tag.  In either case, the message was not formatted
correctly.</SOAP-ENV:faultstring>


Am I right or is soapenv perfectly acceptable?

Thanks
Andrew





---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message