My original annotation was wrong. That is for the server. For the client you need to change the getPort call to look something like this:
import com.sun.xml.ws.developer.MemberSubmissionAddressingFeature;
public CIMarketingIntegrationServiceSoap getCIMarketingIntegrationServiceSoapPort() {
return super.getPort(new QName(
“http://www.cuppett.com/xml/schema/svcs/ci/integration”,
“CIMarketingIntegrationServiceSoapPort”),
CIMarketingIntegrationServiceSoap.class, new MemberSubmissionAddressingFeature(true, true));
}
For v200408. For v1.0 (200508), you’d use something like this:
import javax.xml.ws.soap.AddressingFeature;
public CIMarketingIntegrationServiceSoap getCIMarketingIntegrationServiceSoapPort() {
return super.getPort(new QName(
“http://www.cuppett.com/xml/schema/svcs/ci/integration”,
“CIMarketingIntegrationServiceSoapPort”),
CIMarketingIntegrationServiceSoap.class, new AddressingFeature(true, true));
}