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