Is it mandatory to have xmlns:axis2 namespace declared in your WSDL for
simple POJO services to run? wsdl2java.bat utility does not seem to generate
this namespace on without including -tn (target namespace option). Due to
this the Query Parameters in the http uri to serivce are not being passed to
the Java class on the server side.

 On comparing the 2 WSDL's one that failed and other that succeed the
obvious difference is with namespace xmlns:axis2.
>>>> <wsdl:input message="axis2:getPriceRequest"
wsaw:Action="urn:getPrice"/>
<<<< <wsdl:input message="ns:getPriceRequest" wsaw:Action="urn:getPrice"/>

I appreciate if somebody could explain the reason for this

Thanks,
Sharath Chandra

Reply via email to