Category: Business Integration Tips

Business Object Maps and ‘Required’ Attributes

Just ran into an interesting scenario. We have a business object with a required attribute (amongst a sea of non-required ones). In a business object map, we only set the non-required ones and never set the required ones to any value. In the above example, ‘productStatus’ is required, ‘name’ is not. This is the Mediation […]

Read more

WebSphere Integration Developer: Visual Snippet Java Code Generation Is Non-Deterministic

I present the following exhibit: The only difference between these two snippets is the string that I am setting in the commonName attribute. But, let’s look at the java that was generated under the covers for the bottom snippet: boolean __result__31 = (iFlag != null) && (iFlag.trim().equals(“Y”)); if (__result__31){ commonj.sdo.DataObject svcCharVal = __result__34; java.lang.String __result__36 […]

Read more

Visual Snippet Editor: Forgets Java Syntax

I have the following visual snippet which does not work. Can you spot the error? ‘RemoveLeadingZeros’ is a java snippet that returns a String. I then need to see if the string is a length greater than one. My snippet is marked with the error: “length() is not a method of string”. It’s difficult to […]

Read more

Problem Determination and WebSphere Integration Developer

In the past, I’ve gone and de-constructed WebSphere Process Server stack traces in an example of problem determination. Now, I’ll talk about what I do when WebSphere Integration Developer goes crazy. A typical WebSphere Integration Developer exception consists of either a builder error pop up dialog or an issue when trying to open an editor. […]

Read more

WebSphere Integration Developer – Namespaces Cannot Span Projects

Say I have a Business Object named BO1, in the namespace “http://www.danzrobok.com/bo” and I have a second business object named BO2, in the namespace “http://www.danzrobok.com/bo”. With WebSphere Integration Developer, I MUST put both of these business objects in the same library or module project. If I split them into two library projects, then I will […]

Read more

WebSphere Process Server and RPC/Literal Web Services: Beware Messages defined by ‘type’ instead of ‘element’.

After a ridiculous amount of XML tweaking and bleeding, I realize that RPC/Literal truly is completely broken in WebSphere Process Server v6.0.2.3. On the response message that consists of a Business Object we would constantly get the exception: Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature ‘MyResultBO’ not found. (sca:/message.xml, -1, -1) The XML from the service looks correct: […]

Read more

WSDL Anti-Pattern: xsd:Any and xsd:AnyType To Encapsulate Future Changes

The cousin to yesterday’s WSDL Anti-Pattern: The ‘Single XML String’ Service is the use of the XSD specification’s ‘any’. ‘Any’ literally means “any well-formed XML contained in this section is valid”. ‘anyType’ means “any valid XSD Type”. We can start to see the correlation between the Single XML String service and the use of these […]

Read more

WSDL Anti-Pattern: The ‘Single XML String’ Service

WSDL is a very useful technology. It allows service providers and consumers to agree on namespaces, operation names, the data to be transmitted in a request and the data to expect in a response. All very good things to know, all in a platform neutral way. Now, WSDL tells us what all the elements and […]

Read more

Avoid the WebSphere Integration Developer Debugger

Yesterday, I had a non-descriptive NullPointerException occur within a visual snippet sub-map in WebSphere Integration Developer. The only message written to the log was something that identified which transformation in the sub-map failed. There was nothing about what line was bad. Rather than filling my code full of “Got Here” and “Did this Runs”, I […]

Read more

Close WebSphere Integration Developer when updating Fixpacks for WebSphere Process Server

I was attempting to install WebSphere Process Server v6.0.2.3 on the server installed with WebSphere Integration Developer. The install kept failing on me with an exception: Caused by: com.ibm.ws.install.ni.framework.fileactions.NIFFileActionIOException: The file java/jre/lib/charsets.jar could not be replaced. at com.ibm.ws.install.ni.framework.fileactions.ReplaceFileActionPlugin.execute (ReplaceFileActionPlugin.java:108) at com.ibm.ws.install.ni.framework.fileactions.FileActionPlugin.executeFileAction (FileActionPlugin.java:54) at com.ibm.ws.install.ni.updi.component.was.ComponentFileActions.execute (ComponentFileActions.java:95) at com.ibm.ws.install.ni.updi.component.was.ComponentDeployAction.execute (ComponentDeployAction.java:48) at com.ibm.ws.install.ni.updi.component.was.UpdateComponent.execute (UpdateComponent.java:93) at com.ibm.ws.install.ni.framework.component.ComponentAction.executeComponentActions (ComponentAction.java:215) at […]

Read more