This is not a problem, just my thoughts.
I wonder why response element name is always "return" ?
If I create MyService like this,
package test;
public class MyService {
public String echo(String inparam) {
String outparam = inparam;
return outparam;
}
}
and packed this to MyService.aar with using RPCMessageReceiver,
generated WSDL <types> section will be like this,
<wsdl:types>
<xs:schema ...>
<xs:element name="echo">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="inparam"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="echoResponse">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="return"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
An element name of request is equivalen to method argument variable
name, "inparam".
But, element name of response is NOT variable name returned,
"outparam".
An element name of response is always "return".
Is there any reason for this ?
In case for like "return inparam + outparam;" ?
I feel variable name should be an element name of response.
Then I control WSDL naming convention a little bit.
Any comments will be appreciated :-)
Thanks,
kinichiro
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]