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 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…

A developer must create a new stock monitoring application using SOAP. Given the code: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://sun.cert/"> <s:Header> <ns1:transaction> <user>root</user> <transid>9b3e64e326537b4e8c0ff19e953f9673</transid> </ns1:transaction> </s:Header> <s:Body> <m:StockQuote xmlns:m="http://sun.cert/bar/"> <Quote> <ns1:symbol>SUNW</ns1:symbol> <ns1:companyname name="Sun"/> </Quote> </s:Body> </s:Envelope> Which statement is true about…

A team of developers is describing a set of endpoints in their new SOA application. Given the WSDL extract: <service name="InventoryServices"> <port name="PurchaseOrder" binding="tns:POBinding"> <soap:address location="http://192.168.0.2:8080/inventory"/> </port> <port name="Invoice" binding="tns:InvoiceBinding"> <soap:address location="http://192.168.0.2:8080/inventory"/> </port> </service> Which statement is true about this…