• No replies
141 Posts

Pinned topic Defect with WSRR API

‏2011-04-13T06:52:28Z |
Running WSRR 7.0 on RHEL 5.5.

There seems to be a problem when I import SRXMLHelper and BSRSDOHelper through, and try to create a WSDL Document.

I am exporting this env vars:

export PATH=$PATH:/opt/ibm/jython export WAS_HOME=/opt/ibm/WebSphere/ServiceRegistry export WSRR_HOME=/opt/ibm/WebSphere/ServiceRegistry/WSRR

And as per my previous post I am doing something like this:


import FileInputStream from 

import WSRRConnectionFactory from 

import WSDLDocument from 

import XSDDocument from 

import GenericObject from 

import UserDefinedRelationship from 

import TypeConstants from 

import DataFactory from 

import SRXMLHelper from 

import BSRSDOHelper   aDoc = SRXMLHelper.INSTANCE.load(FileInputStream(

The above does not work. It produces the below:

Traceback (most recent call last): File 
"<stdin>", line 1, in <module> at at org.apache.tuscany.sdo.util.DataObjectUtil.create( at org.apache.tuscany.sdo.impl.DataGraphImpl.createRootObject( at at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke(   java.lang.NullPointerException: java.lang.NullPointerException

This looks like a defect. Is this a known issue?