axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21930] - .Net not able to serialize data with doc/literal style.
Date Wed, 30 Jul 2003 10:54:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21930>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21930

.Net not able to serialize data  with doc/literal style.

angupta@informatica.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From angupta@informatica.com  2003-07-30 10:54 -------
Hi Dims
As per your suggestion I have used WSDL2Java to develop a much detailed 
deploy.wsdd
But still same problem
There are two operations one is a simple integer add which works fine
The next one is a bean method which fails.

Deploy.wsdd
------------------------------------------------
<deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- Services from beannullService WSDL service -->

  <service name="beannull" provider="java:RPC" style="wrapped" use="literal">
      <parameter name="wsdlTargetNamespace" 
value="http://127.0.0.1:8080/axis/services/beannull"/>
      <parameter name="wsdlServiceElement" value="beannullService"/>
      <parameter name="wsdlServicePort" value="beannull"/>
      <parameter name="className" value="beannull"/>
      <parameter name="wsdlPortType" value="beannull"/>
      <operation name="add" qname="operNS:add" 
xmlns:operNS="http://DefaultNamespace" returnQName="retNS:addReturn" 
xmlns:retNS="http://DefaultNamespace" returnType="rtns:int" 
xmlns:rtns="http://www.w3.org/2001/XMLSchema" >
        <parameter qname="pns:in0" xmlns:pns="http://DefaultNamespace" 
type="tns:int" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
        <parameter qname="pns:in1" xmlns:pns="http://DefaultNamespace" 
type="tns:int" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
      </operation>
      <operation name="echo" qname="operNS:echo" 
xmlns:operNS="http://DefaultNamespace" returnQName="retNS:echoReturn" 
xmlns:retNS="http://DefaultNamespace" returnType="rtns:myBean" 
xmlns:rtns="beannull" >
        <parameter qname="pns:in0" xmlns:pns="http://DefaultNamespace" 
type="beannull:mybean"/>
      </operation>
      <parameter name="allowedMethods" value="echo add"/>

      <typeMapping
        xmlns:ns="beannull"
        qname="ns:myBean"
        type="java:mybean"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
  </service>
</deployment>
-------------------------------------------------------------------------
Ankit Gupta

Mime
View raw message