generating xsi:type which causes exception
-------------------------------------------
Key: AXIS-2748
URL: https://issues.apache.org/jira/browse/AXIS-2748
Project: Axis
Issue Type: Bug
Components: Serialization/Deserialization
Affects Versions: 1.4
Environment: unix , java 1.4.2, Axis 1.4,
Reporter: Gopal
Priority: Blocker
Fix For: 1.4
Used axis 1.4 to generate the java classes from wsdl.
An exception is thrown when the xsi:type is sent as part of the XML
Tried to set all the below property values to false
msgContext.getAxisEngine().setOption(AxisEngine.PROP_SEND_XSI, Boolean.FALSE);
call.getMessageContext().setProperty(call.SEND_TYPE_ATTR, Boolean.FALSE);
call.setOption(call.SEND_TYPE_ATTR,Boolean.FALSE);
call.setProperty(call.SEND_TYPE_ATTR,Boolean.FALSE);
call.setOption(AxisEngine.PROP_SEND_XSI,Boolean.FALSE);
call.setProperty(AxisEngine.PROP_SEND_XSI,Boolean.FALSE);
Sample XML:
<?xml version="1.0" encoding="UTF-8"?>
<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>
<Data>
<phone xsi:type="xsd:string">111111</phone>
<zip>5000</zip>
<lastName xsi:type="xsd:string"> TEST </lastName>
</Data>
</soapenv:Body>
Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]