[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] SAAJ (SOAP with Attachments API for Java) 2nd 3rd 1.1 specification APIs 2nd SOAP headers and SOAP messages using client applications and CLASSPATH interfaces used in building SOAP messages messaging overview programming versus JAX-RPC versus JAXM with secure connections saaj-api.jar file 2nd saaj-ri.jar file SAAJEchoService saveAssocations( ) method saveChanges( ) method 2nd SaveException class (javax.xml.registry) saveRequired( ) method sax.jar file SAXSource type Schema element (ebXML-TRP) screen scraping programs versus web services searching registry for an Organization with a given classification searchschema feature ( wscompile utility) secure connections (SAAJ) security using JAX-RPC APIs to provide application-level security certificates security-constraint element security-constraint tag (web.xml file) send( ) method (ProviderConnection) serialization framework SerializationContext interface (javax.xml.rpc.encoding) serializeinterfaces feature (wscompile utility) Serializer interface (javax.xml.rpc.encoding) 2nd SerializerFactory interface (javax.xml.rpc.encoding) 2nd serializers 2nd adding additional to registry adding to client adding to server adding to the type mapping registry mechanismType argument registering when wscompile and wsdeploy fail to generate servant classes converting into session bean instance variables invoking methods ways to get configuration information Server fault code server-side API for JAX-RPC server-side architecture, service deployed in web container server.cer file server.xml file Service class getPort( ) method authentication service element (config.xml file) 2nd Service element (ebXML-TRP MessageHeader) service element (WSDL) binding service endpoint interface class service endpoints dynamically updating HandlerRegistry for handler chains and Service interface 2nd (javax.xml.registry.infomodel) 2nd (javax.xml.rpc) compiling with Ant container-resident clients obtaining objects DII and getting a reference to methods objects from a ServiceFactory caveats service-endpoint-interface element ( webservices .xml file) service-impl-bean element (webservices.xml file) 2nd service-interface element (webservicesclient.xml file) service-ref element (webservicesclient.xml file) service-ref- name element (webservicesclient.xml file) ServiceBinding interface (javax.xml.registry.infomodel) 2nd 3rd ServiceException class (javax.xml.rpc) ServiceFactory class (javax.xml.rpc) 2nd 3rd public methods using to create Service object ServiceLifecycle interface (javax.xml.rpc.server) 2nd 3rd ServiceLifeCycle interface (javax.xml.rpc.server) example web service using servlet-hosted web services [See web services, servlet-hosted] servlet-mapping (web.xml file) 2nd servlet-name tag (web.xml file) ServletContext class getInitParameter( ) method ServletEndpointContext interface getUserPrincipal( ) method ServletEndpointContext interface (javax.xml.rpc.server) 2nd example web service using getHttpSession( ) method getMessageContext( ) method getServletContext( ) method getUserPrincipal( ) method multithreaded access to servlets init( ) method MessageFactory and initialization parameters loading issue receiving, init( ) method service hosted by, on J2EE 1.4 platform that log and echo a received SOAP message that use SAAJ to provide book image web service URLs of web services for session beans converting from servant class lifecycle requirements session management SESSION_MAINTAIN_PROPERTY (Call) 2nd (Stub) 2nd SessionBean interface 2nd SessionContext object getCallerPrincipal( ) method getEJBHome( ) method getEJBLocalHome( ) method setAction( ) method (ebXML MessageHeader element) setActor( ) method (SOAPHeaderElement) setContent( ) method (AttachmentPart) (MimeMultipart) (SOAPPart object) setConversationId( ) method (ebXML MessageHeader element) setCPAId( ) method (ebXML MessageHeader element) setDataHandler( ) method (AttachmentPart) setDescription( ) method (Reference) setFaultActor( ) method setFaultCode( ) method setFaultString( ) method setFrom( ) method (SOAPRPMessageImpl) setHeader( ) method (HttpServletResponse) (MimeHeaders) setMessage( ) method (SOAPMessageContext) setMustUnderstand( ) method (SOAPHeaderElement) setOperationName( ) method change Call object operation setProperty( ) method (Call) setReceiver( ) method (ebXML MessageHeader element) setReturnType( ) method (Call) 2nd setSchema( ) method (Reference) setSender( ) method (ebXML MessageHeader element) setService( ) method (ebXML MessageHeader element) setSessionContext( ) method setSynchronous( ) method (Connection) setTargetEndpointAddress( ) method (Call) setTo( ) method (SOAPRPMessageImpl) ShortHolder class (javax.xml.rpc.holders) ShortWrapperHolder class (javax.xml.rpc.holders) Simple Object Access Protocol [See SOAP, protocol] simpleType element (XML schema) Slot interface (javax.xml.registry.infomodel) 2nd 3rd application use of registry use of slots attribute (RegistryObject) SmallBookQuery interface SmallBookQueryPort interface Call object for SmallBookServiceException SOAP Envelope element protocol section 5 rules section 7 rules SOAP 1.1 specification SOAP attachments [See attachments] SOAP binding example SOAP body SOAP envelope ) [See envelope (SOAP] SOAP faults SOAP headers 2nd adding header parts to a service definition binding checking explicit context and generating Java interface and client-side stubs mapping header content to method arguments processessing SOAP messages 2nd 3rd anatomy of attachments [See attachments] containing array of book titles creating and sending using SAAJ defined deserializing document-style operations [See document-style operations] effect of encoding style on content of example getting a reference to handler chains and handlers [See message handlers] headers [See SOAP headers] JAXMServlet and MIME headers and namespace-qualified namespaces commonly used in obtaining MIME headers when received receiving retrieving book titles from a web service RPC-style operations [See RPC-style operations] SAAJ interfaces used in building sent in reply to client's BookList request servlet example servlet that logs and echoes setting MIME headers after transmission using SAAJ APIs XML and SOAP Messages with Attachments specification SOAP with Attachments API for Java [See SAAJ] soap-header element (webservices.xml file) soap-role element (webservices.xml file) SOAP-RP header elements SOAP-RP message API fault handling forward and reverse message paths getting and setting message ID SOAP-RP message, sent via a messaging provider SOAP-RP path header routing a message SOAP-RP profile 2nd overview SOAP::Lite soap:binding element style attribute transport attribute soap:body element 2nd encodingStyle attribute namespace attribute use attribute soap:fault element soap:header element soap:headerfault element soap:operation element soapAction attribute style attribute soap:part element SOAPAction header default value SOAPACTION_URI_PROPERTY (Call) 2nd SOAPACTION_USE_PROPERTY (Call) 2nd SOAPBody interface (javax.xml.soap) 2nd addFault( ) method getFault( ) method hasFault( ) method overview of functionality SOAPBodyElement interface (javax.xml.soap) SOAPConnection class (javax.xml.soap) 2nd call( ) method versus ProviderConnection send( ) method obtaining objects transmitting messages SOAPConnectionFactory class (javax.xml.soap) 2nd SOAPConstants interface (javax.xml.soap) SOAPConstants.URI_NS_SOAP_ENCODING SOAPConstants.URI_NS_SOAP_ENVELOPE SOAPElement interface (javax.xml.soap) 2nd addAttribute( ) method addBodyElement( ) method addChildElement( ) method createElement( ) method creating objects detachNode( ) method getElementName( ) method getValue( ) method removing objects SOAPElementFactory class (javax.xml.soap) 2nd SOAPEnvelope interface (javax.xml.soap) 2nd overview of functionality SOAPException class (javax.xml.soap) 2nd SOAPFactory class (javax.xml.soap) creating Name objects for attributes SOAPFault interface (javax.xml.soap) 2nd addDetail( ) method methods SOAPFaultElement interface (javax.xml.soap) SOAPFaultException class (javax.xml.rpc.soap) SOAPHeader addHeaderElement( ) method examineHeaderElements( ) method extractHeaderElements( ) method SOAPHeader element SOAPHeader interface (javax.xml.soap) 2nd overview of functionality SOAPHeaderElement interface (javax.xml.soap) getActor( ) method getMustUnderstand( ) method setActor( )method setMustUnderstand( ) method SOAPMessage class (javax.xml.soap) 2nd createAttachmentPart( ) method 2nd getMimeHeaders( ) method getSOAPPart( ) method methods that return attachments for message object parts overview of functionality SOAPMessageContext interface (javax.xml.rpc.handler.soap) methods SOAPPart class (javax.xml.soap) overview of functionality SOAPPart of SOAPMessage object soaprp value (JAXM reference implementation) SOAPRPMessageImpl class setFrom( ) method setTo( ) method Solicit-response web service operation type sound files, transporting source code example for Chapter 3, instructions for running source files generated by wscompile Source object client code using JAX-RPC method returning containing XML extracting XML from SpecificationLink interface (javax.xml.registry.infomodel) 2nd 3rd 4th specifications (Collection argument) SQL as query language, rules that govern use of SQL query submitting to ebXML registry to fetch set of Organizations from registry SQL SELECT statement syntax SSL, enabling stability attribute (RegistryEntry) standard Java classes stateless session beans service hosted by, on J2EE 1.4 platform static stubs status attribute (RegistryEntry) StreamSource object StreamSource type String class StringHolder class (javax.xml.rpc.holders) Stub interface (javax.xml.rpc) connecting object to service properties Stub.ENDPOINT_ADDRESS_PROPERTY property (Call) stubs client-side converting JAX-RPC service interface to configuring one-way operations and portable code, writing static web service endpoint interface stubs.jar file 2nd 3rd sun-j2ee-ri.xml file 2nd synchronous receivers synchronous request-response |