According to the XML-to-Java mappings used by JAX-WS, which three elements or attribute declarations are mapped to a Java primitive wrapper class (for example, java.lang.Short)? (Choose three.) A. <xsd:element name="age" type="xsd:short" minOccurs="0"/> B. <xsd:element name="age" type="xsd:short" nillable="true"/> C. <xsd:element name="age"…

For a company’s new software, the developers are constructing abstract definitions of the data being communicated by their document style Web service. Given the targetNamespace: xmlns:xsda="http://sun.com/sample.xsd" Which is a valid wsdl:message containing a wsdl:part? A. <message name="GetInput"> <part name="body" attribute="tns:InputRequest"/>…

Which fragment is Basic Profile 1.1 compliant? A. <port name="testWS"> <operation name="runit"> <input message="tns:runit"/> <output message="tns:runitResponse"/> </operation> </port> <binding name="testWSPortBinding" type="tns:testWS"> … <operation name="runit"> <soap:operation soapAction="tns:runit"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> B. <portType name="testWS"> <operation…

A developer is defining a SOAP binding in the WSDL for their new service. Which XML fragment is WSDL 1.1 compliant? A. <soap:binding transport=Http://www.w3.org/2001/XMLSchema?style="document"/> B. <soap:binding transport=Http://schemas.xmlsoap.org/wsdl/soap/?style="document"/> C. <soap:binding transport=Http://schemas.xmlsoap.org/soap/http?style="document"/> D. <soap:binding transport=Http://schemas.xmlsoap.org/soap?style="rpc"/>

A developer is creating an XML schema that is Basic Profile compliant, and has elements that require long integer values. Given the code: <Schema targetNamespace="http://sun.cert/types" xmlns:ns0="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://sun.cert/xsdTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <complexType name="Foo"> <sequence> <!– insert code here –> </sequence> </complexType> </schema>…

A developer needs to define an array of long integers in their Basic Profile compliant Web service and is given the following code fragment for analysis: <Schema targetNamespace="http://sun.cert/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas/xmlsoap.org/wsdl"> <!– insert code here –> </schema> Assume all XML…

A developer is creating an XML schema using the xsd:all operator.Given the code: <types> <schema targetNamespace="http://sun.cert/types" xmlns:tns="http://sun.cert/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:complexType name="Person"> <xsd:all> <!– insert code here –> </xsd:all> </xsd:complexType> </schema> </types> Which two element definitions, when inserted into the given schema…