Webcenter content service call in a loop.

Can you please let me know how i will call a service in loop like 'workflow_approve'. When i call service in loop it thows exception, first document will approved but for other document it throws service exception 'document revision is not latest revision' but document is not having other document.
Please help me i am stuck on this problem for a long time.
Regards,
Deepak Parmar

Hi ,
Can you share the RIDC code which you are trying to use for this requirement ?
You can check for loop example from the following link  : http://jonathanhult.com/blog/2013/07/delete-content-ridc/
Thanks,
Srinath

Similar Messages

  • Databind method call returns null in WebCenter Content Filter

    Hi,
    I have inherited some code that has an issue and I'm new to WebCenter Content and the Filters that can be added. We have a FileNameFilter class that starts off with the code
    public class CWEFileNameFilter implements FilterImplementor {
        public CWEFileNameFilter() {
            super();
        public int doFilter(Workspace workspace, DataBinder dataBinder,
                            ExecutionContext executionContext) throws DataException {
            String service = dataBinder.getLocal("IdcService");
    However, service sometimes comes back null and then the filter throws a NPE.
    My questions are:
    1) Can anyone explain what dataBinder.getLocal("IdcService"); is doing and why it could come back as null
    2) Can anyone provide any links to documentation that explains Filters and a bit more about the DataBinder object as the JavaDoc isn't much help.
    Thanks
    Marc

    Hi Marc,
    Below code will give service name for which filter is implemented  from LocalData
    String service = dataBinder.getLocal("IdcService");
    for example below
    http://localhost:16200/cs/idcplg?IdcService=DOC_INFO_BY_NAME&dDocName=1111111&IsJava
    This will print entire response data including localdata and results which are created as part of service execution. Below is snippet
    <?hda version="11.1.1.8.0PSU-2015-04-01 00:14:53Z-r126309" jcharset="UTF8" encoding="utf-8"?>
    @Properties LocalData
    DocUrl=https://localhost:16200/cs/weblayout/groups/secure/documents/test/mhdk/mjg1/1111111.pdf
    IdcService=DOC_INFO_BY_NAME
    so String service = dataBinder.getLocal("IdcService"); will be service ="DOC_INFO_BY_NAME".
    Below blog will give some idea about filter but best place to learn or start is "The Definitive Guide to Stellent Content Server Development" by Brian Huff
    http://www.redstonecontentsolutions.com/technical-blog/ucm-service-handlers-and-javafilters
    Also i would recommend reading "WebCenter Content Services Reference Guide"
    http://docs.oracle.com/cd/E23943_01/doc.1111/e11011/toc.htm
    Regards,
    Amol Gavali.

  • WebCenter Spaces UCM configuration - GET_ENVIRONMENT service call issue

    After installing and configuring UCM, then WebCenter Spaces, the startup of WebCenter should create a content folder in UCM. However the connectivity between WebCenter and UCM causes an error in the log files:
    On the UCM-side:
    <Nov 9, 2011 2:35:11 PM HKT> <Error> <oracle.ucm.idcibr> <UCM-CS-000001> <general exception
    intradoc.common.ServiceException: !csUnableToLoadEnvironment2!csUnableToExecMethod,loadEnvironmentVars
         at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    Caused By: java.lang.NullPointerException
         at intradoc.common.TableUtils.getIndexList(TableUtils.java:34)
    On the WebCenter-side:
    <Nov 9, 2011 2:35:11 PM HKT> <Warning> <oracle.webcenter.content.integration.spi.ucm.UCMBridge> <WCS-55028> <Error calling UCM server associated with repository UCMConnection. The service GET_ENVIRONMENT was called with user weblogic at time 11/9/11 2:35 PM, and returned statuscode -32.
    oracle.stellent.ridc.protocol.ServiceException: Unable to load environment. Unable to execute service method 'loadEnvironmentVars'. The error was caused by an internally generated issue. The error has been logged.
         at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:135)
    I did some 'sniffing' of the socket requests between the two and here they are:
    WebCenter sends:
    REMOTE_USER=weblogic
    USER-AGENT=Java; Stellent CIS 11g; Oracle WebCenter 11g
    CONTENT_TYPE=text/html
    HEADER_ENCODING=UTF-8
    REQUEST_METHOD=POST
    CONTENT_LENGTH=204
    HTTP_HOST=CIS
    $$$$
    NoHttpHeaders=0&IsJava=1&IdcService=GET_ENVIRONMENT
    <?hda jcharset=UTF-8?>
    @Properties LocalData
    ClientEncoding=UTF-8
    IdcService=GET_ENVIRONMENT
    UserTimeZone=UTC
    UserDateFormat=iso8601
    ThreadID=15
    @end
    UCM replies with:
    Content-type: text/plain; charset=utf-8
    Content-Length: 531
    <?hda version="11gR1-11.1.1.5.0-idcprod1-110413T184243" jcharset=UTF8 encoding=utf-8?>
    @Properties LocalData
    StatusCode=-32
    blFieldTypes=StatusMessage message
    IdcService=GET_ENVIRONMENT
    ClientEncoding=UTF-8
    UserTimeZone=UTC
    UserDateFormat=iso8601
    NoHttpHeaders=0
    ThreadID=15
    StatusMessage=Unable to load environment. Unable to execute service method 'loadEnvironmentVars'. The error was caused by an internally generated issue. The error has been logged.
    dUser=weblogic
    blDateFormat=yyyy-MM-dd HH:mm:ssZ!tUTC!mAM,PM
    IsJava=1
    @end
    Thanks in advance for any insight into this issue.
    Edited by: Snowy on Nov 9, 2011 12:45 AM

    It turns out, the "Intradoc ServerPort" was not set in UCM. In Enterprise Manager: Content Server: Oracle Universal Content Management: Configuration, it was blank. As soon as I set this to "4444" and restarted it fixed this error.
    I'd like to thank all who contributed.

  • How to generate client for GetFile service of Webcenter Content Management.

    How to generate client for GetFile service of Webcenter Content Management.
    Downloaded file : GetFile.wsdl
    <?xml version="1.0" encoding="utf-8" ?>
    - <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.stellent.com/GetFile/" targetNamespace="http://www.stellent.com/GetFile/" xmlns="http://schemas.xmlsoap.org/wsdl/">
    - <types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://www.stellent.com/GetFile/">
    - <s:element name="GetFileByID">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="dID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="rendition" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="extraProps" type="s0:IdcPropertyList" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetFileByIDResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetFileByIDResult" type="s0:GetFileByIDResult" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:complexType name="GetFileByIDResult">
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="FileInfo" type="s0:FileInfo" />
    <s:element minOccurs="0" maxOccurs="1" name="downloadFile" type="s0:IdcFile" />
    <s:element minOccurs="0" maxOccurs="1" name="StatusInfo" type="s0:StatusInfo" />
    </s:sequence>
    </s:complexType>
    - <s:element name="GetFileByName">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="dDocName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="revisionSelectionMethod" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="rendition" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="extraProps" type="s0:IdcPropertyList" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetFileByNameResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetFileByNameResult" type="s0:GetFileByNameResult" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:complexType name="GetFileByNameResult">
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="FileInfo" type="s0:FileInfo" />
    <s:element minOccurs="0" maxOccurs="1" name="downloadFile" type="s0:IdcFile" />
    <s:element minOccurs="0" maxOccurs="1" name="StatusInfo" type="s0:StatusInfo" />
    </s:sequence>
    </s:complexType>
    - <s:complexType name="FileInfo">
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="dDocName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dDocTitle" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dDocType" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dDocAuthor" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dSecurityGroup" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dDocAccount" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="dRevClassID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="dRevisionID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="dRevLabel" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dIsCheckedOut" type="s:boolean" />
    <s:element minOccurs="0" maxOccurs="1" name="dCheckoutUser" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dCreateDate" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dInDate" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dOutDate" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dStatus" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dReleaseState" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dFlag1" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dWebExtension" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dProcessingState" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dMessage" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dReleaseDate" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dRendition1" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dRendition2" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dIndexerState" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dPublishType" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dPublishState" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dDocID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="dIsPrimary" type="s:boolean" />
    <s:element minOccurs="0" maxOccurs="1" name="dIsWebFormat" type="s:boolean" />
    <s:element minOccurs="0" maxOccurs="1" name="dLocation" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dOriginalName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dFormat" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dExtension" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="dFileSize" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="CustomDocMetaData" type="s0:IdcPropertyList" />
    </s:sequence>
    </s:complexType>
    - <s:complexType name="StatusInfo">
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="statusCode" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="statusMessage" type="s:string" />
    </s:sequence>
    </s:complexType>
    - <s:complexType name="IdcPropertyList">
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="property" type="s0:IdcProperty" />
    </s:sequence>
    </s:complexType>
    - <s:complexType name="IdcProperty">
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="name" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="value" type="s:string" />
    </s:sequence>
    </s:complexType>
    - <s:complexType name="IdcFile">
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="fileName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="fileContent" type="s:base64Binary" />
    </s:sequence>
    </s:complexType>
    </s:schema>
    </types>
    - <message name="GetFileByIDSoapIn">
    <part name="parameters" element="s0:GetFileByID" />
    </message>
    - <message name="GetFileByIDSoapOut">
    <part name="parameters" element="s0:GetFileByIDResponse" />
    </message>
    - <message name="GetFileByNameSoapIn">
    <part name="parameters" element="s0:GetFileByName" />
    </message>
    - <message name="GetFileByNameSoapOut">
    <part name="parameters" element="s0:GetFileByNameResponse" />
    </message>
    - <portType name="GetFileSoap">
    - <operation name="GetFileByID">
    <input message="s0:GetFileByIDSoapIn" />
    <output message="s0:GetFileByIDSoapOut" />
    </operation>
    - <operation name="GetFileByName">
    <input message="s0:GetFileByNameSoapIn" />
    <output message="s0:GetFileByNameSoapOut" />
    </operation>
    </portType>
    - <binding name="GetFileSoap" type="s0:GetFileSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <operation name="GetFileByID">
    <soap:operation soapAction="http://www.stellent.com/GetFile/" style="document" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="GetFileByName">
    <soap:operation soapAction="http://www.stellent.com/GetFile/" style="document" />
    - <input>
    <soap:body use="literal" />
    </input>
    - <output>
    <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="GetFile">
    - <port name="GetFileSoap" binding="s0:GetFileSoap">
    <soap:address location="http://localhost:7101/_dav/cs/idcplg" />
    </port>
    </service>
    </definitions>

    Hi,
    I would suggest you to check the time recording functionality, see
    details in:
    http://help.sap.com/saphelp_sm70ehp1_sp26/helpdata/en/d5/299631364d4e959
    c6609ca3bc24740/content.htm
    Another possibility is configuring the Service Level Agreement, see
    details in SDN blog:
    Service Desk: SLA configuration hints
    https://weblogs.sdn.sap.com/pub/wlg/24813
    or
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/24813
    Thanks
    Regards,
    Vikram

  • Get value based on column names for custom metadata field of Webcenter Content

    In UCM, I created a custom metadata field of type Text.  I then enabled optlist in that field.  I populate values to the optList, I am using a View.  The View has three columns.  Let us call them ID, Key, Value.  OptList displays the Keys in its list.  I then create a Content (Content ID: MyContent) in Webcenter Content and choose values from OptList for my new metadata field (MyField).
    From Webcenter Portal, I am populating a selectOneChoice with values of MyField in the Content ID: MyContent.  Remember from previous step, the values populated in selectOneChoice is the list of values selected from optList field MyField.  This optList is in-turn populated from View.  After the user selects a value in selectOneChoice, in Javascript, I need to alert a message in this format "value chosen - corresponding value from View of optList that populates MyField"
    I think an example will be useful:
    Here is a View that I created in Configuration Manager applet in Admin Applets of Webcenter Content:
    ID | State | Capital
    1 | North Carolina | Raleigh
    2 | California | Sacramento
    3 | Illinois | Chicago
    Then, I create a Custom Field (Name: MyField).  MyField is an optList the values are populated from View created above.  The internal value and display value are both State.  Then I Check-In a new content with Content Id: MyContent.  For MyContent, I select these values from OptList for MyField: {North Carolina, Illinois}.
    In my Webcenter Portal application, I create a Content Presenter Taskflow.  I configure it as a single item content presenter.  I assign MyContent as Content Id.  Then, in templateView, I get all values of MyField in MyContent and display them as selectOneChoice.  I created a javascript function that would get the value that user selected in selectOneChoice.  In the View created in Webcenter Content's Configuration Manager (above), there is a value corresponding to each value displayed.  So, for the selected value, I need to get the corresponding Capital and display it in my alert message.
    From Javascript, how can I get the value of Capital, given I have the value of State.

    Hi.
    The idea to achieve your requirement is next:
    Create a helper manage bean that will be call as Map access: #{stateUtil['Calofironia']} (it will return Raleigh). This value will be get calling GET_SCHEMA_VIEW_VALUES IDC service using RIDC in your manage bean.
    Pass the result of #{stateUtil['statename']} to your JavaScript function using <af:clientAttribute.../>
    I hope this information help you.
    Regards,

  • Direct service calls in java-driven components

    Hello all,
    I am new to WebCenter Content customization and have run into a problem I have trouble with solving correctly.
    Context
    I try to concentrate as much logic in ordinary java (and perhaps an ini or yaml file) and avoid the more unknown .hda and the customized .htm files.
    I experimented with creating a service class, service handler and filter. No biggies there apart from the difficult and slow debugging.
    The long list of UCM/URM services and complexity of these services themselves made me inclined to write a different API to make UCM/URM programming fun; e.g. an adapter to simplify and abstract away from the standard service API. Think in terms of "checkin(...args...)" so I can rely on the IDE hints to develop faster.
    Infrastructure should be either Linux or Windows Server.
    Problem
    I have not been able to call UCM/URM services directly from java in UCM/URM components yet.
    Question
    What is the best way to go about this?
    Perhaps I'm reinventing the wheel, if so please enlighten me. To me it feels what I'm trying to do should be a basic feature but for now I've missed it completely. If it's not as simple as that I'm wondering why.
    I did find documentation on IdcCommand which relies heavily on .hda, a lengthy installation and even duplicating intradoc.cfg which is bound to give someone a headache at some point.
    I also read some documentation on UCPM API for JavaEE, but I'm not using JavaEE.
    If anyone knows what I've been missing out of, your help is much appreciated!
    Edited by: Niels Krijger on Sep 18, 2012 4:58 AM
    Edited by: Niels Krijger on Sep 18, 2012 5:03 AM

    Thank you! RIDC appears to be exactly what I was looking for.
    I also discovered I've been looking at the wrong documentation. I was looking in:
    Oracle® Fusion Middleware Developer's Guide for Content Server
    http://docs.oracle.com/cd/E14571_01/doc.1111/e10807/toc.htm
    instead of
    Oracle® WebCenter Content Developer's Guide for Content Server
    http://docs.oracle.com/cd/E23943_01/doc.1111/e10807/toc.htm
    While the first mentions RIDC very briefly (I didn't think much of it then) the latter is much more helpful.
    Thank you very much.

  • UCM IDC service call caching using SSXA

    Hi,
    I am calling a UCM idc service using SSXA's wcm:service tab. Using "__ssxaCacheEnabled" parameter i am able to cache the service call. But cache gets created for each user(private cache). As per our requirement the cache should be shared across the user(public cache).
    Can anybody please tell me how to achieve this.
    Thanks in advance.

    You should better ask this in the enteprise content management forum: WebCenter Content

  • How to use RIDC to query WebCenter Content Tables/Views

    Hi,
    Can I use RIDC API to query WebCenter Content 11g Tables/Views, if so, How can I achieve this?
    Regards,

    Yes, you can.
    Call one of the Schema services (such as GET_SCHEMA_VIEW_VALUES) and you will get back a ResultSet which you can iterate over.
    http://docs.oracle.com/cd/E21764_01/doc.1111/e11011/c05_core.htm#BABBABBF
    Some links to RIDC code examples can be found here: http://jonathanhult.com/blog/2012/07/ridc-versus-cis/
    Jonathan
    http://jonathanhult.com

  • How to integrate to WebCenter Content using WebServices

    Hi all,
    I have only been exposed to WebCenter Content for a little while and would like to Integrate with it using WebServives - From what I understand is that if you use webservices (WSDL) there are some configuration that needs to happen on the WC Content side and mostly around security. At the moment I'm just testing the services our from SOAP_UI  - Ive used this link http://hostname:16200/cs/idcplg??wsdl
    I've tried viewing the WSDl in a browser but nothing displays... Can someone guide and help me on this?
    Thanks

    Hi,
    You can look up the following articles on MoS portal which gives details / examples and set up steps for working with Webservices :
    1332250.1 Creating a UCM Domain With OWSM Enable
    1332308.1 Calling GenericSoapService with WS-Security settings in JDeveloper using a Web Service Proxy
    1334471.1 Sample Soap Requests for Use in UCM 11g Calls to GenericSoapService (GenericSoapPort)
    Regards,
    Manoj

  • How can I associate an A/P invoice to a service call?

    Hi,
    Customer wants this:
    1. They (Co. A) gets a service call from their customer say for lump sum of 400 dollars.
    2. They (Co. A)  give out a contract to technician say at 45 dollars an hours and travel expenses. This is SERVICE ITEM for a total expense of say 45*2+120=210.
    3. Technician (A Vendor BP in SAP Business one) produces a PO. Co. A pays off the Technician.
    How can I create a Service Call to show both ends of incoming revenue and outgoing expense in the service call?
    Appreciate your help.
    Thank you.

    Dear Syed Aleem,
    I have described some ideas, but if these ideas do not help you, please come back to us with more details of what you need.
    1. They (Co. A) gets a service call from their customer say for lump sum of 400 dollars.
    Here you can create the servce call with the information in the General Tab and in the Remark and in the subject. If this is not enough I would suggest to create an activity and write your remark and content in the activity.
    You can create an activity clicking on the Activity tab. In the activity there is a tab called linked documents and you can add documents linked to the activity and service call.
    2. They (Co. A) give out a contract to technician say at 45 dollars an hours and travel expenses. This is SERVICE ITEM for a total expense of say 45*2+120=210.
    You can use anothe activity or you can add Return from Technician under the Expenses tab of the Service call.
    3. Technician (A Vendor BP in SAP Business one) produces a PO. Co. A pays off the Technician.
    Now, create another activity (or your first one) and add the Purchase order and the payment to it.
    Please, let me know if my suggestions help you.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • OSB11g - Business Services - Calling WS throwing reader() error.

    I have an OSB11g Proxy and business services.
    my requirement is to get a WS SOAP request from a BPEL application on to my Proxy services. this proxy service will identify the URI to invoke and make a call on to BES via this business service with the exactly same request which i received in Proxy.
    I m getting the request xml as
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/ " xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/ " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd="http://www.w3.org/2001/XMLSchema ">
    <SOAP-ENV:Body>
    <RootTAG>
    <Name>Galvin</Name>
    <Age>12</Age>
    </RootTAG>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I have chosen service call-out to make a call to BS.
    Option 1 In service call-out i have chosen request with SOAP body.
    XML which is sent to BS is looking as below.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ ">
         <soapenv:Header/>
         <soapenv:Body>
              <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/ " xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/ " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd="http://www.w3.org/2001/XMLSchema ">
                   <SOAP-ENV:Body>
                        <RootTAG>
    <Name>Galvin</Name>
    <Age>12</Age>
                        </RootTAG>
                   </SOAP-ENV:Body>
              </SOAP-ENV:Envelope>
         </soapenv:Body>
    </soapenv:Envelope>
    Option 2 In service call-out i have chosen request with document.
    XML which is sent to BS is looking as below.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ ">
    <soapenv:Header/>
    <soapenv:Body>
    <soapenv:Body>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/ " xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/ " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd="http://www.w3.org/2001/XMLSchema ">
    <SOAP-ENV:Body>
    <RootTAG>
    <Name>Galvin</Name>
    <Age>12</Age>
    </RootTAG>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    </soapenv:Body>
    </soapenv:Body>
    </soapenv:Envelope>
    For both the request i am getting error as below .
    java.lang.IllegalStateException: getReader() called after getInputStream()
    But when i test the BS using WS tools (netTool) with the same request XML (which i receive in Proxy), i am getting proper response.
    > I have no clue where is the problem actually in my OSB application. Do i miss some header or some additional thing i need to do before setting in request xml in service call-out.
    > Also Webservice which BS invokes runs on a weblogic 8.1 application server. Will that be a problem?
    Thanks
    Sesha
    Edited by: 784261 on Jul 25, 2010 4:03 AM

    Anuj
    I found one discrepency in the call made from OSB and netTool(WS testing tool)
    The content length in the request to WS stub from OSB is - "content length =-1" . kindly help how to set the content length in the request.?
    when BES call is made from OSB
    ####<Jul 26, 2010 1:22:49 PM BST> <Info> <******STUB********> <hwwhapp4> <> <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'>
    <<anonymous>> <> <000000> *<Entered get operation, content length =-1,content typetext/xml; charset=utf-8>*
    ####<Jul 26, 2010 1:22:49 PM BST> <Error> <HTTP> <> <managed1_hlluwli1> <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <>
    <BEA-101020> <[ServletContext(id=6879348,name=getWebServiceXML,context-path=/getWebServiceXML)] Servlet failed with Exception
    java.lang.IllegalStateException: getReader() called after getInputStream() called
    at weblogic.servlet.internal.ServletRequestImpl.getReader(ServletRequestImpl.java:1831)
    at Startservlet.doPost(Startservlet.java:78)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    >
    when BES call is invoked from netTool
    ####<Jul 26, 2010 1:55:12 PM BST> <Info> <******STUB********> <hwwhapp4> <> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'>
    <<anonymous>> <> <000000> <Servlet Started>
    ####<Jul 26, 2010 1:55:12 PM BST> <Info> <******STUB********> <hwwhapp4> <> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'>
    <<anonymous>> <> <000000> *<Entered get operation, content length =737,content typenull>*
    Thanks
    Sesha

  • SharePoint SiteMialbox failed with 503 error (AutoDiscover.svc web service call failed)

    SharePoint SiteMialbox failed with 503 error (AutoDiscover.svc web service call failed)
    I followed Technet articles to configure SiteMailBoxes in our environment & exchange sever.
    When we created Sitemailbox in a SiteCollection &when we try to open it, it failed with below error.
    Site Mailbox
    We are having trouble connecting to Exchange Server
    The server might be temporarily unavailable. Please check back on this page in a few minutes. If this problem persists, please contact your system administrator.
    Correlation ID: bb0fe99c-6f4e-e084-b191-881fbf0fa977, Error Code 10 
    ULS Log (503 error)
    Autodiscover Diagnostics Response Headers: request-id: 95d12ceb-283e-4495-b28b-256503fd097c  client-request-id: 742fe69c-ef5a-e084-ca05-6098c759c584  X-CalculatedBETarget: devapwxyz01a.devap.mydomain.com  X-FEServer: DEVNAABCD01B
     Content-Length: 0  Cache-Control: private  Date: Tue, 03 Feb 2015 18:53:40 GMT  Set-Cookie: X-BackEndCookie=; expires=Sun, 03-Feb-1985 18:53:40 GMT; path=/autodiscover; secure; HttpOnly  Server: Microsoft-IIS/8.5  X-AspNet-Version:
    4.0.30319  X-Powered-By: ASP.NET    
    742fe69c-ef5a-e084-ca05-6098c759c584
    if I am correct, X-CalculatedBETarget supposed to be DEVNAABCD01B.devna.mydomain.com but it connected to different domain devapwxyz01a.devap.mydomain.com.  Do you guys have any idea on this?  (I verified
    the same using fiddler, it is failing right at autodiscover.svc call.)
    I wrote a powershell script to connect autodiscover service in sharepoint server & this web service call able connect right server X-CalculatedBETarget. It gave the expected response.
    I am not sure why SharePoint webservice call (X-CalculatedBETarget) is going to different server?
    let me know if you guys have any ideas.
    Thanks.

    Thanks for the Response Raj.
    I already followed the same instructions in the Links.
    When SharePoint Autodisover.svc webservice send a request to Exchange server & Exchange server redirecting that request to different server, this is the problem i am facing right now.
    X-CalculatedBETarget
    supposed to be DEVNAABCD01B.devna.mydomain.com but it connected to different domain devapwxyz01a.devap.mydomain.com.
    Let me know if you have any suggestions?

  • How to view the SOAP message in a web service call + Urgent

    Hi All,
    Iam trying to test a web service call(Iam using CXF). But I need to view SOAP message sent to web service or need to debug the web service call. Please help me on this regard with example.

    Yes. to find any tcp monitor, define a listen port number, task host and port number, changing your request to listen post, then you can monitor TCP/IP like
    HTTP/1.1 200 OK
    Set-Cookie: JSESSIONID=7A00BD65EF7516AD8947359A25C4D98B; Path=/ComponentName
    Content-Type: text/xml;charset=utf-8
    Date: Wed, 20 Oct 2004 15:45:03 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:testObjectResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:ComponentName">
    <testObjectReturn href="#id0"/>
    </ns1:testObjectResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:MyObject" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ComponentName">
    <name xsi:type="xsd:string">Set Name</name>
    <value xsi:type="xsd:string">set Value</value>
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>
    Lixin

  • Integrating BPM with WebCenter Content

    To integrate UCM and BPM, I followed this tutorial written by J@n van Zoggel.
    At the moment, I've already set up everything exactly as instructed in the tutorial. However, when I viewed a task in BPM Workspace, I still cannot see the Attachment section. In the log, I saw the following error:
    Ensure that credential store map WF-ADMIN-USER with key WF-ADMIN-CREDENTIAL
    contains UCM server admin username/password. Also ensure that Workflow configuration parameter
    UcmIdcUrl contains IDC socket connection url to connect to UCM server and UCM server has permission
    to let SOA server connect to it using IDC protocol.
    access denied ("oracle.security.jps.service.credstore.CredentialAccessPermission" "context=SYSTEM,mapName=WF-ADMIN-USER,keyName=WF-ADMIN-CREDENTIAL" "read")]]
    One thing I'd like to ask is that in all tutorials or articles I've read, the authors are always testing in the environment in which both the UCM and BPM servers are on the same machine. In my case, I am trying to connect my local BPM server with the online WebCenter Content server of my company, I wonder if I have to make any additional settings for this to work. A few pictures of my current settings are shown below.
    I'd be very grateful if you could share with me your experience in integrating BPM and UCM.
    Best regards,
    James Tran
    P/S: My environment is SOA Suite 11.1.1.7 and WebCenter 11.1.1.7
    1. UcmIdcUrl setting:
    2. WF-ADMIN-USER key map:
    3. WebCenter Content IP Filter:

    I don't believe that noone has ever tried to connect the local BPM environment to a remote WCC server before. Please let me know if you've ever experienced the same problem. Otherwise, even a simple "I tried to do the samething and I succeeded using the same steps in the tutorial" would help too .
    Another thing is that yesterday, I talked to the tech-lead and I learned that our WCC server environment doesn't have BPM installed yet. I am wondering if this would cause the WCC server to not understand the request from my BPM server. In addtion, I've also upgraded my local BPM server using the lastest SOA bundled patch. Should the same patch be applied to the WCC server environment too?
    I'd be very grateful for any advice .

  • Completely different AMF request packets for same remote service call from Flex to PHP using ZendAMF

    I was trying to debug why one of the remote-services in our Flex application was failing randomly. What I found was interesting. Completely different AMF request packets were sent for same remote service call from Flex to PHP.
    When the service call succeeds the AMF request packet looks like the following:
    POST /video/flex/bin-debug/gateway.php HTTP/1.1
    Host: localhost
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Cookie: PHPSESSID=j6u30i8uu6c3cvp8f4kipcpf05
    Referer: http://localhost/video/flex/bin-debug/main.swf/[[DYNAMIC]]/5
    Content-type: application/x-amf
    C    ontent-length: 305
    Flex Message (flex.messaging.messages.RemotingMessage)     operation = getMemberFromEvent    clientId = 2F997CD0-7D08-8D09-1A9B-0000422676C8    destination = MembereventService    messageId = B46AB58D-2241-83F0-41E4-9FE745565492    timestamp = 0    timeToLive = 0    body =     [      280    ]    hdr(DSId) = nil
    And when the service fails the AMF request packet looks like this:
    ServiceRequest: getMemberFromEvent; RemoteService; getMemberFromEvent
    (mx.messaging.messages::RemotingMessage)#0
      body = (Array)#1
        [0] 250
      clientId = "1AA4FAAB-AEA5-8109-4B0D-000002B3A9A1"
      destination = "MembereventService"
      headers = (Object)#2
        DSEndpoint = (null)
        DSId = "nil"
      messageId = "2F92E6C0-FE92-A09B-B150-9FE2F28D9738"
      operation = "getMemberFromEvent"
      source = "MembereventService"
      timestamp = 0
      timeToLive = 0
    Also, following is the error message on Flex when the service fails:
    {Fault code=Channel.Call.Failed, Fault string=error, Fault detail=NetConnection.Call.Failed: HTTP: Failed, Destination=MembereventService}
    We are using Swiz as the micro-architecture for Flex development and Zend AMF for remoting between Flex and PHP.
    Any ideas what is wrong here, what is causing Flex to send different request packets for the same service & what I can do to fix it?

    Hi, I know that your post is almost 5 years ago, but have you found the solution to this issue?
    Thanks.

Maybe you are looking for

  • Longstanding Exchange Calendar Sync Bug Persists in iOS 7 / 7.0.2

    For those who sync their iPhone / iPad / iPod touch to a Microsoft Exchange e-mail environment, you may be aware that there's a longstanding Exchange Calendar Sync bug (affecting iOS 4.x - 6.1.3).  An otherwise functional iDevice may suddenly remain

  • IPod 80 Gig won't sync in windows XP or latest version of iTunes 7.6.1.9

    I have a brand new iPod 80 Gig Classic. It is windows formated. I can see it in withe my computer window. The iTunes software diagnostics sees the iPod however it will not appear in the left column.The iPod displays says connected and it will attempt

  • Changing the file name dynamicallly in file Adapter

    Hi i want to change the file name directly from Java Mapping in the file adapter for this i have written this code DynamicConfiguration dynamicConfiguration = (DynamicConfiguration)map.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);        

  • Sorting people search results

    Hi We tried to sort the PeopleSearch Results by LastName and then by FirstName using the Query Designer. In the preview everything works fine, buth when we save the web part settings and do a seearch on the people results page, the results are not so

  • Moving to Canada taking my Pro with me

    Hi, If I buy a superdrive in Canada, will my pro then play both 1 and 2 region DVD's (ie region 2 in the machine and region 1 on the superdrive?)