Lernen Sie mehr über:

WebSphere Application Server

WebSphere Portal Server

IBM DataPower

IBM BPM | Process Server

IBM LDAP

Interessantes

IBM BPM – Logging in Debug Level

Marie 09.01.2015

To show output from the log.debug() used in Server Scripts in BPM, tracing has to be enabled on the application server. Go to your admin console and select “Troubleshooting –> Logs and trace” from the left hand side. Then select your Application Server and click on “Change log details levels”. Add “WLE.wle_javascript=all” to the trace […]

Serialization of a DataObject

Frank 24.09.2014

Imports import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import com.ibm.websphere.bo.BOXMLDocument; import com.ibm.websphere.bo.BOXMLSerializer; import com.ibm.websphere.sca.ServiceManager; import commonj.sdo.DataObject; import commonj.sdo.Type; Serialize a DataObject to a XML String, “DataObject bo” contains the BO: ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); String stringBo = null; Type type = bo.getType(); String rootElementName = type.getName(); String targetNamespace = type.getURI(); // entferne unnötige Zeichen // […]

Create DataObject

Frank 24.09.2014

Create a DataObject from namespace and ComplexTypeName. Imports import com.ibm.websphere.bo.BOFactory; import com.ibm.websphere.sca.ServiceManager; import commonj.sdo.DataObject; Create DataObject BOFactory boFactory = (BOFactory) ServiceManager.INSTANCE .locateService(“com/ibm/websphere/bo/BOFactory”); DataObject myBo = boFactory.create(“myTargetNamespae”, “myComplexTypeName”); Change DataObject myBo.setString(“myAttribute in myBo”, “myValue”); myBo.setBoolean(…); … myBo.getString(“myAttribute in myBo”); …

Über Uns

Unsere Arbeit

Unsere Partner

Unser Blog

IBM Produkte

Software Engineering

IT Architecture

Workshops

Unternehmen

Produkte

Services

Lösungen