Hello,
 
I am trying to create an working inheritance example with Axis2. In the
attached example case
OAMIFASCapabilitiesType is derived from OAMIServiceSpecificCapabilities.
To recognize the inheritance the client needs the xsi:type in the SOAP
message, but
it is missing as you can see trying the attached example.
 
The example will work outcommenting the following lines in
GMLSFESkeleton:
 
XmlCursor cur =
resp.getOAGetMetaInformationResponse().getFeatureMetaInformation().getOA
MIServiceSpecificCapabilities().newCursor();
cur.toFirstChild();
cur.insertAttributeWithValue("type","http://www.w3.org/2001/XMLSchema-in
stance","OAMIFASCapabilitiesType");      
cur.dispose();
    
Why is the xsi:type not sent? Is this a bug?
 
Greetings Desiree

Attachment: GMLSFESkeleton.java
Description: GMLSFESkeleton.java


Attachment: GMLSFE060803.wsdl
Description: GMLSFE060803.wsdl

Attachment: delivery060803-1.xsd
Description: delivery060803-1.xsd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to