Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 328652
Collapse All | Expand All

(-)src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java (-4 / +7 lines)
Lines 1-12 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2004 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 * IBM Corporation - initial API and implementation
10
 * yyyymmdd bug      Email and other contact information
11
 * -------- -------- -----------------------------------------------------------
12
 * 20101027   328652  mahutch@ca.ibm.com - Mark Hutchinson, SOAPElement or Element parameters result in compile errors in sample
10
 *******************************************************************************/
13
 *******************************************************************************/
11
14
12
package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
15
package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
Lines 79-85 Link Here
79
  public String stringConversion(String typeName, String nodeName, String attributeName)
82
  public String stringConversion(String typeName, String nodeName, String attributeName)
80
  {
83
  {
81
     String conversion =  Generator.DOUBLE_TAB 
84
     String conversion =  Generator.DOUBLE_TAB 
82
                       + "javax.xml.soap.SOAPElement " + nodeName + "= org.eclipse.jst.ws.util.SoapElementHelper.createSOAPElementFromXMLString(" + attributeName + ");" 
85
                       + nodeName + "= org.eclipse.jst.ws.util.SoapElementHelper.createSOAPElementFromXMLString(" + attributeName + ");" 
83
	                   + StringUtils.NEWLINE;
86
	                   + StringUtils.NEWLINE;
84
     return conversion;
87
     return conversion;
85
  }
88
  }
(-)src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java (-4 / +8 lines)
Lines 1-12 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2004 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 * 
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *     IBM Corporation - initial API and implementation
9
 * IBM Corporation - initial API and implementation
10
 * yyyymmdd bug      Email and other contact information
11
 * -------- -------- -----------------------------------------------------------
12
 * 20101027   328652  mahutch@ca.ibm.com - Mark Hutchinson, SOAPElement or Element parameters result in compile errors in sample
10
 *******************************************************************************/
13
 *******************************************************************************/
11
14
12
package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
15
package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel;
Lines 78-85 Link Here
78
  */
81
  */
79
  public String stringConversion(String typeName, String nodeName, String attributeName)
82
  public String stringConversion(String typeName, String nodeName, String attributeName)
80
  {
83
  {
84
81
     String conversion =  Generator.DOUBLE_TAB 
85
     String conversion =  Generator.DOUBLE_TAB 
82
                       + "org.w3c.dom.Element " + nodeName + "= org.eclipse.jst.ws.util.DomElementHelper.createDomElementFromXMLString(" + attributeName + ");" 
86
                       + nodeName + "= org.eclipse.jst.ws.util.DomElementHelper.createDomElementFromXMLString(" + attributeName + ");" 
83
	                   + StringUtils.NEWLINE;
87
	                   + StringUtils.NEWLINE;
84
     return conversion; 
88
     return conversion; 
85
  }
89
  }

Return to bug 328652