This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Unfortunately I get an HTTP 405 error saying "This service does not suppport GET method. Now this is actually true. It is a SOAP service and all the implemented operations are POSTs. Do I have to implement a dummy GET to enable this behavior? Or does the version of the library I am using not support this functionality(sun-jaxws-2.1.5)? Or am I wrong in expecting this behavior at all?
you can download operation specific wsdl form here ..hope this helps
Joined: Jan 18, 2013
Thanks for your response Adithya. If I understand your response, you are suggesting a way to get wsdl for a specific operation. Is this correct? Would that be a GET or a POST? The service I am maintaining is a SOAP service and does not care about the operation name in the URL. It only looks at the SOAP request in the Content Body. Also, any GET is immediatley rejected.
In any case, I need a way that users can download wsdl for the entire service.
Joined: Jan 17, 2013
Yes,we need to use operation specific WSDL and the ?WSDL is the GET operation
so if get is blocked by the service ?WSDL do not work.
So we need to get the WSDL from loacation for these type of services...am trying to figure out how to enable url for these type of services..will reply once found.
see the webservice address element in the WSDL where you developed the service for the correct URL with operation name.this is the thing which should be used for constructing clients to the webservices.
if in eclipse:- right click on the wsdl of the service and test the service using webservices test explorer,so that a complete understanding on the url and operation will come.
tried my level best to answer..if does not help ..sorry
Joined: Jan 18, 2013
Thank you for your effort in answering Adithya. I am still wondering if this feature was supported in the 2.1.5 library at all. In any case, if it only returns the operation specific wsdl I should look for another way of doing it.