Hi all
I am a new bee to spring web services. I need some quick help from you all experienced guys. I tried to implement spring webservices. MY development environments being:
1. Eclipse
2. Tomcat
3. SOAP-UI
I first had a help from the internet and was successful in developing an endpoint by using AbstractDomPayloadEndpoint that is by using PayLoadRootQNameEndPointMapping.
However as an when I try to implement the same example using simpleactionendpoint mapping by doing modifications in the dispatcherservlet the endpoint class(changing invokeinternal to invoke) and in the wsdl file by putting the action tag matching the mapping action in the dispatcher servlet and changing the soap ui request that is by putting the to from was:Action tag in the soap ui request I recieve an error .
In the console it shows
com.sun.xml.messaging.saaj.soap.EnvelopeFactory createEnvelope
SEVERE: SAAJ0511: Unable to create envelope from given source
and the soap UI it shows :
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring xml:lang="en">Could not access envelope: Unable to create envelope from given source: ; nested exception is com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:</faultstring>
</SOAP-ENV:Fault>
I am really at a fix.
can you guys give me a simple example. I need it very urgently.
Please help me out Thanks a lot. U can directly mail me . My mailing address being k.soumikroy@gmail.com





Reply With Quote

