ankush created CXF-5646:
---------------------------
Summary: Need to remove ns1 from soapbody
Key: CXF-5646
URL: https://issues.apache.org/jira/browse/CXF-5646
Project: CXF
Issue Type: Bug
Reporter: ankush
Hello team,
I am workign on CXF and want to have my response of my TestConnection like
below :
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><TestConnectionResponse
xmlns="http://tempuri.org/"><TestConnectionResult>Hello
World</TestConnectionResult></TestConnectionResponse></soap:Body></soap:Envelope>
But I am getting like below,
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:TestConnectionResponse xmlns:ns1="http://tempuri.org">
<TestConnectionResult>Hello World</TestConnectionResult>
</ns1:TestConnectionResponse>
</soap:Body>
</soap:Envelope>
So is it possible to remove ns1 from TestConnectionRespopnse element?
I am using CXF without Spring.
My Interface looks like :
@WebService(targetNamespace="http://tempuri.org")
public interface EFIRedirectConfig extends Remote
{
@WebResult(partName="TestConnectionResult")
public String TestConnection() throws RemoteException;
}
--
This message was sent by Atlassian JIRA
(v6.2#6252)