• Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis 1.4 webservice stub ignores SEND_TYPE_ATTR attribute

 
Annu Vinayak
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Axis 4?
 
Annu Vinayak
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no such version.
 
Annu Vinayak
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meant Axis 1.4. Apologize for my assumption
 
Annu Vinayak
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the meantime, also tried the following properties in ServicePortBindingStub:

_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
oper.setStyle(org.apache.axis.constants.Style.WRAPPED);

Still no success

Anyone..? Any suggestion/hint on this?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!