Hi,
I am trying to develop a webservice, which is having multipe endpoints with multiple methods.
I am having similar wsdl which is posted in
http://www.mail-archive.com/axis-dev.../msg48236.html
but having multiple methods in each endpoint.
Example service is like the following
Code:<wsdl:service name="HelloWorld"> <wsdl:port name="HelloWorldHttpSoap11Endpoint" binding="xsd:HelloWorldSoap11Binding"> <soap:address location="http://localhost:8080/axis2/services/HelloWorld"/> </wsdl:port> <wsdl:port name="HelloWorldHttpSoap12Endpoint" binding="xsd:HelloWorldSoap12Binding"> <soap12:address location="http://localhost:8080/axis2/services/HelloWorld"/> </wsdl:port> <wsdl:port name="HelloWorldHttpEndpoint" binding="xsd:HelloWorldHttpBinding"> <http:address location="http://localhost:8080/axis2/services/HelloWorld"/> </wsdl:port> </wsdl:service>
I am trying to thinking about which EndpointMapping i should use.
1.PayloadRootAnnotationMethodEndpointMapping. -- with this mapping i can't have multiple endpoints, only possible multiple methods
2.PayloadRootQNameEndpointMapping-- with this mapping i can't have multiple methods, only posible multiple endpoints
Apart from this i am having all my operations as <soap:operation soapAction="Profile"/> so i am also thinking about whether i have to go for SoapActionAnnotationMethodEndpointMapping or SoapActionEndpointMapping
Both these soapxxxx are having same problems as i mentioned for the PayloadRootxxx.
So can any one have idea which one i have to use. is it possible in Spring ws.
Early response is appreciated.
Thanks,
ksrk


Reply With Quote