Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

org.xml.sax.SAXException

Menglu CaiDec 19 2018 — edited Dec 19 2018

Now I'm trying to use BIEE Web Service to operate BIP Reports,but there are always problems that can't be solved.

This is my java code

package urn.oracle.bi.webservice.v6.test;

import javax.xml.namespace.QName;

import org.apache.axis.client.*;

public class Test {

public static void main(String[] args) {

byte data[]=null;

String result="";

Service service=new Service();

Call call;

try {

call= (Call) service.createCall();

QName opAddEntry = new QName("urn://oracle.bi.webservices/v6", "copyItem2");

call.setTargetEndpointAddress("https://eheb-test.fa.us6.oraclecloud.com/analytics/saw.dll");

call.setOperationName("copyItem2");

call.setTimeout(2000);

call.setReturnType(org.apache.axis.encoding.XMLType.XSD_STRING);

call.setUsername("*******");

call.setPassword("**********");

data=  (byte[]) call.invoke(opAddEntry,new Object[]{});

} catch (Exception e) {

// TODO Auto-generated catch block

e.printStackTrace();

}

System.out.println(data);

}

}

Comments