Quantcast
Channel: Question and Answer » web-services
Viewing all articles
Browse latest Browse all 136

WebService NameSpace doubt

$
0
0

I am creating a java webservice. For that I am using @WebService annotation and @WebMethod for defining endpoint and service respectively.

In both place I have option to provide targetNameSpace. Can targetNameSpace be different at @WebService level and @WebMethod level.

Reference is: In one XSD there is two services with one namespace and another XSD I have one service with different nameSpace. But I need to have one endPoint for all the services. Is it allowed? What is the best practice?


Viewing all articles
Browse latest Browse all 136

Trending Articles