Guys, ANy idea which file i have to change in order for the response look like request.The request is in <AliasType xmlns=" http://beans"> whereas the response <AliasType >. Due to this im getting castor serializer problems thanks pradeep.
Why the response is not in the same name space as request. The request <?xml version="1.0" encoding ="UTF-8"?> <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <addMember xmlns="http://beans"> <AliasType xmlns="http://beans"><AliasValue xmlns="">After all its an alias</AliasValue><AliasCode xmlns="">1234</AliasCode></AliasType> </addMember> </soapenv:Body> </soapenv:Envelope> <?xml version="1.0" encoding ="UTF-8"?> <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <addMemberResponse xmlns="http://beans"> <AliasType ><AliasValue >After all its an alias</AliasValue><AliasCode >1234</AliasCode></AliasType> </addMemberResponser> </soapenv:Body> </soapenv:Envelope> ---------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ----------------------------------------------------------------------------------------