axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riggs, David" <dri...@asset.com>
Subject RE: Axis Chokes on Complex Types from MS Soap 3.0
Date Wed, 07 Aug 2002 13:59:02 GMT
Full SOAP response:

---------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
	<SOAP-ENV:Body
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
		<SOAPSDK4:GetMissionsObjByDateRangeResponse
xmlns:SOAPSDK4="http://tempuri.org/TestWebService/message/">
			<Result href="#id1"/>
		</SOAPSDK4:GetMissionsObjByDateRangeResponse>
		<SOAPSDK5:Mission
xmlns:SOAPSDK5="http://tempuri.org/TestWebService/type/" id="id1"
SOAPSDK3:root="0" SOAPSDK2:type="SOAPSDK5:Mission">
			<MissionName>Some Mission Name</MissionName>
			<MissionNumber>42</MissionNumber>
		</SOAPSDK5:Mission>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
---------------------------------

Should MissionName and MissionNumber be coming across the
wire with a namespace and type attached?


-----Original Message-----
From: Brenda Bell [mailto:bbell@juicesoftware.com] 
Sent: Tuesday, August 06, 2002 5:24 PM
To: 'axis-dev@xml.apache.org'
Subject: RE: Axis Chokes on Complex Types from MS Soap 3.0


As best as I can tell, this looks perfectly legal and would be expected
behavior.  If the SOAP response indeed looks exactly like you've
represented it:
> ------------ SOAP-ENV Excerpt ---------------- 
> <myns:Mission xmlns:myns="http://blah/TestWebService/type/" 
> xsi:type="myns:Mission"> 
>       <MissionName>Some Mission Name</MissionName> 
>       <MissionNumber>42</MissionNumber> 
> </myns:Mission> 
> ---------------------------------------------- 
Neither the MissionName nor MissionNumber elements are in a namespace...
that would explain why changing the QName to an unqualified name works.

Mime
View raw message