axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Created: (AXIS-1494) Call.SEND_TYPE_ATTR not working
Date Thu, 05 Aug 2004 18:48:20 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1494

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1494
    Summary: Call.SEND_TYPE_ATTR not working 
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis
 Components: 
             Serialization/Deserialization
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Mark Hansen

    Created: Thu, 5 Aug 2004 11:48 AM
    Updated: Thu, 5 Aug 2004 11:48 AM

Description:
The following should tell a org.apache.axis.client.Call instance to NOT send xsi:type attributes
on SOAP RPC parameters:

call.setProperty(Call.SEND_TYPE_ATTR, "false");

It is not working for the doc/lit example attached to this bug report.  The following output
comes from TCPMonitor on this example.  <printDoc> is the method wrapper.  <doc>
and <print> are the parameters.  Notice that things are working propertly for <print>
(boolean), but not for <doc> (org.w3c.dom.Document).  I'm using the DocumentSerializer
/ DocumentDeserializer.  The same problem happens with other Java types (e.g., beans using
BeanSerializer).

When SEND_TYPE_ATTR = true:

<soapenv:Body>  
  <printDoc xmlns="urn:myService">   
    <doc xsi:type="ns1:DocumentType" xmlns:ns1="urn:myTypes">    
      <msg xmlns="">Hello World</msg>   
    </doc>   
    <print xsi:type="xsd:boolean">true</print>  
  </printDoc> 
</soapenv:Body>


When SEND_TYPE_ATTR = false:

<soapenv:Body>
  <printDoc xmlns="urn:myService">
    <doc xsi:type="ns1:DocumentType" xmlns:ns1="urn:myTypes">
      <msg xmlns="">Hello World</msg>
    </doc>
    <print>true</print>
  </printDoc>
</soapenv:Body>



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message