axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bastian Ibach (JIRA)" <>
Subject [jira] Created: (AXIS2C-1401) WSDL2C produces to WSDL2JAVA incompatible ADB-Binding for WSDL file
Date Wed, 07 Oct 2009 13:01:33 GMT
WSDL2C produces to WSDL2JAVA incompatible ADB-Binding for WSDL file

                 Key: AXIS2C-1401
             Project: Axis2-C
          Issue Type: Bug
          Components: wsdl2c tool
    Affects Versions: 1.6.0
         Environment: jdk-1.6.0_13, WinXP SP3, Visual Studio 2008 SP1, AXIS2/Java 1.5, AXIS2/C
            Reporter: Bastian Ibach

If I use the same WSDL file for JAVA and for C code generation, the ADB-Databinding produces
incompatible code. Here is may example WSDL-File. 
In the generated ADB-Binding from WSDL2C a XML Element with QName "NewOperationResponseTypeSequence"
is expected during deserialization but is does not exist in the genereated SOAP response.

On the other hand the ADB-Binding from WSDL2JAVA parses the elements correct.

Soap response from the Server:
<soapenv:Envelope xmlns:soapenv="" xmlns:dat="">

Test WSDL-File:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="" xmlns:tns=""
xmlns:wsdl="" xmlns:xsd=""
name="DatabindingTest" targetNamespace="">
    <xsd:schema targetNamespace="">
      <xsd:element name="NewOperation" type="tns:NewOperationType">

      <xsd:element name="NewOperationResponse" type="tns:NewOperationResponseType">

      <xsd:complexType name="NewOperationResponseType">
      	<xsd:sequence minOccurs="1" maxOccurs="unbounded">
      		<xsd:element name="NewElement" type="xsd:string"></xsd:element>
      <xsd:simpleType name="NewOperationType">
      	<xsd:restriction base="xsd:string"></xsd:restriction>
  <wsdl:message name="NewOperationRequest">
    <wsdl:part element="tns:NewOperation" name="parameters"/>
  <wsdl:message name="NewOperationResponse">
    <wsdl:part element="tns:NewOperationResponse" name="parameters"/>
  <wsdl:portType name="DatabindingTest">
    <wsdl:operation name="NewOperation">
      <wsdl:input message="tns:NewOperationRequest"/>
      <wsdl:output message="tns:NewOperationResponse"/>
  <wsdl:binding name="DatabindingTestSOAP" type="tns:DatabindingTest">
    <soap:binding style="document" transport=""/>
    <wsdl:operation name="NewOperation">
      <soap:operation soapAction=""/>
        <soap:body use="literal"/>
        <soap:body use="literal"/>
  <wsdl:service name="DatabindingTest">
    <wsdl:port binding="tns:DatabindingTestSOAP" name="DatabindingTestSOAP">
      <soap:address location=""/>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message