Problem with POST
I have several operations in my service that take no parameters (ie, are purely informational). When I do a GET operation, they work just fine, but when I do a POST, I always get the response to the one that comes first alphabetically. Is there a way to tell CXF which operation I wanted to do, so it will not try to infer it from the parameters? It does not appear to be looking at the URL as it does in GET operations. -- View this message in context: http://www.nabble.com/Problem-with-POST-tp15309017p15309017.html Sent from the cxf-user mailing list archive at Nabble.com.
Re: Problem with POST
My guess is you are using wrapped doc-literal in which case the operation name is not sent. If you change to RPC-Literal then the operation name will be sent as part of SOAP message and will not get the first operation every time. Regards, Ulhas Bhole Scott A wrote: I have several operations in my service that take no parameters (ie, are purely informational). When I do a GET operation, they work just fine, but when I do a POST, I always get the response to the one that comes first alphabetically. Is there a way to tell CXF which operation I wanted to do, so it will not try to infer it from the parameters? It does not appear to be looking at the URL as it does in GET operations. IONA Technologies PLC (registered in Ireland) Registered Number: 171387 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
Problem with POST
I have several operations in my service that take no parameters (ie, are purely informational). When I do a GET operation, they work just fine, but when I do a POST, I always get the response to the one that comes first alphabetically. Is there a way to tell CXF which operation I wanted to do, so it will not try to infer it from the parameters? It does not appear to be looking at the URL as it does in GET operations.