Hello everyone,

I have a very simple class:

public class Foo {
 public String bar(String fubar) {
   return fubar;
 }
}

When I give this to Axis2 in a service archive (.aar) configured to
use RPCMessageReceiver it creates WSDL which has the String parameter
and return value wrapped in complexTypes:

<xs:element name="bar">
<xs:complexType>
  <xs:sequence>
    <xs:element type="xs:string" name="fubar" />
  </xs:sequence>
 </xs:complexType>
</xs:element>
<xs:element name="barResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element type="xs:string" name="return" />
      </xs:sequence>
   </xs:complexType>
</xs:element>

Is it possible to configure Axis2 such that it will generate WSDL that
uses simple types for parameters and return value that are simple?

Thanks for any help!

Simon.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to