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
/******************************************************************************* | |
* 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
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
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; |
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
<schema xmlns="http://www.w3.org/2001/XMLSchema" | |
targetNamespace="urn:switchyard-config:switchyard:1.0" | |
xmlns:swyd="urn:switchyard-config:switchyard:1.0" | |
xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" | |
elementFormDefault="qualified"> | |
<import namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912" | |
schemaLocation="sca-1.1-cd06.xsd"/> | |
<element name="switchyard" type="swyd:SwitchYardType"/> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<env:unEdifact xmlns:env="urn:org.milyn.edi.unedifact.v41"> | |
<env:UNB> | |
<env:syntaxIdentifier> | |
<env:id>UNOA</env:id> | |
<env:versionNum>2</env:versionNum> | |
</env:syntaxIdentifier> | |
<env:sender> | |
<env:id>SENDER</env:id> | |
</env:sender> |
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) 2009, 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.ode.metadata.impl; |