Problem in invoking the partner web service

Hi All,
I have a BPEL process which is compiling successfully and able to deploy in Oracle AS 10.1.3.1. But When I am trying to Initiate it thorws IndexOutOfBoundsException.
I am trying to invoke an operation in the partner service whose message have no part defined as below.
<wsdl:message name="NoPart_InputMessage" />
But I am sure that a message is allowed with out a part as per the WSI basic profile.
How can I invoke such kind of operation from my BPEL. Any thoughts ?
Thank you.

I can see the below exception in logs
<BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.wrapInputParts(WSIFOperation_JaxRpc.java:2298)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.getInputMessageValues(WSIFOperation_JaxRpc.java:2375)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1622)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1460)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1182)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:431)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:416)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:202)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:736)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:371)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:530)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:333)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)

Similar Messages

  • Help! Invoking the same Web Service from multiple mxml components

    Hi,
    I'm building an application that interacts with a Web Service.  The application (App A) has a tabNavigator with two tabs (Tab1 and Tab2).  Tab1 contains a custom component (Comp A) and Tab2 contains another custom component (Comp B). Tab1 is the first tab, and Tab2 is the second tab.
    Comp A and Comp B each handles the "creationComplete" event by invoking an operation, Op1,  of the Web Service.
    The problem is, when App A starts up, Comp B can successfully invoke Op1 in its creationComplete handler, but Comp A cannot.  In fact, Comp A's call to Op1 does not return.  Comp A is created before Comp B.
    If the application has only one tab (either Tab1 or Tab2), each Comp can successfully invoke Op1 at application start-up.
    Comp A and Comp B each has its own declaration section for the Web Service and CallResponder for Op1.
    I'm using the trial version of Flex Builder 4 and new to flex application development.  Any help in debugging this problem would be greatly appreciated.
    Much thanks,
    --Hyong

    I've been shown by a colleague (who is more experienced in .Net than am I) that this can be achieved by adding the target web service's WSDL to my invoking web service as a Web Reference.  The original logic I was using, though working from VB 6 and Active Server Pages, can be simplified through the use of the WSDL definition for implementation in .Net.
    Thank you for your responses,
    -- Chris

  • Handshaking problem while invoking a secured web service

    Hi,
    I have developed a web service. I made my WLS 7.0 secured, using SSL. Also
    I made the
    my web service accessible only by https protocol. Also I configured the WLS SSL
    to have one
    way SSL. The problem is I am not able to access this web service using a swing
    client, It throws
    an exception saying some Handshaking exception. This problem occured only when
    I made
    the web service secured (https).
    Has anybody faced this problem ever?.
    For one way SSL do I need to supply any certificate file or PEM file from the
    client to the
    server?.
    Thanks,
    Anish

    Hi Anish,
    No, in this case the client is checking the cert provided by the
    server. Have you tried the flag
    -Dweblogic.webservice.client.ssl.strictcertchecking=false on the client
    side?
    Also take a look at the entry by Michael Jouravlev, on SSL "how to"
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=1910&utag=
    Have you gone through the simpleSSL example:
    http://webservice.bea.com/simpleSSL.zip
    HTHs,
    Bruce
    Anish wrote:
    >
    Hi,
    I have developed a web service. I made my WLS 7.0 secured, using SSL. Also
    I made the
    my web service accessible only by https protocol. Also I configured the WLS SSL
    to have one
    way SSL. The problem is I am not able to access this web service using a swing
    client, It throws
    an exception saying some Handshaking exception. This problem occured only when
    I made
    the web service secured (https).
    Has anybody faced this problem ever?.
    For one way SSL do I need to supply any certificate file or PEM file from the
    client to the
    server?.
    Thanks,
    Anish

  • Problem when calling the XI web service

    Hi all ,
    I have configured the XI web service and generated its WSDL file. Following is the URL generated from XI webservice creation wizard.
    http://server:50000/XISOAPAdapter/MessageServlet?channel=:BS_B2B_ECOMMERCE_PORTAL:CC_SOAP_SND&version=3.0&Sender.Service=BS_B2B_ECOMMERCE_PORTAL&Interface=http%3A%2F%2Feur%2Fcs%5EMI_TradeAsset_Master_Request_Syn
    When the web service being called by the clinet application (Java application) we are getting the error
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_14_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
    Classname ModuleProcessor: null
    Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
    Lookupname for remoteModuleProcessorLookupName: null
    ModuleProcessorClass not instantiated
    ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
    ModuleProcessorRemote not instantiated
    Has anybody faced this problem b4 ??

    >>When the web service being called by the clinet application (Java application) we are getting the error
    where this error comes? In sender application usuing WSDL file?
    Do check the URL it should be as per the standard.
    You can also call WS from NWDS also. Else you can use SOAP client like Altova XML spy or something else.
    Thanks
    Farooq
    Edited by: Farooq Farooqui on Aug 1, 2008 12:59 PM
    Edited by: Farooq Farooqui on Aug 1, 2008 1:10 PM

  • Problem setting up the UCP Web Service

    I am new to CISCO and my first project is to set up the UCP Web Service.  I don't have access to the web interface on ACS but I was told that acs config-web-interface ucp enable was run. 
    I have in the UCP file on tomcat
    C:\Tomcat 7.0\webapps\ROOT\UCP
    within the UCP file I have :
    META-INF
    pythonImport 
    pythonUCP
    WEB-INF
    index.jsp
    wsdl.xml
    With that set up I get to the index.jsp page.  When I put the information in I get the following error message:
    HTTP Status 404 - /UCP/UcpServlet
    type Status report
    message /UCP/UcpServlet
    description The requested resource (/UCP/UcpServlet) is not  available
    I am sure I have done some sad and strange things.  Can someone point me in the right direction?  A simple stupid one at that...
    Thank you so much

    Hi,
    Is there solution for this issue? I also have encounter similar problem:
    An error occurred at line: [14] in the generated java file: [C:\Program Files\Apache Software Foundation\Tomcat 7.0\work\Catalina\localhost\_\org\apache\jsp\indexacs_jsp.java]
    Only a type can be imported. com.cisco.nm.acs.mgmt.common.version.VersionFileReader resolves to a package
    An error occurred at line: 23 in the jsp file: /indexacs.jsp
    VersionFileReader cannot be resolved
    It's seems there is a missed library (VersionFileReader) for JSP, does anyone can guide me to find it?
    Thanks,
    Rp

  • Problems to invoke a secure Web service from Oracle BPM Studio 10.3

    Hi all
    I'm trying to consume a web service through HTTPS protoloco Oracle BPM Studio v10.3, but I get the following error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.
    Some help!!
    Thanks

    Without going into any technical discussion about the code, my first question is what JDK version was used to create this which was imported into the form? Understand that Forms 10 runs on JDK 1.4.2, so if you used any newer JDK version, likely there will be problems.

  • Problem in Accessing the Siebel Web Service

    Hi,
    I have a seibel web service which needs to be called from a SAP Webdynpro application. The URL is something like this.
    http://xxx.yyy.com:80/eai_enu/start.swe?SWEExtSource=SecureWebService&SWEExtCmd=Execute
    I am using Adaptive Webservice model and without hardcoding this value i should be able to send the user name and password information to the webservice.
    How i can achieve that. I am getting the error that,
    <b>returned http code 500 (Internal Server Error) with unacceptable content type (text/html;charset=UTF-8).
    <html><head><title>Message:</title></head>
    <body>The server you are trying to access is either busy or experiencing difficulties. Please close the Web browser, open a new browser window, and try logging in again.[12:02:58]</b>
    Siebel team was asked us to send the user/password info through SOAP header.
    <b>Is there any way to set thatbusername/password info in NWDS (Basically set the SOAP Header) and if it is OK only if we can set it in the Webservices security in the Visual Administrator.</b>
    Appreciate your reply.
    Thanks and Regards,
    Sekar

    Sekar,
    I have the same problem.
    How did you change your web service as Anonymous?
    I have a user id and pwd, i tried by appending end of the service and tried with basic authentication by passing uid and pwd. No luck.
    Can you please help me how to change web service as anonymous?
    Regards,
    Sridhar

  • Problem in accessing the XI web service in Web DynPro

    Hi Experts,
            I have a wsdl file created in XI. I have followed the as per this link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7  to access the Web Service. But I end up in the following error. Can you please suggest me what are the credentials that I have to provide when creating the Logical Destinations in the Visual Admin.
    I have provided the Pipeline URL of XI server, system id and client
    Regards,
    Mathan MP

    Hi Experts,
            I have a wsdl file created in XI. I have followed the as per this link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7  to access the Web Service. But I end up in the following error. Can you please suggest me what are the credentials that I have to provide when creating the Logical Destinations in the Visual Admin.
    I have provided the Pipeline URL of XI server, system id and client
    Regards,
    Mathan MP

  • Problem while Adding the SAP Web service in Visual Studio 2005

    Hi all,
    I have created the web service thru SOAMANAGER.
    Now I am just trying to access that web service in Visual Studio 2005.
    I am not able to access...
    Please give me the procedure , if any body knows.
    -Balajee Jeyaraj.

    - Start Tcode SOAMANAGER
    - Now it depends on your setup, you might have to press "Logon" and.......logon
    - Click tab "Business Administration"
    - Click "Web Service Administration"
    - Choose "Service" for "Search by"
    - Enter a search pattern (E g Z*) and press "Go"
    - Mark the line of your web service
    - Press "Apply Selection"
    - Click the link "Open WSDL document for selected binding"
    - your web browser opens.
    - copy and paste the link into Visual Studio.
    I'm always adding    &wsdl=1.1     at the end of the link.

  • Partner Web Service Session Management in BPEL with JDeveloper 11g

    JDeveloper 11g 11.1.1.1.0 and SOA Suite 11g
    Trying to create an synchronous Web Service which has an external reference to a Web Service partner (AXIS 1.4 implementation) using BPEL. I have a sequence which has 2 invokes, one for user login and another invoke for a different call. However the session from the login has to be maintained for the second call to work. I am unable to do this. I get a NoSession error thrown from the partner Web Service. I did verify that my login piece is working.
    On the composite, in the external reference piece I added binding property oracle.webservices.session.maintain and set to true and also added oracle.webservices.httpConnTimeout and set the value to 10000. This did not help. I would appreciate any help. Thanks.
    Ratnam

    Hi,
    Did you configure the Axis2 in Jdeveloper?
    Best Regards
    Sunny

  • Invoking Webcenter sites web services from SoapUI

    Hi,
    I want to invoke the OOTB web services of WCS from soap UI.
    I have installed the soap UI and trying to create a new project. I entered the WCS web service URL "http://localhost:8080/cs/REST/types" in the create new project pop up in soapUI.
    On hitting OK button, I am getting the following error:
    Error loading [http://localhost:7001/cs/REST/types]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: does not close tag
    If I use the same URL in IE browser, I am redirected to the CAS login page, and upon entering the credentials for WCS site, I am shown the XML result
    I think I am not able to figure out how to pass WCS site credentials from soapUI. Please help.

    It is not a simple case of appending or posting credentials to the REST call, you first need to get a ticket, then a service ticket, then you can make the rest call with your service ticket. You can find a description of the sequence of http calls here http://docs.oracle.com/cd/E29542_01/doc.1111/e29634/wemsecurity.htm#autoId2
    I am not very familiar with soapUI to describe exactly how to create this as a continuous and automatic sequence of steps but it seems you can do it within a generic project with a TestCase, containing two HttpRequest TestSteps, one to get the ticket, one to get the service ticket.
    The first TestStep needs to post "username" and "password" params to http://{host}:{port}/cas/v1/tickets, with the postQueryString box checked. The response contains the TGT (ticket granting ticket), which you can extract and store as a variable using an assertion with a script (see here). The response looks like this
    HTTP/1.1 201 Created
    Server: Apache-Coyote/1.1
    Location: http://celovmfw010.us.oracle.com:8080/cas/v1/tickets/TGT-20-EokDucPIpGduAfbazhmK7cDTPJ2ZZeaNH07AyazZ4eFOcCJbMP-cas-celovmfw010.us.oracle.com-1
    Content-Type: text/html;charset=UTF-8
    Transfer-Encoding: chunked
    Date: Tue, 04 Feb 2014 02:53:46 GMT
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>201  The request has been fulfilled and resulted in a new resource being created</title></head><body><h1>TGT Created</h1><form action="http://celovmfw010.us.oracle.com:8080/cas/v1/tickets/TGT-20-EokDucPIpGduAfbazhmK7cDTPJ2ZZeaNH07AyazZ4eFOcCJbMP-cas-celovmfw010.us.oracle.com-1" method="POST">Service:<input type="text" name="service" value=""><br><input type="submit" value="Submit"></form></body></html>
    The second TestStep then posts "service" param to http://{host}:{port}/cas/v1/tickets/{your_TGT}. The response contains the ST (service ticket), which you can extract with another assertion.
    Then you can make the REST call http://{host}:{port}/cs/REST/types?ticket={your_ST}
    Phil

  • Problem defining a java client on tomcat to call the esb web service

    Dear Support,
    I have a java program that has been incorporated on the oracle SOA suite. We now have a problem defining a java client on tomcat to call the esb web service. The Oracle SOA part is running fine”.
    The software versions we are using :
    1 - Oracle SOA suite on 10.1.3.3 Oracle AS
    2 – Java 1.5
    3 – Tomcat 5.5
    4 – OS XP Professional

    If you have a main method in jour generated WSclient class (by the proxy) add the following code below the //add your own code:
    AddFileResponseType testResponse = myPort.addFile(testRequest);
    where AddFileResponseType is the responsetype of the WS and addFile is the method to call. this is just an example of my own webservice.
    Next stap is to put the cursor in the main method and choos debug or run.
    This should invoke the main method en call the webservice
    I hope this helps you
    Kim

  • Problem building schema - Siebel OnDemand Web Services

    I'm trying to call a Siebel OnDemand Web Service from BPEL.
    I've downloaded the Contact.wsdl from OnDemand and imported it into my project.
    I've created a partner link and created variables for the input and output.
    The problem is that JDeveloper cannot build the schemas defined in the wsdl.
    If you try to copy a value to the Input variable, JDeveloper gives the error:
    Exception - Problem building schema!
    You cannot navigate the schema path.
    Does anyone know why this is happening?

    I'm also trying to do this.
    Some info from the Siebel web services guide:-
    "The login request is an HTTPS request to instantiate a session and obtain a session ID. A client invokes login by sending an HTTP GET request to a URL like the following:
    https://secure.crmondemand.com/Services/Integration?command=login
    NOTE: The login parameter value is case sensitive.
    ■ Login input. The input to login is provided in the URL parameters and the HTTP headers, as follows:
    ■ The only URL parameter to be set is command. This parameter value is login.
    Two HTTP headers, UserName and Password, must be set with the appropriate values for your system. For example:
    ❏ UserName: [email protected]
    ❏ Password: mypass
    ■ Login output. The login command returns the following items:
    ■ A session cookie, jsessionid. The client must use this cookie when submitting subsequent requests, including logoff requests.
    ■ A status code of 200, if the session does not encounter any errors. This indicates that the request succeeded.
    Then to get data out ....
    Integration request input. The jsessionid returned to the client during login must be included with the request. The request must contain the jsessionid either as a cookie or as a URL parameter, as follows:
    https://secure.crmondemand.com/Services/Integration/object;jsessionid=xyZ12489w3482413
    Does anyone have any ideas on how we might do this using the Oracle BPEL PM?
    Thanks in advance.

  • Invoke Siebel OnDemand Web Service via BPEL

    Hi,
    We are trying to invoke Siebel OnDemand Web Service via BPEL.
    We have followed the steps as mentioned in
    http://www.oracle.com/technetwork/topics/ofm-siebel-blog-postings-092216.html
    But still we are unable to get the Session Id.
    Do we need to opne any port to resolve this issue or do we have any other way to get the session ID.
    Please let me know if there is any solution to this...
    Thanks

    Thanks for the update..
    We are trying to invoke the CRM On Demand session ID using the BPEL. It seems the we are having some problem with the URL
    https://secure-ausomxapa.crmondemand.com/Services/Integration?command=login
    => `Integration?command=login
    we are trying to access the URL from our SOA server using wget and we are getting following result.
    [XXXXXXXXXXXXXXX ~]$ wget https://secure-ausomxapa.crmondemand.com/Services/Integration?command=login
    --07:32:19-- https://secure-ausomxapa.crmondemand.com/Services/Integration?command=login
    => `Integration?command=login'
    Resolving secure-ausomxapa.crmondemand.com... 141.146.149.68
    Connecting to secure-ausomxapa.crmondemand.com|141.146.149.68|:443...
    We are expecting that we are unable to access the URL using 443 port.

  • Invoking multiple host web services from JCAPS web service (RemoteException

    I am trying to invoke 2 web services sequentially ( not JCAPS service , some host service exposed as web service ), from my jcd which is also exposed
    as a web service.Both the host service have incorporated basic http authentication scheme,and i am setting the security credentials in the enviornment.
    (ie SOAP/HTTP external systems - client).
    However when I deploy my web service and try to invoke the host services,the first host service being called is invoked successfully and i get the response back.But the second service throws a RemoteException and the SOAP response carries "Client not authorized" message in faultstring detail tag.
    I do have separate external SOAP/HTTP systems for both the services,also the external systems have been configured with
    the HTTP basic authentication credentials.
    Infact I tried creating 2 separate JCAPS service for calling the host services individually.I am able to get the expected output
    from the services.
    The issue only arises when the host services are invoked in a sequential manner from a single JCAPS service.
    Please do let me know if i can fill in some more gaps in the information i have provided.
    Could this possibly be an issue in JCAPS?

    I have couple of doubts in this context.
    a) Is this issue only restricted when web services not developed using JCAPS are invoked or it arises also when 2 JCAPS external services are invoked
    sequentially.(I tried a PoC where in i created 2 deployments for calling the host services and invoked the deployment using another JCAPS web service and it worked fine)
    b) Also if this issue only arises when the external web services being invoked have security credentials or just invoking any web services in sequence create
    this problem.
    PS : Any link to contact the sun support team?

Maybe you are looking for