Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 181890 Details for
Bug 328652
Sample JSPs: SOAPElement or Element parameters result in compile errors in sample
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
proposed patch
328652.txt (text/plain), 4.41 KB, created by
Mark Hutchinson
on 2010-10-27 17:42:27 EDT
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Mark Hutchinson
Created:
2010-10-27 17:42:27 EDT
Size:
4.41 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.ws.consumption >Index: src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java >=================================================================== >RCS file: /cvsroot/webtools/webservices/plugins/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java,v >retrieving revision 1.2 >diff -u -r1.2 SOAPElementType.java >--- src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java 2 Dec 2004 17:40:39 -0000 1.2 >+++ src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/SOAPElementType.java 27 Oct 2010 21:41:57 -0000 >@@ -1,12 +1,15 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2004 IBM Corporation and others. >+ * Copyright (c) 2000, 2010 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at > * http://www.eclipse.org/legal/epl-v10.html >- * >+ * > * Contributors: >- * IBM Corporation - initial API and implementation >+ * IBM Corporation - initial API and implementation >+ * yyyymmdd bug Email and other contact information >+ * -------- -------- ----------------------------------------------------------- >+ * 20101027 328652 mahutch@ca.ibm.com - Mark Hutchinson, SOAPElement or Element parameters result in compile errors in sample > *******************************************************************************/ > > package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel; >@@ -79,7 +82,7 @@ > public String stringConversion(String typeName, String nodeName, String attributeName) > { > String conversion = Generator.DOUBLE_TAB >- + "javax.xml.soap.SOAPElement " + nodeName + "= org.eclipse.jst.ws.util.SoapElementHelper.createSOAPElementFromXMLString(" + attributeName + ");" >+ + nodeName + "= org.eclipse.jst.ws.util.SoapElementHelper.createSOAPElementFromXMLString(" + attributeName + ");" > + StringUtils.NEWLINE; > return conversion; > } >Index: src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java >=================================================================== >RCS file: /cvsroot/webtools/webservices/plugins/org.eclipse.jst.ws.consumption/src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java,v >retrieving revision 1.2 >diff -u -r1.2 DomElementType.java >--- src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java 2 Dec 2004 17:40:39 -0000 1.2 >+++ src/org/eclipse/jst/ws/internal/consumption/datamodel/beanmodel/DomElementType.java 27 Oct 2010 21:41:57 -0000 >@@ -1,12 +1,15 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2004 IBM Corporation and others. >+ * Copyright (c) 2000, 2010 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at > * http://www.eclipse.org/legal/epl-v10.html >- * >+ * > * Contributors: >- * IBM Corporation - initial API and implementation >+ * IBM Corporation - initial API and implementation >+ * yyyymmdd bug Email and other contact information >+ * -------- -------- ----------------------------------------------------------- >+ * 20101027 328652 mahutch@ca.ibm.com - Mark Hutchinson, SOAPElement or Element parameters result in compile errors in sample > *******************************************************************************/ > > package org.eclipse.jst.ws.internal.consumption.datamodel.beanmodel; >@@ -78,8 +81,9 @@ > */ > public String stringConversion(String typeName, String nodeName, String attributeName) > { >+ > String conversion = Generator.DOUBLE_TAB >- + "org.w3c.dom.Element " + nodeName + "= org.eclipse.jst.ws.util.DomElementHelper.createDomElementFromXMLString(" + attributeName + ");" >+ + nodeName + "= org.eclipse.jst.ws.util.DomElementHelper.createDomElementFromXMLString(" + attributeName + ");" > + StringUtils.NEWLINE; > return conversion; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 328652
: 181890