4714N/A * The contents of this file are subject to the terms of the 4714N/A * Common Development and Distribution License, Version 1.0 only 4714N/A * (the "License"). You may not use this file except in compliance 4714N/A * You can obtain a copy of the license at 4714N/A * See the License for the specific language governing permissions 4714N/A * and limitations under the License. 4714N/A * When distributing Covered Code, include this CDDL HEADER in each 4714N/A * file and include the License file at 4714N/A * add the following below this CDDL HEADER, with the fields enclosed 4714N/A * by brackets "[]" replaced with your own identifying information: 4714N/A * Portions Copyright [yyyy] [name of copyright owner] 4714N/A * Portions Copyright 2009 Sun Microsystems, Inc. 4714N/A // this.source = new StringBuilder(); 4714N/A // assign first line of header to httpCode 4714N/A // then assign all header to <key>:<value> to header map 4714N/A // finally fill sb with body of request 4714N/A // reconstruct header for SOAP engine 4714N/A //DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); 4714N/A //dbf.setNamespaceAware(true); 4714N/A //DocumentBuilder db = dbf.newDocumentBuilder(); 4714N/A //Document doc = db.newDocument(); 4714N/A // check code "HTTP/1.1 200 OK".split(" ")[1] = "200"