axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1190) Problem in code generation when method overloading is present in WSDL
Date Thu, 12 Oct 2006 23:35:52 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1190?page=all ]

Davanum Srinivas updated AXIS2-1190:
------------------------------------

    Component/s: wsdl
    Description: 

Herewith I have attached the necessary files in order to recreate the problelm.

I developed the wsdl for following operations.

    1 .public Game tingTong(Game game);

    2. public Player tingTong(Player player);

Here is a part of the wsdl.

	<portType name="TingTongPortType">

		<operation name="tingTong">
			<input name="game" message="y:tingTongGameRequestMessage"/>
			<output name="game" message="y:tingTongGameResponseMessage"/>
		</operation>

		<operation name="tingTong">
			<input name="player" message="y:tingTongPlayerRequestMessage"/>
			<output name="player" message="y:tingTongPlayerResponseMessage"/>
		</operation>   

	</portType>

        <binding name="TingTongBinding" type="y:TingTongPortType">

	   <soap:binding style="document" transport="http"/>

	    <operation name="tingTong">
			 <input name="game">
				 <soap:body use="literal"/>
			 </input>
			 <output name="game">
			      <soap:body use="literal"/>
			 </output>
	    </operation>

	    <operation name="tingTong">
			 <input name="player">
				 <soap:body use="literal"/>
			 </input>
			 <output name="player">
			      <soap:body use="literal"/>
			 </output>
	    </operation>  

	</binding>


Is this wsdl is correct?.

But Code generation process works fine.

In the generated "TingTongWebServiceStub" class I could not find the above methods, instead
I could find only second method.

Is method overloading is supported in wsdl?.

  was:


Herewith I have attached the necessary files in order to recreate the problelm.

I developed the wsdl for following operations.

    1 .public Game tingTong(Game game);

    2. public Player tingTong(Player player);

Here is a part of the wsdl.

	<portType name="TingTongPortType">

		<operation name="tingTong">
			<input name="game" message="y:tingTongGameRequestMessage"/>
			<output name="game" message="y:tingTongGameResponseMessage"/>
		</operation>

		<operation name="tingTong">
			<input name="player" message="y:tingTongPlayerRequestMessage"/>
			<output name="player" message="y:tingTongPlayerResponseMessage"/>
		</operation>   

	</portType>

        <binding name="TingTongBinding" type="y:TingTongPortType">

	   <soap:binding style="document" transport="http"/>

	    <operation name="tingTong">
			 <input name="game">
				 <soap:body use="literal"/>
			 </input>
			 <output name="game">
			      <soap:body use="literal"/>
			 </output>
	    </operation>

	    <operation name="tingTong">
			 <input name="player">
				 <soap:body use="literal"/>
			 </input>
			 <output name="player">
			      <soap:body use="literal"/>
			 </output>
	    </operation>  

	</binding>


Is this wsdl is correct?.

But Code generation process works fine.

In the generated "TingTongWebServiceStub" class I could not find the above methods, instead
I could find only second method.

Is method overloading is supported in wsdl?.


> Problem in code generation when method overloading is present in  WSDL
> ----------------------------------------------------------------------
>
>                 Key: AXIS2-1190
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1190
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1
>            Reporter: Sameera Madushan Jayasoma
>         Attachments: tingTong.wsdl
>
>
> Herewith I have attached the necessary files in order to recreate the problelm.
> I developed the wsdl for following operations.
>     1 .public Game tingTong(Game game);
>     2. public Player tingTong(Player player);
> Here is a part of the wsdl.
> 	<portType name="TingTongPortType">
> 		<operation name="tingTong">
> 			<input name="game" message="y:tingTongGameRequestMessage"/>
> 			<output name="game" message="y:tingTongGameResponseMessage"/>
> 		</operation>
> 		<operation name="tingTong">
> 			<input name="player" message="y:tingTongPlayerRequestMessage"/>
> 			<output name="player" message="y:tingTongPlayerResponseMessage"/>
> 		</operation>   
> 	</portType>
>         <binding name="TingTongBinding" type="y:TingTongPortType">
> 	   <soap:binding style="document" transport="http"/>
> 	    <operation name="tingTong">
> 			 <input name="game">
> 				 <soap:body use="literal"/>
> 			 </input>
> 			 <output name="game">
> 			      <soap:body use="literal"/>
> 			 </output>
> 	    </operation>
> 	    <operation name="tingTong">
> 			 <input name="player">
> 				 <soap:body use="literal"/>
> 			 </input>
> 			 <output name="player">
> 			      <soap:body use="literal"/>
> 			 </output>
> 	    </operation>  
> 	</binding>
> Is this wsdl is correct?.
> But Code generation process works fine.
> In the generated "TingTongWebServiceStub" class I could not find the above methods, instead
I could find only second method.
> Is method overloading is supported in wsdl?.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message