[
https://issues.apache.org/jira/browse/AXIS-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen updated AXIS-2748:
----------------------------------
Fix Version/s: (was: 1.4)
> 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
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]