This content has been marked as final.
Show 3 replies
-
1. Re: How do we set the BEAN method when the webservice having multiple methods?
mielket Aug 20, 2009 3:32 AM (in response to indikap)I had a look at your testcase. Assuming your incoming SOAP request reads similar to
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="..."> <soapenv:Body> <typ:GetStaffInfo> ... </typ:GetStaffInfo> </soapenv:Body>
You can then use an XPath expression "//GetStaffInfo" in your CBR. I don't think the currently used expression "//operationName='GetStaffInfo'" will work.
-
2. Re: How do we set the BEAN method when the webservice having multiple methods?
indikap Aug 24, 2009 1:30 AM (in response to mielket)Hi
I tried the same you asked. It returned error "Content is not allowed in prolog."
Do you have any idea why?
May be we are trying which is not possible.
Is their any other way to set the bean method to the correct web service method?
Thank You,
Indika
-
3. Re: How do we set the BEAN method when the webservice having multiple methods?
sivanaresh Aug 24, 2009 2:16 AM (in response to indikap)The approach taken is correct. I dont think you should worry about
"content is not allowed in prolog" message.
Can you verify the functionality of the route in spite of the error message?