BusinessObjects Board

Webservice in DS 4 - unable to import function

I really need some help with a webservice I am trying to consume.
We are using a webservice today, in DS 4, and it works fine. Now there is a new version of the webservice, with a new wdsl - and I cannot get it to work.
The old wsdl was this; https://wsapi.upsales.com/wsapi/appointment?wsdl
and the new one is this; https://wsapi.upsales.com/wsapi/v2/appointment?wsdl

Both works in SOAPUI, and when the datastore is created I can see the webservce and its functions - but when i try to import a function from the new wsdl, I get an error;
“An error occurred while importing metadata: Unknown JNI error”.
I have specified the same WSS policy file path and Axis2/c config file path in both cases.
Anyone has any ideas… ?


Mitten (BOB member since 2012-09-04)

if you look at the import declaration and schemaLocation, xsd 1 is including xsd 2 and xsd 2 is including xsd 1 resulting in a cycle, the import is going into a infinite loop causing this error

you will not be able to import this kind of schema in DS

try the attached updated WSDL, copy the files a folder and use the appointmentV2.wsdl with complete file location as URL
updatedWSDL.zip (3.0 KB)


manoj_d (BOB member since 2009-01-02)

Thank you! It worked! Now I just have to understand what you did so I can do it for all the wsdl:s :smiley:


Mitten (BOB member since 2012-09-04)

We are running into the same issue with the following WSDL. I have tried to re-write the WSDL to remove the circular reference, but it is not working in Data Services.

https://service2.ultipro.com/services/LoginService
Desktop.zip (3.0 KB)


nhohman (BOB member since 2008-11-19)

By any chance, have you been able to look at the re-write I posted? Thanks!


nhohman (BOB member since 2008-11-19)