axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <>
Subject [Axis2] Parameter Oder and jaxws tests problem
Date Thu, 15 Mar 2007 12:22:24 GMT
Lets take this wsdl fragment.
<wsdl:message name="RequestMessage1">
        <wsdl:part name="Part1" type="xsd:string"/>
        <wsdl:part name="Part2" type="xsd:string"/>
        <wsdl:part name="Part3" type="xsd:string"/>
  <wsdl:message name="ResponseMessage1">
        <wsdl:part name="Part4" type="xsd:string"/>
<wsdl:portType name="PortType1">
        <wsdl:operation name="Operation1" parameterOrder="Part2 Part1
            <wsdl:input message="tns:RequestMessage1"/>
            <wsdl:output message="tns:ResponseMessage1"/>

Assume this portType binds to an rpc/literal type soap binding.
Then the Request message should have parts Part1,Part2, Part3.
What about the response Message?
The wsdl spec says the only part we can miss should be the return type.
Therefore the response
message should have a part called *result* (instead of Part4 since it is the
return type)
Please correct me if I wrong.

However In the current implementation I have made a mistake, So that the
response does not include any parts.
I belive this is wrong.

The jaxws tests have a test called and it uses the

this wsdl contains similar cases as in above.
<wsdl:message name="testListsRequest">
      <wsdl:part name="arg_0_0" type="impl:QNameList"/>
      <wsdl:part name="arg_1_0" type="impl:CalendarList"/>
      <wsdl:part name="arg_2_0" type="impl:StringList"/>
      <wsdl:part name="arg_3_0" type="impl:BigIntegerList"/>
      <wsdl:part name="arg_4_0" type="impl:LongList"/>
      <wsdl:part name="arg_5_0" type="impl:EnumList"/>
      <wsdl:part name="arg_7_0" type="impl:EnumList2"/>
      <wsdl:part name="arg_6_0" type="impl:complexAll"/>

   <wsdl:message name="testCalendarList1Response">
      <wsdl:part name="testCalendarList1Return" type="impl:CalendarList"/>

<wsdl:operation name="testLists" parameterOrder="arg_0_0 arg_1_0 arg_2_0
arg_3_0 arg_4_0 arg_5_0 arg_7_0 arg_6_0">
         <wsdl:input message="impl:testListsRequest"
         <wsdl:output message="impl:testListsResponse"

The problem is,
  When I fixed the earlier problem in WSDL11ToAxisServiceBuilder (i.e. to
insert the return type)
 It seems This test case get fail.

As a result of this I can not fix this bug and can someone please look into
this test case?
Can someone check whether it generates a part for  *testCalendarList1Return*
and similar parts as well.


Amila Suriarachchi,
WSO2 Inc.

View raw message