Hi all,

In a project the carbon services UserIdentityManagementAdminService and
UserInformationRecoveryService are used. When creating the client stub for
these services using wsimport tool, both stub having packages with same
name (org.wso2.carbon.identity.mgt.services). So when using these two stubs
in the project, only one of these package is getting effect and the classes
in other package are not available at the run time.

Since we have to stick with wsimport tool, we should consider the following
two ways to overcome this issue.

1. Generating the client subs for both services at the same step within a
single stub module.
2. Changing the package name of one of the client stub when generating.

But I could not find any resources to implement the first option. But there
is a way to use the second option as follows.

wsimport -p <package-name> <WSDL-URI>

Please advice me whether changing the package name is correct?

Thanks.

Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to