Originally posted by Jesus Angeles:
1. is trax part of jaxp?
There is no TraX specification. However if you check the JAXP 1.2 (
JSR 063) you will see that it covers the "transformation API" which covers the javax.xml.transform.dom, javax.xml.transform.sax, and javax.xml.transform.stream packages.
Originally posted by Jesus Angeles:
2. in the real exam, if not specified, is it assumed that the question is based on bp? one mock exam never mentions bp on at least 2 of its questions, but bases the answer on the bp. the answer would be different if it is not limited to bp
As far as I could tell BP was mentioned when in was relevant.
Originally posted by Jesus Angeles:
3. is xml declaration is required on the first line of soap message?
No, but the receiver must allow it.
Basic Profile 1.0a
4.1.9 SOAP and XML Declarations
Presence or absence of an XML declaration does not affect interoperability. Certain implementations might always precede their XML serialization with the XML declaration.
R1010 A RECEIVER MUST accept messages that contain an XML Declaration
Originally posted by Jesus Angeles:
4. Which specs, if any, says that servlet-mapping url-pattern for endpoint must be specific like
<url-pattern>/webservice/SomeService</url-pattern>
and cannot be unspecific or wildcard like
<url-pattern>/webservice/*</url-pattern>
Web Services for
J2EE, Version 1.1 (
JSR 109)
page 42
Servlet Mapping. A developer may optionally specify a servlet-mapping, in the web.xml deployment descriptor, for a JAX-RPC Service Endpoint. No more than one servlet-mapping may be specified for a servlet that is linked to by a port-component. The url-pattern of the servlet-mapping must be an exact match pattern (i.e. it must not contain an asterisk (�*�)).