This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void createAndShowGUI() { | |
//Create and set up the window. | |
appFrame = new JFrame(Messages.CarRentalClient_Title); | |
appFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | |
// Display the window centered on the screen | |
Dimension d = appFrame.getToolkit().getScreenSize(); | |
appFrame.setLocation((d.width / 2) - (appFrame.getWidth() / 2), (appFrame.getHeight() / 2)); | |
main = createPanel(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ************************************************************************ | |
qooxdoo - the new era of web development | |
http://qooxdoo.org | |
Copyright: | |
2004-2008 1&1 Internet AG, Germany, http://www.1und1.de | |
License: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.out | |
.println("--- [tESBProviderRequest] Initializing the component"); | |
Class<?> clazz_tESBProviderRequest_1 = this.getClass(); | |
// *** ESB context initialization | |
routines.esb.ESBContext esbContext_tESBProviderRequest_1 = new routines.esb.ESBContext( | |
"http://127.0.0.1:8088/esb/provider"); | |
// System.out.println("esb context: " + | |
// esbContext_tESBProviderRequest_1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CXF start the shit | |
// Register endpoint http://localhost:8080/whatever/foo/bar | |
// Start litener | |
// Wait for message | |
String message = request.getPayload(); | |
// Do magical Talend stuff | |
request.sendResponse(response); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.talend.test; | |
import javax.xml.soap.SOAPMessage; | |
import javax.xml.ws.Provider; | |
import org.apache.cxf.frontend.ServerFactoryBean; | |
public class ProviderTest implements Provider<SOAPMessage> { | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.talend.test; | |
import javax.xml.soap.SOAPMessage; | |
import javax.xml.ws.Provider; | |
import org.apache.cxf.frontend.ServerFactoryBean; | |
import org.sopera.talend.provider.QueuedProvider; | |
import org.sopera.talend.provider.QueuedRequest; | |
public class ProviderTest { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
* Copyright (c) 2010 SOPERA GmbH | |
* 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 | |
*******************************************************************************/ | |
package org.sopera.talend.provider; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* [tEDIFACTtoXML_1 main ] start | |
*/ | |
currentComponent = "tEDIFACTtoXML_1"; | |
org.milyn.Smooks smooks_tEDIFACTtoXML_1 = new org.milyn.Smooks(); | |
smooks_tEDIFACTtoXML_1 | |
.setReaderConfig(new org.milyn.smooks.edi.unedifact.UNEdifactReaderConfigurator( | |
"urn:org.milyn.edi.unedifact:" + "d99a" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.talend.test; | |
import org.milyn.GenericReaderConfigurator; | |
import org.milyn.SmooksException; | |
import org.milyn.cdr.SmooksResourceConfiguration; | |
import org.milyn.smooks.edi.ModelLoader; | |
import org.milyn.smooks.edi.unedifact.UNEdifactReader; | |
public class Test { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.talend.test; | |
import java.net.URI; | |
import org.jdom.Document; | |
import org.jdom.input.SAXHandler; | |
import org.jdom.output.Format; | |
import org.jdom.output.XMLOutputter; | |
import org.milyn.SmooksException; | |
import org.milyn.edisax.EDIParser; |
OlderNewer