Hi, I have a web service in .asmx. I have created a java client to talk to this service using cxf from the wsdl exposed by the .net service. The isssue I am facing is that in the soap request the java client generates, the namespaces are incorrect. I have used the annotation @WebService(targetNamespace = http://schemas.microsoft.com/exchange/services/2006/messages <http://schemas.microsoft.com/exchange/services/2006/messages> ) to set the correct namespace but still some how this is not getting picked while generating the SOAP request. Instead, it picks up the name of the package of the class in the reverse order. Like the package name is "messages._2006.services.exchange.com.microsoft.schemas" so the namespace which gets included in the SOAP request is "http://schemas.microsoft.com.exchange.services._2006.messages/" If anyone has faced a similar issue or can think of anything to solve this problem please get back to me. Any help is much appreciated. Thanks, Taru Bazaj Morgan Stanley | Technology [EMAIL PROTECTED] --------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
