Felix J. Ogris wrote:
Hi,

I had some issues with Axis2 1.4 and MS Visual Studio when using POJO
functions without any parameters, eg.:

public String getSomething() {
...
}

>From the WSDL, VS generated a prototype for getSomething() that returns an
instance of getSomethingResponse instead of a String. getSomethingResponse
contained one member variable, a String called return. It turned out that VS
needs an empty input element in the WSDL, eg.:
Well you wont get into this problem if you use doc-lit bare styles. In the case of of doc-lit-wrapped this is how we generate the wsdl.

To generate doc-lit-bare try adding the following parameter into services.xml

<parameter name="doclitBare">true</parameter>

Thank you!
Deepal

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

Reply via email to