Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

web service with void method returning 202

$
0
0
Hi all,

I have a webservice which has no return type. I removed the @oneWay
annotation since it was returning 202 but it still returns 202. How can we
change it to return 200 with the void method.

thank for help.

Sanjeev

@WebMethod(action = "notify")
public void notify(
@WebParam(partName = "parameters", name = "notify", targetNamespace =
"urn:pershing:utf.tradealert.notify")
com.barcapint.baits.ws.tradealertnotify.beans.Notify parameters)
throws AlertMessageSOAPFaultException;

Viewing all articles
Browse latest Browse all 5648

Trending Articles