Hello All,
I am using an Axis 1.4 client for calling a webservice. The request generated by the client consists of an attribute xsi:type as highlighted below. The webservice is rejecting this request. Is there any way I can remove this. Below are the different thing I have tried already as per articles on the internet (but none has worked till now).
1. Made service type as wrapped
<service name="/com.web/ManageThService" provider="java:RPC" style="wrapped">
Article:
http://markmail.org/message/zbjt4io4h2vtzne2#query:+page:1+mid:47comeasp4ch5xi6+state:results
2. Moved call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR.. above _call.setOperation
Article:
http://web.archiveorange.com/archive/v/R4VLPtAh7LsRIVXwtzAq
3. Added <parameter name="sendXsiTypes" value="false"/> to the WSDD under <globalConfiguration >
This seems to be a very old Axis bug which should have been resolved by now, but even after browsing around 50 articles I did not find a working solution. Any help would be greatly appreciated!
Soap Request:
<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:Header>
</soapenv:Header>
<soapenv:Body>
<deleteTh xmlns="http://manage.com">
<requestContext xmlns="">
<languageId>EN</languageId>
</requestContext>
<geaendertAm xsi:type="xsd:dateTime" xmlns="">2011-06-21T11:04:50.906Z</geaendertAm>
</deleteTh>
</soapenv:Body>
</soapenv:Envelope>