Re: Web SDK Returning Images

Hi Brendan,
Regarding your question on returning images...
At 09:18 AM 5/2/97 U, Brendan Duddridge wrote:
Mail*Link® SMTP Web SDK Returning Images
Hi,
Why on earth does the Web SDK 1.1 allow you to return BinaryData objectsto the web page if there's no way to display them? I can understand why it
lets you return image files stored on disk somewhere, but I can't
understand what the BinaryData version of AssignBinaryResponse method is
used for if not for retrieving images from a database. No one seems to
know what internal format graphic images are stored in when they're stored
as blobs in the database and then read into ImageData objects. I'm still
trying to figure out the MIME type used for BinaryData images read in from
a database.
>
Has anyone ever used AssignBinaryResponse with BinaryData and MimeType asparameters instead of FileName and MimeType as parameters?
>
Help would be greatly appreciated. Thanks,
Brendan DuddridgeOne of the reasons we added binary object support to the WebSDK update 1.1.A
is to allow applications (that make binaries available to end users) to
store the binary files on a machine other than the web server. These
binary files may be images, executables, or whatever.
The intention is to have the application read the binary files into a
binarydata object and passing the contents of that object to the requesting
browser. If in your case, you want your generated html page to use various
images, you would want to read the files into binarydata objects to retain
the data format of your file. You wouldn't read your image files into a
Forte ImageData because the image format (jpeg, gif,bmp) would be translated
to the internal Forte format (ImageData objects are meant to be used with
Forte clients, rather than WEB clients).
Regards,
Peter W. Pang
Forte Technical Support
Technical Support Direct
Hotline: 510-451-5400 | Tel: 510-869-3437
FAX: 510-869-2010 |
MailTo:[email protected] | <a
href="MailTo:[email protected]">MailTo:[email protected]</a>
WWW: http://www.forte.com |
---------------------------------------------------------

What is your Traget System?
If ABAP proxy--Follow beloa appraoch
option 1: develop two sync interfaces
Option 2: Develop Receiver response proxy structure and this structure should hold two proxy responses and write proxy logic to send response in one shot.
in this case one interface enough.
Regards,
Raj

Similar Messages

  • Forte web sdk

    Hi,
    We have just started looking at the Forte Web SDK. We've got the two
    examples going on our NT Server running Microsoft's Internet
    Information Server. One catch was that we needed to rename the
    supplied cgi program to fortecgi.exe (adding .exe extension) on the NT
    Server, in the forte code, and in the web pages that call the cgi.
    The manual discusses that the web access service objects cannot be
    replicated, (since they're tied to a specific IP port), and a
    suggested application design is to have a page builder service object
    replicated to reduce the chance of a bottleneck. This does not make
    much sense to us. Or have we got it wrong?
    With this structure they suggest the over-ridden HandleRequest method
    can now be something like this
    if pageName.isEqual('page1', ignoreCase=true) then
    response.assignReponse(pageBuilderService.buildPage1(request));
    elseif pageName.isEqual('page2', ignoreCase=true) then]
    response.assignReponse(pageBuilderService.buildPage2(request));
    else
    -- repond with error page
    end if;
    return reponse;
    But even if the pageBuilderService is replicated and a reponse comes
    in for page1 a further reponse cannot be handle by this method until
    the pageBuilderService returns the completed page1. So what is the
    point of replicating the pageBuilderService?
    Thanks, Richard
    Richard Bentley,
    Information Services Section,
    University of Canterbury,
    Private Bag 4800, Fax: +64-3-364-2999
    Christchurch, Phone: +64-3-364-2987 ext. 7061
    NEW ZEALAND. Email: [email protected]
    ----------------------------------------------------------------

    Hi,
    We have just started looking at the Forte Web SDK. We've got the two
    examples going on our NT Server running Microsoft's Internet
    Information Server. One catch was that we needed to rename the
    supplied cgi program to fortecgi.exe (adding .exe extension) on the NT
    Server, in the forte code, and in the web pages that call the cgi.
    The manual discusses that the web access service objects cannot be
    replicated, (since they're tied to a specific IP port), and a
    suggested application design is to have a page builder service object
    replicated to reduce the chance of a bottleneck. This does not make
    much sense to us. Or have we got it wrong?
    With this structure they suggest the over-ridden HandleRequest method
    can now be something like this
    if pageName.isEqual('page1', ignoreCase=true) then
    response.assignReponse(pageBuilderService.buildPage1(request));
    elseif pageName.isEqual('page2', ignoreCase=true) then]
    response.assignReponse(pageBuilderService.buildPage2(request));
    else
    -- repond with error page
    end if;
    return reponse;
    But even if the pageBuilderService is replicated and a reponse comes
    in for page1 a further reponse cannot be handle by this method until
    the pageBuilderService returns the completed page1. So what is the
    point of replicating the pageBuilderService?
    Thanks, Richard
    Richard Bentley,
    Information Services Section,
    University of Canterbury,
    Private Bag 4800, Fax: +64-3-364-2999
    Christchurch, Phone: +64-3-364-2987 ext. 7061
    NEW ZEALAND. Email: [email protected]
    ----------------------------------------------------------------

  • Web server returns "error 64"

    I have just installed "APOD Grabber". When launched, I get " Web server returns error 64". Can anyone help?
    Thanks,

    Hi jfw222
    Welcome to Apple Support Communities
    What version and where did you download it from? Cause I just downloaded APOD Grabber 1.3.5 from MacUpdade and it is working fine.
    http://www.macupdate.com/app/mac/12461/apod-grabber/
    Hey' that's pretty cool, generally I visit the Hubble site and download images from the Gallery and then put them into iPhoto for Desktop backgrounds, slideshows and such. > http://hubblesite.org/
    Dennis

  • What happens when a OUT parameter of a web-service returns an empty string

    Hi,
    Any idea on how to deal with the situation when a web-service returns an empty string
    I get the following System Exception:-
    Caused by: java.lang.AssertionError: Attempt to set empty javaType to ticketResponse(out,0) :: fuego.type.FuegoClass$LazyRef@6770f2. It must be null or a valid java type.
    It therefore either expects a null value or a valid java type...
    Since it goes into a system exception, the activity is not completed and nothing is inserted into the web-service..
    How do we resolve this error inside of BPM?

    Thanks Ben for your replies.
    Before I attempt changing a VI that was written by a client and make a total mess of it, there's something I'd like to point out.
    I tried the re-entrant VI approach and that didn't go any further than the VIT approach, and probably for the same reason(s).
    The interesting part is that (with the VIT approach) the same VIT is called by another process and it works fine.  It is just for the process that has it appear within 2 sub-panels.  So the issue is related to having either having two instances spawn at once of the same VIT or it is related to the sub-panels.  I think it is the two instances (or copies of the VIT) that causes LV to caugh...
    So you are trying to tell me that the above description is accurate and it is because of the private methods...??...
    How would I "wrap" those private methods into public ones?  The seems to be a piece of this puzzle that I am not yet grasping..
    Thanks for your patience and help.
    RayR

  • BUG: Web service returns request XML as response when result too large

    Hi,
    sorry for cross-posting, but the Web Services forum seems to be quite abandoned and this is an urgent issue for me.
    I have a web service returning some records of a given type (created using JDeveloper 10.1.3.3). The running environment and the service implementation do not seem to make any difference, as the situation is the same whether running it in embedded OC4J or in AS 10.1.3.1, and whether it is generated from a PL/SQL procedure or a method of a plain Java class.
    The problem is that if the result of this web service is too large (contains a lot of records), then the processing halts in some Oracle class in some web service library, so not in a debuggable generated web service source or in the service implementation itself.
    I think that the XML processing halts because of a "java.lang.OutOfMemoryError: Java heap space".
    Then a more serious problem follows: the service doesn't return a fault message but the original request XML as a response. Obviously, this can lead to some really unexpected errors.
    To reproduce this error:
    1. Create a Java class with a method returning an array of an arbitrary type, of the size specified in an input parameter.
    2. Create a web service from this class.
    3. Call it multiple times increasing the size parameter in every call until you get back the request as response or any error message.
    For example:
    - if you test the web service using the web page generated to access the endpoint, then you can see the response XML - in case you don't get an Internal Server Error (Java heap space).
    - if you use a generated web service proxy for testing, then it will give an error saying "unexpected element name: expected={namespace}someOperationResponseElement
    actual={namespace}someOperationElement".
    Any ideas how to locate / solve this problem?
    Regards,
    Patrik

    Patrik,
    the usual recommendation is to try with 10.1.3.3 instead of 10.1.3.1 to exclude you are hunting down an already fixed issue. From what you describe, the error seems less JDeveloper related than OC4J or OracleAs.
    So in case it reproduces in 10.1.3.3 I suggest to create a testcase and open a service request with support, or try the OC4J forum in case its known there.
    Frank

  • Invoking a web service returning a arraylist of custom type

    Hi, I created a web service return a arraylist<InsertionSerialisable>.
    InsertionSerialisable can't be simpler here it is:
    public class InsertionSerialisable {
    public String nom = null;
    public String poids = null;
    I'm trying to use this arraylist in bpel but the returned parameter of my parter link for this web service is item of type anyType and I can't access my nom and poids string member. In a bpel process how can access member of custom element into an arraylist<InsertionSerialisable>?
    Here is my wsdl:
    <definitions
    name="ObtenirInsertions"
    targetNamespace="http://expedierdocument/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://expedierdocument/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://www.oracle.com/webservices/internal/literal"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://expedierdocument/"
    elementFormDefault="qualified" xmlns:tns="http://expedierdocument/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <import namespace="http://www.oracle.com/webservices/internal/literal"/>
    <complexType name="InsertionSerialisable">
    <sequence>
    <element name="poids" type="string" nillable="true"/>
    <element name="nom" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="obtenirInsertions" type="tns:obtenirInsertions"/>
    <complexType name="obtenirInsertions">
    <sequence>
    <element name="inExpInsPath" type="string" nillable="true"/>
    <element name="inIdentificationLettre" type="string" nillable="true"/>
    <element name="inSpecialite" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="obtenirInsertionsResponse" type="tns:obtenirInsertionsResponse"/>
    <complexType name="obtenirInsertionsResponse">
    <sequence>
    <element name="return" type="ns1:arrayList" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/webservices/internal/literal"
    elementFormDefault="qualified" xmlns:tns="http://www.oracle.com/webservices/internal/literal"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <import namespace="http://expedierdocument/"/>
    <complexType name="arrayList">
    <complexContent>
    <extension base="tns:list">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="ObtenirInsertions_obtenirInsertions">
    <part name="parameters" element="tns:obtenirInsertions"/>
    </message>
    <message name="ObtenirInsertions_obtenirInsertionsResponse">
    <part name="parameters" element="tns:obtenirInsertionsResponse"/>
    </message>
    <portType name="ObtenirInsertions">
    <operation name="obtenirInsertions">
    <input message="tns:ObtenirInsertions_obtenirInsertions"/>
    <output message="tns:ObtenirInsertions_obtenirInsertionsResponse"/>
    </operation>
    </portType>
    <binding name="ObtenirInsertionsSoapHttp" type="tns:ObtenirInsertions">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="obtenirInsertions">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="ObtenirInsertions">
    <port name="ObtenirInsertionsSoapHttpPort" binding="tns:ObtenirInsertionsSoapHttp">
    <soap:address location="http://192.168.0.2:8888/Application1-ExpedierDocument-context-root/ObtenirInsertionsSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    Thank you!

    Hi, I created a web service return a arraylist<InsertionSerialisable>.
    InsertionSerialisable can't be simpler here it is:
    public class InsertionSerialisable {
    public String nom = null;
    public String poids = null;
    I'm trying to use this arraylist in bpel but the returned parameter of my parter link for this web service is item of type anyType and I can't access my nom and poids string member. In a bpel process how can access member of custom element into an arraylist<InsertionSerialisable>?
    Here is my wsdl:
    <definitions
    name="ObtenirInsertions"
    targetNamespace="http://expedierdocument/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://expedierdocument/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://www.oracle.com/webservices/internal/literal"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://expedierdocument/"
    elementFormDefault="qualified" xmlns:tns="http://expedierdocument/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <import namespace="http://www.oracle.com/webservices/internal/literal"/>
    <complexType name="InsertionSerialisable">
    <sequence>
    <element name="poids" type="string" nillable="true"/>
    <element name="nom" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="obtenirInsertions" type="tns:obtenirInsertions"/>
    <complexType name="obtenirInsertions">
    <sequence>
    <element name="inExpInsPath" type="string" nillable="true"/>
    <element name="inIdentificationLettre" type="string" nillable="true"/>
    <element name="inSpecialite" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="obtenirInsertionsResponse" type="tns:obtenirInsertionsResponse"/>
    <complexType name="obtenirInsertionsResponse">
    <sequence>
    <element name="return" type="ns1:arrayList" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/webservices/internal/literal"
    elementFormDefault="qualified" xmlns:tns="http://www.oracle.com/webservices/internal/literal"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <import namespace="http://expedierdocument/"/>
    <complexType name="arrayList">
    <complexContent>
    <extension base="tns:list">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="ObtenirInsertions_obtenirInsertions">
    <part name="parameters" element="tns:obtenirInsertions"/>
    </message>
    <message name="ObtenirInsertions_obtenirInsertionsResponse">
    <part name="parameters" element="tns:obtenirInsertionsResponse"/>
    </message>
    <portType name="ObtenirInsertions">
    <operation name="obtenirInsertions">
    <input message="tns:ObtenirInsertions_obtenirInsertions"/>
    <output message="tns:ObtenirInsertions_obtenirInsertionsResponse"/>
    </operation>
    </portType>
    <binding name="ObtenirInsertionsSoapHttp" type="tns:ObtenirInsertions">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="obtenirInsertions">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="ObtenirInsertions">
    <port name="ObtenirInsertionsSoapHttpPort" binding="tns:ObtenirInsertionsSoapHttp">
    <soap:address location="http://192.168.0.2:8888/Application1-ExpedierDocument-context-root/ObtenirInsertionsSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    Thank you!

  • Web Service returning JCO.Table with no content

    Hello all,
    I've written a web service returning an object of type JCO.Table
    When I'm testing it in the Web Service Navigator the response contains two parameters: tabLength and row (current row number), but doesn't contain the content of the table.
    I tried testing the Web Service also from Webdynpro but its the same -
    the result contains a ComplexTypeJCOTable and from that object I can only get the tabLength and row.
    Anyone knows why is it happening?
    Thanks for your help, Adi.

    Hi Rajendrakumar Gaikwad,
    Thanks for your suggestion.
    I don't think this will be an efficient solution for me or for the web service clients.
    I'm still looking for an explanation why can't I get the JCO.Table content.
    Is it impossible for some reason or am I doing anything wrong?
    Thanks again, Adi.

  • Semantic Layer RESTful Web SDK

    Hi,
      We are exploring the RESTful SDKs for both WebI documents and Semantic Layer. Our BI Platform environment is v4.1 SP01 running on Windows Server 2008R2
      We are able to successfully connect and work with the WebI SDKs. However, when we try to work with the SL SDK we get the below error.
      The below response was got when we tried to connect to the server and retreive the list of Universes (UNX) in the server.
      Error with Stack Trace enabled:
    <error>
        <error_code>RWS 00005</error_code>
        <message>Not Found (RWS 00005)</message>
        <stack_trace>com.sap.bip.rs.exceptions.NotFoundException&#13;
    at com.sap.bip.rs.RootResource.ResolveRootResource(RootResource.java:64)&#13;
    at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)&#13;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#13;
    at java.lang.reflect.Method.invoke(Method.java:597)&#13;
    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)&#13;
    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)&#13;
    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)&#13;
    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)&#13;
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)&#13;
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)&#13;
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&#13;
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)&#13;
    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)&#13;
    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)&#13;
    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)&#13;
    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)&#13;
    at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)&#13;
    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)&#13;
    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)&#13;
    at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)&#13;
    at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)&#13;
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)&#13;
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)&#13;
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)&#13;
    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)&#13;
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)&#13;
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&#13;
    at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)&#13;
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)&#13;
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&#13;
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)&#13;
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)&#13;
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)&#13;
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)&#13;
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)&#13;
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)&#13;
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)&#13;
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)&#13;
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)&#13;
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)&#13;
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)&#13;
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&#13;
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&#13;
    at java.lang.Thread.run(Thread.java:743)&#13;
    </stack_trace>
    </error>
      The RESTful guide gives the status as "Service is not available" and the description is "The requested service is not provided by the RESTful web service SDK" for this error code.
      Do we have to separately install any patch/configure for SL Web RESTful SDK? Or is the SL SDK supported only from 4.1SP02?
      It will be great if you can provide some sample code for connecting to and extracting a list of Universes from the server.
      Any suggestion is appreciated.
    Thanks,
    Prasanna

    Hi Prasanna,
    The functionality that you are asking for i.e. retrieving the list of available universes is present in the Webi REST SDKs. You have to fire the below RESTful call sequence to get the list of available universe:
    Step 1: Retrieve the X-SAP-LogonToken for login to enterprise using REST.
    URL: http://<server-name>:<port-number>/biprws/logon/long
    Method: POST
    Headers: Content-type: application/xml
    Data:
    <attrs xmlns="http://www.sap.com/rws/bip">
    <attr name="userName" type="string">XXXXXXX</attr>
    <attr name="password" type="string">XXXXXXX</attr>
    <attr name="auth" type="string" possibilities="secEnterprise,secLDAP,secWinAD,secSAPR3">secEnterprise</attr>
    </attrs>
    Step 2: Getting the list of available universes.
    URL: http://<server-name>:<port-number>/biprws/raylight/v1/universes
    Method: GET
    Headers: Content-type: application/xml
                   X-SAP-LogonToken: "<Your-X-SAP-LogonToken-obtained-in-Step 1>"
    Please check in the "Application" tab of CMC is your RESTful Application is installed or not.
    BI Semantic Layer is comes with REST SDKs from BI 4.1 SP2 release.
    Hope it helps.
    Thanks,
    Shailendra

  • Web Appearance Large Images Extra Large: how to increase size

    Hi!
    When selecting Web > Appearance > Large Images > Extra Large
    Lightroom exports the fotos 1275 px wide.
    I would like to have them quite a big larger - where can this setting be edited?
    Thanks a lot for your time!
    Andreas Weber
    www.motiondraw.com

    Take a look at this page....
    http://lightroomers.com/lightroom-question-of-the-week-advanced-web-settings/123/
    Depending on which web gallery you are using, the advanced settings may do what you need.
    John

  • RE: prob w/web sdk

    The difference is only in the Web Browser or have you changed as well the Web Server?
    Have you checked your fortecgi.dat file to see if the line corresposnding to your application is present?
    /Stefano
    From: Fernandez, Obed
    Sent: Monday, June 30, 1997 8:52 PM
    To: 'Forte Users'
    Subject: prob w/web sdk
    Hello Everyone!
    We're using and having much success with the Forte Web SDK. I am having
    a weird problem that perhaps one of you has encountered. My form
    submissions to fortecgi work fine in Internet Explorer but not in any
    version of Netscape. Fortecgi gives me an error message that no
    serviceName parameter was specified.
    Any ideas??
    Thanks in Advance,
    Obed Fernandez
    Webmaster - Programmer/Analyst - Java Guru
    Indus Consultancy Services http://www.indcon.com
    Phone 201.261.3100 x245
    Fax 201.261.1399
    Work [email protected]
    Home [email protected]

    Well it is all kinds that should work, like Facebook, ESPN, JC Penny, MMA Junkie,  I just read a post on MAC Forums or something and I went it to the wireless advanced settings and disabled the ipv6 under the tcp/ip tab and i am going to try that. It seems to be working so far.  have you heard of this setting and what it is for?

  • Prob w/web sdk

    Hello Everyone!
    We're using and having much success with the Forte Web SDK. I am having
    a weird problem that perhaps one of you has encountered. My form
    submissions to fortecgi work fine in Internet Explorer but not in any
    version of Netscape. Fortecgi gives me an error message that no
    serviceName parameter was specified.
    Any ideas??
    Thanks in Advance,
    Obed Fernandez
    Webmaster - Programmer/Analyst - Java Guru
    Indus Consultancy Services http://www.indcon.com
    Phone 201.261.3100 x245
    Fax 201.261.1399
    Work [email protected]
    Home [email protected]

    Well it is all kinds that should work, like Facebook, ESPN, JC Penny, MMA Junkie,  I just read a post on MAC Forums or something and I went it to the wireless advanced settings and disabled the ipv6 under the tcp/ip tab and i am going to try that. It seems to be working so far.  have you heard of this setting and what it is for?

  • Modificatin webi report using webi SDK

    Hello All,
    I want to modify web intelligence report and add dropdown in that report
    which contain ascending and descending option and according to selection of that option report data will get sorted.
    Any one please told me is it possible using WEBI SDK and if yes then how.
    Thanks
    Prashant Joshi

    Please help me out.
    there is solution for this problem ?
    means we can solve above requirement by using any BO SDK
    Thanks.
    Prashant Joshi

  • PLSQL web service returning multiple records

    Hello,
    I am trying to create a web service using oracle 11g which should be able to return multiple records.
    Based on hints and code samples found on the internet here is my code :
    CREATE OR REPLACE TYPE test_rec is OBJECT (
        s_nume_adre                    NUMBER ,
        c_eta_civi                     VARCHAR2(4 BYTE),
        l_nom1_comp                    VARCHAR2(40 BYTE),
        l_nom2_comp                    VARCHAR2(40 BYTE),
        l_nom3_comp                    VARCHAR2(40 BYTE),
        l_pren_comp                    VARCHAR2(30 BYTE),
        d_date_nais                    DATE);
    CREATE OR REPLACE TYPE test_array AS TABLE OF test_rec;
    CREATE OR REPLACE PACKAGE test_pkg AS
      function get_rows(snume_adre in number) return test_array;
    END;
    CREATE OR REPLACE PACKAGE BODY test_pkg AS
      function get_rows(snume_adre in number) return test_array is
        v_rtn   test_array := test_array(null);
        v_first boolean := true;
        cursor c_get_rows(snume_adre in number) is
          SELECT a.s_nume_adre,
                 nvl(a.c_eta_civi, '') c_eta_civi,
                 nvl(a.l_nom1_comp, '') l_nom1_comp,
                 nvl(a.l_nom2_comp, '') l_nom2_comp,
                 nvl(a.l_nom3_comp, '') l_nom3_comp,
                 nvl(a.l_pren_comp, '') l_pren_comp,
                 nvl(a.d_date_nais, to_date('01.01.1900', 'dd.mm.yyyy')) d_date_nais
        FROM bro.z45 a
      where a.s_nume_adre = snume_adre or snume_adre is null;
      begin
        for rec in c_get_rows(snume_adre) loop
          if v_first then
            v_first := false;
          else
            v_rtn.extend;
          end if;
        v_rtn(v_rtn.last) := test_rec(rec.s_nume_adre, rec.c_eta_civi, rec.l_nom1_comp, rec.l_nom2_comp,
                                    rec.l_nom3_comp, rec.l_pren_comp, rec.d_date_nais);
        end loop;  
        return v_rtn;
      end;
    END;
    --select * from table (test_pkg.get_rows(null));
    I am able to retrieve the data using the select.
    However when I try to access its wsdl I get an error :
    <soap:Envelope>
       <soap:Body>
          <soap:Fault>
             <faultcode>soap:Client</faultcode>
             <faultstring>Error processing input</faultstring>
             <detail>
                <OracleErrors></OracleErrors>
             </detail>
          </soap:Fault>
       </soap:Body>
    </soap:Envelope>
    If I comment the function call in the package declaration I get a "correct" wsdl :
    <definitions name="GET_ROWS" targetNamespace="http://xmlns.oracle.com/orawsv/TEST/TEST_PKG/GET_ROWS" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/orawsv/TEST/TEST_PKG/GET_ROWS" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types>
        <xsd:schema targetNamespace="http://xmlns.oracle.com/orawsv/TEST/TEST_PKG/GET_ROWS" elementFormDefault="qualified">
          <xsd:element name="GET_ROWSInput">
            <xsd:complexType>
              </xsd:complexType>
          </xsd:element>
          <xsd:element name="GET_ROWSOutput">
            <xsd:complexType>
              </xsd:complexType>
          </xsd:element>
       </xsd:schema>
      </types>
      <message name="GET_ROWSInputMessage">
        <part name="parameters" element="tns:GET_ROWSInput"/>
      </message>
      <message name="GET_ROWSOutputMessage">
        <part name="parameters" element="tns:GET_ROWSOutput"/>
      </message>
      <portType name="GET_ROWSPortType">
      <operation name="GET_ROWS">
          <input message="tns:GET_ROWSInputMessage"/>
          <output message="tns:GET_ROWSOutputMessage"/>
        </operation>
      </portType>
      <binding name="GET_ROWSBinding" type="tns:GET_ROWSPortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="GET_ROWS">
          <soap:operation soapAction="GET_ROWS"/>
          <input>
            <soap:body parts="parameters" use="literal"/>
          </input>
          <output>
            <soap:body parts="parameters" use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="GET_ROWSService">
        <documentation>Oracle Web Service</documentation>
        <port name="GET_ROWSPort" binding="tns:GET_ROWSBinding">
           <soap:address location="http://server.domain.ch:8080/orawsv/TEST/TEST_PKG/GET_ROWS"/>
         </port>
      </service>
    </definitions>
    Any hint as how to create and access pl sql web service returning multiple rows?
    I don't use java and don't have access to tools like JDeveloper.
    Thanks!

    The actual issue is that collection types are not supported for return parameters.
    The solution is to wrap the collection into another object.
    Here's a working example based on your settings :
    CREATE OR REPLACE TYPE test_rec is OBJECT ( 
      empno  number(4)
    , ename  varchar2(10)
    , hiredate date
    CREATE OR REPLACE TYPE test_array AS TABLE OF test_rec; 
    CREATE OR REPLACE TYPE test_array_wrapper is OBJECT ( arr test_array );
    CREATE OR REPLACE PACKAGE test_pkg AS 
      function get_rows(p_deptno in number) return test_array_wrapper; 
    END; 
    CREATE OR REPLACE PACKAGE BODY test_pkg AS 
      function get_rows(p_deptno in number) return test_array_wrapper is 
        results  test_array; 
      begin 
        select test_rec(empno, ename, hiredate)
        bulk collect into results
        from scott.emp
        where deptno = p_deptno;    
        return test_array_wrapper(results); 
      end; 
    END; 
    The wsdl is then generated correctly :
    SQL> select httpuritype('http://DEV:dev@localhost:8080/orawsv/DEV/TEST_PKG/GET_ROWS?wsdl').getxml() from dual;
    HTTPURITYPE('HTTP://DEV:DEV@LOCALHOST:8080/ORAWSV/DEV/TEST_PKG/GET_ROWS?WSDL').GETXML()
    <definitions name="GET_ROWS" targetNamespace="http://xmlns.oracle.com/orawsv/DEV/TEST_PKG/GET_ROWS" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/orawsv/DEV/TEST_PKG/GET_
    ROWS" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types>
        <xsd:schema targetNamespace="http://xmlns.oracle.com/orawsv/DEV/TEST_PKG/GET_ROWS" elementFormDefault="qualified">
          <xsd:element name="CTEST_ARRAY_WRAPPER-GET_ROWSInput">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="P_DEPTNO-NUMBER-IN" type="xsd:double"/>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="GET_ROWSOutput">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="RETURN" type="tns:TEST_ARRAY_WRAPPERType"/>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>
          <xsd:complexType name="TEST_ARRAY_WRAPPERType">
            <xsd:sequence>
              <xsd:element name="TEST_ARRAY_WRAPPER">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="ARR">
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="TEST_REC" type="tns:TEST_REC_IntType" maxOccurs="unbounded" minOccurs="0"/>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
          <xsd:complexType name="TEST_REC_IntType">
            <xsd:sequence>
              <xsd:element name="EMPNO" type="xsd:double"/>
              <xsd:element name="ENAME">
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="10"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element name="HIREDATE" type="xsd:date"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:schema>
      </types>
      <message name="GET_ROWSInputMessage">
        <part name="parameters" element="tns:CTEST_ARRAY_WRAPPER-GET_ROWSInput"/>
      </message>
      <message name="GET_ROWSOutputMessage">
        <part name="parameters" element="tns:GET_ROWSOutput"/>
      </message>
      <portType name="GET_ROWSPortType">
        <operation name="GET_ROWS">
          <input message="tns:GET_ROWSInputMessage"/>
          <output message="tns:GET_ROWSOutputMessage"/>
        </operation>
      </portType>
      <binding name="GET_ROWSBinding" type="tns:GET_ROWSPortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="GET_ROWS">
          <soap:operation soapAction="GET_ROWS"/>
          <input>
            <soap:body parts="parameters" use="literal"/>
          </input>
          <output>
            <soap:body parts="parameters" use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="GET_ROWSService">
        <documentation>Oracle Web Service</documentation>
        <port name="GET_ROWSPort" binding="tns:GET_ROWSBinding">
          <soap:address location="http://localhost:8080/orawsv/DEV/TEST_PKG/GET_ROWS"/>
        </port>
      </service>
    </definitions>

  • Welcome to the NEW Skype Web SDK forum!

    Hello and welcome to the new Skype Web SDK forum!
    This forum is dedicated to the new Skype Web SDK, the html5/javascript web client API for Skype for Business Server 2015. This API also has some compatibility with Lync Server 2013. This API only supports on-premise environments.
    When asking a question, please specify your environment: device, OS, browser, server, and any other related information.
    -- How To Ask a Question: http://support.microsoft.com/kb/555375 -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

    outdated self response..after 25 tries i was able to correct my spelling in the real post

  • AppleScriptObjC Web View and Image Well

    Ok, so I have been working on this for a long time now and I can't figure it out. Here is what I need to do: Load an image from the web to an image view or load a url in a web view. Here is what I tryed: http://macscripter.net/viewtopic.php?id=28459 but with:
    set imageURL to "http://www.google.com/intl/en_ALL/images/logo.gif"
    tell current application's class "ImageLoader" to loadImageInImageView(imageView,imageURL)

    Your method call is not formed correctly.  In AppleScriptObjC, an underscore acts as a placeholder for the parameters in the equivalent Objective C method.  For example (from your linked page):
    + (void)loadImageInImageView:(NSImageView *)theImageView fromURL:(NSString *)url
    becomes:
    loadImageInImageView_fromURL_(theImageView, |url|)
    (the url term in the above example is surrounded by pipes because it is an AppleScript reserved word)

Maybe you are looking for

  • No Save a Copy icon for Adobe Reader 9, using Win 7, IE or Firefox

    The Save A Copy icon is no longer shown when I bring up my paycheck stub (and I am certainly authorized for that site).  I can view my files but there is no icon to save the PDF to disc.  It does not matter whether I go to that site with IE or with F

  • Embedding FLV in cfm

    Im working on a video databse project thatuses flash and xml with a coldfusion backend system and one of the components I need is a cintents page that ouputs all the videos stored in the database. The problem is this needs to be done dynamically usin

  • LDAP syncronization with Oracle DB. Related questions.

    Hello everybody, The problem / objective: I have an Oracle DB with information for clients (ie). And I want to store that information in an LDAP server and have that information syncronized with the Oracle DB. I alredy read A LOT about this but no lu

  • Where exadata stands per regards to availability, security, and easy to use

    Dears, I would like to have details on how exadata could ensure availability, security and storage performance. In other words I know that exadata represent both a database(11g2) and a hosting server for that database. How this hosting service and th

  • Mac Mini, No USB or HDMI

    I set up my new Mac Mini server last night, keyboard and mouse worked a treat, monitor worked too. Today it starts up with no chime, LED is on, I can hear the drive spinning but nothing on the monitor (via HDMI to DVI cable) no keyboard input nor mou