Portal WebService and Complex Parameter (Array) Response

Hello Colleagues,
i use the function „Create WebService from Portal Service“ in the NWDS.
It Works fine for methods that take or give flat Parameters like this:
public String getValue(String value) {
return value;
But I need to use Complex structures. My first try was this method :
public String[] getArray(String value) {
String[] valueArray = new String[5];
for (int i = 0; i < valueArray.length; i++) {
      valueArray<i> = value;
return valueArray;
This works too, but i only have unnamed parameters. Also there is no semantic in my parameters and i can not identify them (only by order). So i need to take a method like this:
public File[] getFiles(String value) {
File[] files = new File[5];
for (int i = 0; i < files.length; i++) {
    files<i>.setFilename("filename " + i);
    files<i>.setCreated(new Date(System.currentTimeMillis()));
    files<i>.setDescription("description " + i);
    files<i>.setLastModified(new Date(System.currentTimeMillis()));
    files<i>.setContent(new byte[20]);
return files;
I put the class "File" in the same package as the Service class. I also make a Interface to the File class.
When i deploy this to my Portal i get an "error_NoClassDefFoundError" in the soap response. What is the right way to make an webservice from a Portalservice with an complex parameter response?
Every hint is welcome.
Best regards,
Patrick
http://www.mindsquare.de

<prt0:stackTrace>java.lang.NoClassDefFoundError: [Lde/hoefer/test/File;&#xd;
     at java.lang.Class.getDeclaredMethods0(Native Method)&#xd;
     at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)&#xd;
     at java.lang.Class.getMethod0(Class.java:1901)&#xd;
     at java.lang.Class.getMethod(Class.java:984)&#xd;
     at com.sapportals.portal.prt.service.soap.processor.MethodsAuthorizedProcessor.isMethodAuthorized(MethodsAuthorizedProcessor.java:161)&#xd;
     at com.sapportals.portal.prt.service.soap.processor.InvokerProcessor.generateCallOnPortalService(InvokerProcessor.java:194)&#xd;
     at com.sapportals.portal.prt.service.soap.processor.InvokerProcessor.invokePortalSOAPProcessor(InvokerProcessor.java:146)&#xd;
     at com.sapportals.portal.prt.service.soap.SOAPServiceManager.invokeProcessor(SOAPServiceManager.java:228)&#xd;
     at com.sapportals.portal.prt.service.soap.SOAPServiceManager.invokeMethodOnServices(SOAPServiceManager.java:209)&#xd;
     at com.sapportals.portal.prt.service.soap.SOAPServiceManager.consumeSOAPMessage(SOAPServiceManager.java:133)&#xd;
     at com.sapportals.portal.prt.service.soap.SOAPConnection.processSOAPPost(SOAPConnection.java:271)&#xd;
     at com.sapportals.portal.prt.service.soap.SOAPConnection.handleRequest(SOAPConnection.java:185)&#xd;
     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)&#xd;
     at java.security.AccessController.doPrivileged(Native Method)&#xd;
     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)&#xd;
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#xd;
     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)&#xd;
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#xd;
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)&#xd;
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)&#xd;
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)&#xd;
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)&#xd;
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)&#xd;
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)&#xd;
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)&#xd;
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)&#xd;
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)&#xd;
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)&#xd;
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)&#xd;
     at java.security.AccessController.doPrivileged(Native Method)&#xd;
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)&#xd;
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)&#xd;</prt0:stackTrace>
        </prt0:error_NoClassDefFoundError>

Similar Messages

  • How to use Adaptive WebService Model with CAF WebService and Complex Type

    Hi All,
    I am trying to use the Adaptive Web Service Model and call a WebService generated by the CAF. The return type of the WebService is a Complex Type.. I receive an exception when trying to instantiate the Model Node.
    Does anybody know how to use the Adpative Web Service Model with CAF WebServices and Complex Types as return type?
    Help is appreciated..
    Thanks, Johannes

    Thanks Mukesh.
    It is not possible to apply the Service Controller Template on Enterprise Java Bean Models as described in the Document. When I try to aply the template on the EJB Model, NWDS says: Only Webservice Models and RFC Models are supported...???
    I did not find any information about how to return complex types in AWS.. in this document???
    Is there such information available? Has anybody ever done that? There must be a way to do that.. Is is the standard approach, isn't it...? Please help me out there.. I need to get this running..
    Thanks, Johannes

  • BPM, webservices and complex types

    I have a WSDL wich has complext xml types, I create a webservice call in BPM. I get a SOAP fault string
    <?xml version="1.0" encoding="UTF-8" ?>
    <detail faultString="Unable to find a matching Operation for this remote invocation <ns1:createProduct xmlns:ns1="java:com.screwfix.xml.product">
         <ns1:description>From BPM</ns1:description>
    </ns1:createProduct>. Please check your operation name. " faultCode="Client">
    </detail>
    I can access the webservice externally but not through BPM. I can access webserivice without complex types, such as simple string....
    Looking at the error, it indicates that the soap client cannot process the request. Any ideas would be appreciated, we are using ALBPM 5.7
    Full exception :
    <?xml version="1.0" encoding="UTF-8" ?>
    <detail faultString="Unable to find a matching Operation for this remote invocation <ns1:createProduct xmlns:ns1="java:com.screwfix.xml.product">
         <ns1:description>From BPM</ns1:description>
    </ns1:createProduct>. Please check your operation name. " faultCode="Client">
    </detail>
    fuego.soaptype.SoapExecutionException: <?xml version="1.0" encoding="UTF-8" ?>
    <detail faultString="Unable to find a matching Operation for this remote invocation <ns1:createProduct xmlns:ns1="java:com.screwfix.xml.product">
         <ns1:description>From BPM</ns1:description>
    </ns1:createProduct>. Please check your operation name. " faultCode="Client">
    </detail>
         at fuego.soaptype.SoapCall.processRemoteException(SoapCall.java:531)
         at fuego.soaptype.SoapCall.invoke(SoapCall.java:292)
         at fuego.soaptype.SoapObject.invoke(SoapObject.java:272)
         at fuego.lang.Invokeable.invokeImpl(Invokeable.java:220)
         at fuego.lang.Invokeable.invoke(Invokeable.java:161)
         at fuego.compiler.Invoke$MethodCall.run(Invoke.java:1543)
         at fuego.compiler.Invoke.runCall(Invoke.java:710)
         at fuego.compiler.Invoke.run(Invoke.java:694)
         at fuego.compiler.Block.run(Block.java:317)
         at fuego.compiler.DoBlock.run(DoBlock.java:676)
         at fuego.compiler.Method.run(Method.java:1223)
         at fuego.compiler.Method$Adaptor.run(Method.java:1894)
         at fuego.compiler.FuegoInvokeable.invoke(FuegoInvokeable.java:426)
         at fuego.compiler.CodeRunner$DebuggerRunnable.runMethod(CodeRunner.java:756)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1478)
         at fuego.lang.JavaObject.invoke(JavaObject.java:185)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:759)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:734)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:140)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:132)
         at fuego.compiler.DebuggerPrincipal.processBatch(DebuggerPrincipal.java:62)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:818)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:397)
    Edited by masoodmjan at 06/19/2007 9:01 AM

    I found out that the retrieve method accepts columnSet as a
    class and id as a class. These are not strings that you can pass
    into MSCRM 3.0. However, I have no idea how to create a .NET
    acceptable class and pass it in. If you figured this out, or if
    others have thoughts, I'd love to hear how you've gone about it.
    Thank you!

  • Webservice and BPM; connection AFW failed

    I have created the following integration process:
    1. Asynchronous receive step of a xml file;
    2. Synchronous send step to invoke webservice;
    3. Asynchronous send step of the response file.
    In this process XI will read a xml file from a directory on the server, convert this file to a SOAP request, call the webservice and convert the SOAP response to a xml file. This file is then sent to the same server directory.
    When I look in SXMB_MONI the whole process is set to ok. The response of the webservice is in the payload of the XI response message. (This is the message from my integration process to the inbound message interface.).
    But the response file never reached its destination.
    When I look at the file adapter monitor it reports: "Up and running - no message processing until now".
    And when I look at the message monitoring, there are the following messages:
    2005-07-29 11:30:55 Success The message was successfully received by the messaging system.
    Profile: XI URL: http://nthvsnw4:50000/MessagingSystem/receive/AFW/XI
    2005-07-29 11:30:55 Success Using connection AFW. Trying to put the message into the receive queue.
    2005-07-29 11:30:55 Success Message successfully put into the queue.
    2005-07-29 11:30:55 Success The message was successfully retrieved from the receive queue.
    2005-07-29 11:30:55 Success The message status set to DLNG.
    2005-07-29 11:30:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2005-07-29 11:30:55 Success The asynchronous message was successfully scheduled to be delivered at Fri Jul 29 11:35:55 CEST 2005.
    2005-07-29 11:30:55 Success The message status set to WAIT.
    2005-07-29 11:35:55 Success The message was successfully retrieved from the receive queue.
    2005-07-29 11:35:55 Success The message status set to DLNG.
    2005-07-29 11:35:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2005-07-29 11:35:55 Success The asynchronous message was successfully scheduled to be delivered at Fri Jul 29 11:40:55 CEST 2005.
    2005-07-29 11:35:55 Success The message status set to WAIT.
    2005-07-29 11:40:55 Success The message was successfully retrieved from the receive queue.
    2005-07-29 11:40:55 Success The message status set to DLNG.
    2005-07-29 11:40:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2005-07-29 11:40:55 Success The asynchronous message was successfully scheduled to be delivered at Fri Jul 29 11:45:55 CEST 2005.
    2005-07-29 11:40:55 Success The message status set to WAIT.
    2005-07-29 11:45:55 Success The message was successfully retrieved from the receive queue.
    2005-07-29 11:45:55 Success The message status set to DLNG.
    2005-07-29 11:45:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2005-07-29 11:45:55 Error The message status set to NDLV.
    I looked at several postings with the subject "Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException", but I could not find any which seems to meet my problem.
    I would highly appreciate any help on this.

    Sorry for my late response, but I did not look at this after it was solved and I did not receive any mail. So please let me know if you still need some support.
    I could send you a document with some screen shots. If so send me an email ([email protected])

  • IDoc to webservice and get the response back into another IDoc.

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    4. If not possible, provide me the related docs using BPM for the same scenario.
    Appreciate your quick response
    Regards
    Naidu

    Hi,
    this link may help u............,
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Azeez khan.

  • Query SAP BW via XMLA Webservice and save response to HD

    Hi,
    I´m currently working for an QM Project to create an Overview-page with figures from various BW-Querys. Unfortunatly the the BW-Performance isn´t fast enough to execute a lot of Querys in realtime, so I can´t use the Web App Designer.
    To improve performance I want to execute those querys once a day and save the result sets on hard disk. To get the data out of the BW I want to use the XMLA-Webservice which is already running.
    Is there a simple way or application to send my XMLA to the webservice and save the response on hard disk?

    You can use XMLA web service or the queryview web service to get the data in XML format. The queryview XML service is only available from BW 3.5, see attached documentation.
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/content.htm
    Ther is also an How to document available for XMLA under the BW 3.0B section.
    If you are looking at a report with no navigation you can use the pre-calculation of the web reports with reporting agent which will create a pre-calculated HTML output on the BW server. Everytime you access the web report the pre-calculated HTML output will be displayed and the performance is great as the data is not accessed at runtime.
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/content.htm
    Thanks.

  • Complex Types Array in webservices

    How can i invoke the generated Codec for one of my complex type array to serialize and get the xml data..
    I am supposed to store the object info in database as xml. I cannot use regular xml encoding schemas due to limitations.
    Thanks in Advance
    Venkat

    There are no public API for using the generated codec. Check out
    if XMLBeans will be of any help:
    http://xml.apache.org/xmlbeans/
    Regards,
    -manoj
    http://manojc.com
    "Venkat Addanki" <[email protected]> wrote in message
    news:40d71639$1@mktnews1...
    How can i invoke the generated Codec for one of my complex type array toserialize and get the xml data..
    >
    I am supposed to store the object info in database as xml. I cannot useregular xml encoding schemas due to limitations.
    >
    Thanks in Advance
    Venkat

  • BAPI - XI - webservice and response back to BAPI

    HI experts,
    could anyone please explain the step by step procedure for the below scenario in XI.
    1.Bapi ->2.XI -> 3.webservice -> 4.XI -> 5.Bapi
    BAPI must invoke a service in XI which invokes a webservice and fetches the data from external system, the response received back in XI is mapped to the BAPI.
    a) How to configure BAPI in SAP R/3 to invoke XI service
    b) how to configure the communication channel for RFC and SOAP
    please provide links for step by step procedure.
    Thanks & Regards,
    Shan

    Hi,
    Check these
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    Regards
    Seshagiri

  • Portal service and Portal webservice

    Hi Experts,
    Could you please provide the document/blog to create Portal service and to create webservice from Portal webservice?
    Regards
    Sara

    Sara,
    These URL's are giving you step by step instruction with Screen shots and Tutorials to Create Portal Service as well as Creating Webservice from Portal Service.
    You are getting error message  because of the Restriction of your Internet Explorer settings.Try to use some other Browser to open the URLs.
    Meantime I shall find the way to get rid of this exception and update you.
    Update:
    1.Copy and Paste the given URL in Browser and try to open it.
    2.Change Internet Explorer security settings:
    Go to tools->Internet Options->Security->Internet->Custom level->Medium
    /Intranet ->Custome level to Medium-Low.
    This document will be very helpful to you for Webservice access in EP.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b07992b3-b5af-2a10-9886-affcbeccc4c9
    Regards,
    Karthick Eswaran
    Edited by: Karthick Eswaran on May 21, 2008 10:34 AM

  • Portal service and Webservice creation

    Hi Experts,
    Could you please provide the document/blog to create Portal service and to create webservice from Portal webservice?
    Regards
    Sara

    Hi,
    Check this to know how to Creating a Web Service from a Portal Service, you will find steps in page 25:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2188ae5-0601-0010-dd93-c23e381ef41e
    To create a Portal Service:
    http://help.sap.com/saphelp_nw04s/helpdata/en/df/e6b74253ffda11e10000000a155106/frameset.htm
    Regards,
    Praveen Gudapati

  • Portal Ear containing portal war and webservice war vanishes desktops

    Hey guys,
    I have an issue here. Hmmm.. I have a portal project and a spring driven webservice project. I had to merge both the projects.
    So the idea was to have 2 war files with in the same portal ear. The ear deployed fine, but after i log in to the portal admin tool, I see the desktops, remote producers are all vanished.
    Any idea why this behavior?
    Thanks,
    Ram.

    hi
    well if you can merge the two wars (using any of the techniques mentioned in the other post) then thats probably good. If you cant then
    a) you either have to use WSRP (it uses SOAP behind the scenes but all that is transparent to you)
    OR
    b) use something like a web clipping / screen scraping portlet (http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/seltype.html#wp1011062)
    I'd see if the war's can be merged first , if not then I'd go with option a) ..
    regards
    deepak

  • How set and get parameter for a session of a portlet (Java)

    I would like get parameter and set parameter for a portlet in portal 9.02. This parameter must be availbale during the session of the portal.
    With Java Servlet
    // I retrieve my session
    HttpServletRequest httpreq = (HttpServletRequest)req;
    HttpServletResponse httpresp = (HttpServletResponse)resp;
    HttpSession session = httpreq.getSession();
    //And after i can get or set some parameter for this servlet
    //Example
    session.setAttribute("MyEmployeeNumber","600000");
    String id = (String)session.getAttribute("MyEmployeeNumber");
    // But with Portlet in portal, i can't do it.
    PortletRenderRequest pr= (PortletRenderRequest)httpreq.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String sUser=pr.getUser().getName();
    ProviderSession session=pr.getSession();
    // But after if i want get or set a value in this session i have a internal error 500
    session.setAttribute("MyEmployeeNumber","600000");
    I would like my parameter is avalaible during a session for a user in each page of the portal, because my portlet is on each page.

    I have almost the same problem. I tried as you suggested, but it doesn't work yet.
    provider.xml
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    My code in my jsp-portlet is
    <%@page contentType="text/html; charset=windows-1252"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.render.PortletRendererUtil"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    import="oracle.portal.provider.v2.ParameterDefinition"
    import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"
    %>
    <%@page session="true"%>
    <%
    PortletRenderRequest pReq = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String valueSession = (String)pReq.getAttribute("sesion");
    if (valueSession != null) {
    pReq.setAttribute("session", "value1");
    out.println("<br>(1)valueSession != null");
    out.println("<br>(1)valueSession : " + pReq.getAttribute("session"));
    } else {
    pReq.setAttribute("session", "value2");
    out.println("<br>(2)valueSession == null");
    out.println("<br>(2)valueSession : " + pReq.getAttribute("session"));
    %>
    And i always get as result:
    (2)valueSession == null
    (2)valueSession : value2
    Even when i send values (post) at the same page or browsing between tabs:
    I check my provider registration and it has the value "once per session"
    I have portal 9.0.2.2.14
    Thanks

  • Consuming a webservice and attributes

    I'm trying to noodle my way thru consuming a webservice and
    it is not making sense when I'm trying to get attributes from a
    webservice. Can someone point me in the right direction. I've
    included what the xml output looks like and my cfinvoke and a
    cfdump of the invoke return variable. I just don't know how to
    bring back that array of course ids??
    The service returns course ids
    <?xml version="1.0" encoding="utf-8" ?>
    - <Courses>
    <Course CourseID="1167" CourseName="Human Performance
    Tools - Self Checking" />
    <Course CourseID="1168" CourseName="Human Perfomance
    Tools - 3 Way Communication" />
    <Course CourseID="1169" CourseName="Human Performance
    Tools - Phonetic Alphabet" />
    <Course CourseID="1170" CourseName="Human Performance
    Tools - Pre-Job Briefing" />
    <Course CourseID="1171" CourseName="Initial Plant Access
    Training" PadsCode="PAT034" />
    <Course CourseID="1172" CourseName="Initial Radiation
    Worker Training" PadsCode="RWT" />
    <Course CourseID="1224" CourseName="Plant Access Requal
    Training" PadsCode="PAT034" />
    <Course CourseID="1225" CourseName="RWT Requal Training"
    PadsCode="RWQ" />
    <Course CourseID="1226" CourseName="Proctoring
    Responsibilities" />
    <Course CourseID="1235" CourseName="Generic Confined
    Space" />
    <Course CourseID="1236" CourseName="Generic Fall
    Protection" />
    </Courses>
    object of
    org.tempuri.LMSWebSvc.LMS_Interface.GetCoursesResponseGetCoursesResult
    Methods hashCode (returns int)
    equals (returns boolean)
    getSerializer (returns interface
    org.apache.axis.encoding.Serializer)
    getDeserializer (returns interface
    org.apache.axis.encoding.Deserializer)
    getTypeDesc (returns org.apache.axis.description.TypeDesc)
    get_any (returns [Lorg.apache.axis.message.MessageElement;)
    set_any (returns void)
    getClass (returns java.lang.Class)
    wait (returns void)
    wait (returns void)
    wait (returns void)
    notify (returns void)
    notifyAll (returns void)
    toString (returns java.lang.String)

    I found a way to get the soap request into an xml document.
    It was not intuitive to me but works.
    Basically rereading this post:
    http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:44797#233359
    gave me more insight. The tostring function appears to allow me to
    get the raw xml that CF is struggling to noodle out.

  • Split Message, send to webservice and consolidate the results

    Hello,
    I am looking for some support / examples for following situation:
    A webservice is existing that only allows a single message to be entered. The webservice will return the result on this message. The structure of the message is very simple as it contains only one element. (Same for the response)
    What I would like to do is to be able to send a list of several values to be checked by this webservice. The idea is to build a BPM to send a multi-element message (repeating element / different values) , split this multi element message into seperate messages including one element, send all these messages accordingly to the webservice, receive and collect all according responses and consolidate these again in a multiu-element response message.
    If someone would have a description or an example with the different needed steps how to build this BPM, this would be nice.
    Thanks in advance !
    Edited by: Keno Torfs on Mar 4, 2008 11:30 AM

    hi,
    just open asynch synch bridge
    you will be creating multi-line container with interface variable as instance.
    assumption is a source system is pumping messages of same data type.
    recieve step to get the messages.
    you just collect the messages using container
    then use reciever determinaton step to get the receivers in receiver variable .
    use the transformation step to get the target messgaes
    loop through the target message container and execute send step. after send step collect message.
    note:in loop step we have decrement message counter  send step which has collection variable for response.
    hope you got some  idea.
    Regards,
    Ram

  • Set Parameter Array of OTYPE_ROWID

    I have tried to adds a parameter array to a database as OTYPE_ROWID.
    the sample codes are as follow:
    //Use oo4o to connect DB
    CString strRowIDArrayName = "U1";
    long ParamRecordCount = 5;
    ODatabase db;
    db.open("DSN","UID","PWD");
    OParameterCollection ParamColl = db.GetParameters();
    ParamArray1=ParamColl.AddTable(strRowIDArrayName,OPARAMETER_INVAR,OTYPE_ROWID,ParamRecordCount);
    BOOL bln = ParamArray1.IsOpen();
    db.close();
    Question:Why the bln is 0
    and failure in use the ParamArray1 to execute SQL statement .
    Please help me.
    my email address: [email protected]
    thank a lot

    You're right, this not directly described...  
    First you should read how LabVIEW stores data in memory,
    then read about structure packing pragma,
    and finally take a look to C/C++ preprocessor reference,
    then you will get feeling how to solve this problem...
    Otherwise own DLLs used in LabVIEW code pretty rarely, and Double precision also not very often...
    The same trouble you may get with clusters, but here behaviour described:
    "...The memory layout of a cluster depends on the platform you are running. LabVIEW may add padding between cluster elements so that those elements are aligned to certain address boundaries. Address boundaries relate to the concept of natural alignment. A piece of data is aligned on its natural boundary if the address at which it begins is a multiple of the size of the data. For example, a 4-byte integer is aligned naturally if it begins at an address which is a multiple of four. Most compilers have an upper limit on this boundary at which the restriction is relaxed. For instance, an 8-byte integer may be aligned on a 4-byte boundary. For the platforms on which LabVIEW runs, the alignment constraints are as follows:
    (Windows) Data is aligned only to 1-byte boundaries.
    (Mac OS and Linux) Data is aligned naturally up to 4-byte boundaries.
    (VxWorks PowerPC) Data is aligned naturally up to 8-byte boundaries.
    On all platforms, clusters adopt the alignment of their most restrictively aligned element..."
    best regards and happy wiring...
    Andrey.
    Message Edited by Andrey Dmitriev on 10-23-2008 03:38 PM

Maybe you are looking for

  • ERRO DE IMAGEM NA TELA DE BLOQUEIO

    Bom dia, Fiz a ultima atualização do IPHONE 4, para o  software 7.0.3,e depois disso estou tendo problemas com a minha imagem. Quando o aparelho entra na tela de descanço/bloqueio, a imagem fica toda manchada, e distorcida, não consigo visualizar nad

  • In F-53, the Withholding tax line item is not geting calulated

    Hi All I have created a tax code for payment. while making payment through F-53, i dont see a sepreate line item getting created for for Tax(Withholding) When i double click on the vendor line item and check on the Withholding tax option box, its sho

  • Itunes can't sync contacts due to disconnect

    Has anyone had this happen? I try syncing all my contacts and I get this. Itunes could not synch this Ipod because it has been disconnected. I can't get it to pass this point. It is still connected. Any help is appreciated. I do have the most recent

  • Depreciation question

    Hi all, i wanted to know why my system was calculating depreciation in a unusual manner. My asset transfer date is 9/2007, i want it to start calculating depreciation from 10/2007. In the asset master the acquisition date is 7/2006. the depreciation

  • Watermark using image file name

    Is it possible to use the image filename as the watermark? I'd like to export slideshows and contact sheets with the filename watermarked on the image itself. If there is a way I'd appreciate some help. Thanks, Andrew