HItesh Rana
asked on
How do I get the port name?
I'm trying to set the SOAP Request to 1.2. So with some research I see that you can accomplish this using the following code.
Where do I get portName from?
Service service = Service.create(servName);
service.addPort(portName, SOAPBinding.SOAP11HTTP_BINDING, ServerMisc.DOCLIT_CODEFIRST_URL)
Where do I get portName from?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The answer is correct.
ASKER
I noticed you are a Java developer. Would you know the answer to this question?
https://www.experts-exchange.com/questions/29097441/CXF-Set-SOAP-Version-to-1-2.html