I think there's a validate option when you run wsdl2java that would prevent
you from creating that, as having identical request bodies (in your case,
empty ones) is not WS-I Basic Profile compliant.

I would read the emails in this thread for more information:
http://www.nabble.com/soap-requests-with-no-attributes-or-elements-to16715370.html#a16736067

Glen


harryvanrijn wrote:
> 
> Hi,
> 
> I have 2 operations A and B, both with no parameters, but only return
> values.
> Now I have a problem:
> Whichever WebMethode (corresponding to the operations) I call, always the
> same
> WebMethod is called.
> 
> Here is a part of my WSDL:
> 
>       <message name="Request"/>
>       <message name="Response">
>               <part name="result" element="tns:ArrayOfSomething"/>
>       </message>
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wrong-WebMethod-is-called-tp19633855p19638165.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to