web services - SOAP security, headers and Handlers In JAVA -
i dabbling soap web services in java jws.
i want implement custom headers constant webmethods provided inefficient have same parameter argument webmethods offered , declaring them headers web param annotation.
my problem can implement protocol handler ensure custom header parameters nowadays , throw fault in event not restful approach these parameters not defined in wsdl created me mean not strictly next concept behind soap , wsdl (that beingness contract of communication between applications.) example describes similar but
"parse undeclared custom headerlet's consider need read wss usertoken non published in our wsdl :"
i need info required described in wsdl both header , body sections. resources , questions on matter similar implement handler not described in wsdl.
thanks in advance.
you can in web service interface methods throws customexception. in generated wsdl nowadays fault in operation, user or service in aware soap phone call may throw exception. actual implementation of service not throw exceptions, handler do.
java web-services soap wsdl soaphandler
No comments:
Post a Comment