UNABLE TO CREATE IBOT THROUGH IBOTSERVICE WS — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

UNABLE TO CREATE IBOT THROUGH IBOTSERVICE WS

Received Response
2
Views
2
Comments
1042427
1042427 Rank 1 - Community Starter

We are using iBotService WS to create and execute iBot. The iBot XML ->

.

<?xml version="1.0" encoding="utf-8"?>

<saw:ibot xmlns:saw="com.siebel.analytics.web/report/v1.1" priority="normal"

xmlns:cond="com.oracle.bi/conditions/v1"

xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="201201160"

xmlns:sawx="com.siebel.analytics.web/expression/v1.1"

xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">

    <saw:schedule>

        <saw:start startImmediately="false" />

        <saw:recurrence runOnce="true" /></saw:schedule>

    <saw:dataVisibility type="runAsUser" runAs="nitecruzer"

runAsGuid="3E6AD2D486BEAC87E050F70A8F28163B" />

    <cond:condition/>

    <saw:choose>

        <saw:when condition="true">

            <saw:deliveryContent>

                <saw:headline>

                    <saw:caption>

                        <saw:text>Test7</saw:text>

                    </saw:caption>

                </saw:headline>

                <saw:reportRef path="/shared/Custom/Financials/Invoice

Details" /></saw:deliveryContent>

            <saw:postActions/></saw:when>

        <saw:otherwise>

            <saw:postActions/></saw:otherwise>

    </saw:choose>

    <saw:deliveryDestinations>

        <saw:destination category="conditionalReport" />

        <saw:destination category="activeDeliveryProfile"

/></saw:deliveryDestinations>

    <saw:recipients specificRecipients="true" subscribers="false"

customize="false">

        <saw:specificRecipients>

            <saw:user name="nitecruzer"

guid="3E6AD2D486BEAC87E050F70A8F28163B" /></saw:specificRecipients>

        <saw:subscribers/></saw:recipients>

    <saw:emailRecipients>

        <saw:emailRecipient address="prashant.pandey@oracle.com" type="html"

/> </saw:emailRecipients>

</saw:ibot>

.

.

This never passes validation and soap api call to createiBot fails :

.

javax.xml.ws.soap.SOAPFaultException: Invalid Agent XML.  For details of the

XML error see nested  exception.

at

com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)

at

com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:13

0)

at

com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)

.

at

com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)

at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)

at $Proxy41.writeIBot(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j

ava:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at

weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceI

nvocationHandler.java:84)

at $Proxy42.writeIBot(Unknown Source)

.

Can anyone please point the issue here. I looked around web, forums but there is no documentation on XML template for iBot except -> The object's XML is validated against analysis_ibot.xsd, which is located in

orahome/bifoundation/web/schemas directory.

Answers