Webservice to retrieve Request xml

Hi All,
Is there any web service that can retreive the Request xml?
Note : This is Not the request results xml+ but the request metadata in xml format ( the request xml that we find in the advanced tab) of Answers page.
Anybody have some clue Pls Reply ASAP
Edited by: user10935076 on May 18, 2009 4:23 AM

Docs for Oracle web services available at http://download.oracle.com/docs/cd/E12096_01/books/AnyWebServ/booktitle.html.
#1 - use the SAWSessionService.logon() method. Grab the sessionId in the response.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v5="com.siebel.analytics.web/soap/v5">
<soapenv:Header/>
<soapenv:Body>
<v5:logon>
<v5:name>username</v5:name>
<v5:password>password</v5:password>
</v5:logon>
</soapenv:Body>
</soapenv:Envelope>
#2 - use the WebCatalogService.readObject() method to read the object.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v5="com.siebel.analytics.web/soap/v5">
<soapenv:Header/>
<soapenv:Body>
<v5:readObject>
<v5:path>?</v5:path>
<v5:resolveLinks>?</v5:resolveLinks>
<!--Optional:-->
<v5:sessionID>?</v5:sessionID>
</v5:readObject>
</soapenv:Body>
</soapenv:Envelope>
Edited by: alazydba on Jun 23, 2009 9:24 AM

Similar Messages

  • Retrieving Request XML Element in Web Service Code

    to create a web service: I write java code and using JDeveloper, I 'create J2EE web service' from the java code.
    I need to get and handle a parameter, passed to the web service in the request xml and process it in my java code. For example I want to access a header element received in the request.
    How can I retrieve those elements in my code?
    Regards
    Farbod

    Hi V.S,
    [Here|http://img144.imageshack.us/my.php?image=datetimekb1.jpg] by the screenshot of the working example.
    The expression that I have used is :
    =DSTR(@DATE1,"XML_DATE")&TSTR(@TIME1,"XML_TIME")
    Where,
    XML_DATE    YYYY-MM-DD    2001-01-31
    XML_TIME     THH:NN:SS 02:39:40
    This should work now. Let me know.
    Best regards,
    Dharmi
    Edited by: Dharmi Tanna on Sep 8, 2008 2:29 PM

  • Operation Name part of request XML

    Hi,
    In weblogic 10.3, We have created a web service from the WSDL. All is OK but the problem that we are facing is that the request XML has the request object encapsulated within the transaction Name tag. For example, if the operation name is getNumericId, the request xml (from the wsdl test page) is coming out to be: <getNumericId><requestXML></getNumericId>.
    Because of this, the clients are facing an issue. Is there a way to remove the transaction name from the request XML? Because when I use xmlSpy to create a soap request from the WSDL, it creates the XML without the operation name preceding it and that is assumed to be the standard request structure as per the WSDL shared with the clients.
    From what I understand, the WSDL that we use to create the Jws from has differences with the endpoint WSDL that is generated by weblogic. Is this a known issue? How do I resolve this?
    Please help!
    Aditya

    Jay,
    Thanks for your response. I have just now resolved the issue. It was because of a simple problem -- the @webservice annotations were incomplete. Once we used them, the service is behaving as expected.
    However, there is one other issue. We are using import weblogic.wsee.jws.wlw.SoapFaultException to throw back exception generated from the webservice. In the response, WSException is wrapped inside an element called WLW_FAULT_DETAIL, which client is not able to understand.
    <detail>
            <WLW_FAULT_DETAIL><v3:WSException xmlns:v3="http://abc.edf.com/commonheader/v3"><v3:Message>Processing Error Occurred:City and/or Zip reqd
    </v3:Message><v3:ErrorCode>9</v3:ErrorCode></v3:WSException></WLW_FAULT_DETAIL>
          </detail>
        </env:Fault>
      </env:Body>
      </env:Envelope>
    Any pointers with this?
    Thanks
    Aditya

  • Osb: Proxy Messaging Service retrieve only xml message that have the proper

    Hi All.
    I have a Proxy Service with Messaging Service type which read xml messages from a queue.
    The Request Message Type in the proxy is xml and I have provided the type information by declaring (in the element and type field) the XML schema type of the XML document exchanged.
    I need the proxy service to retrieve from the queue only the xml messages that have the proper schema.
    But when the proxy retrieves any xml msg in the queue regardless of their schema definition .
    Appreciate your input.
    Thx,
    Ross
    Edited by: user6677631 on Feb 25, 2013 9:52 AM
    Edited by: user6677631 on Feb 25, 2013 10:02 AM

    Selecting the XML schema for request type in a messaging proxy does not ensure the validation of incoming XML message against schema. Similarly if you create a WSDL based proxy the validation against WSDL definition will not happen automatically. Choosing XML as the type of message will only ensure that any malformed XMLs will be rejected before entering the message flow. For validating against schema you will need to explicitly add a validate action within the proxy message flow, if validation fails raise an error and roll back the message to the Queue or log the errored message and commit the message/publish to an error queue.

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

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

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

  • Customer Invoice Request XML Specification

    Hi All,
    I've been searching my butt off looking for the customer invoice request XML spec.
    Where is it?
    Judson

    Minimal Request:
    <?xml version="1.0" encoding="utf-8"?>
    <CustomerInvoiceRequestRequest>
      <MessageHeader>
        <CreationDateTime />
      </MessageHeader>
      <CustomerInvoiceRequest actionCode="04" reconciliationPeriodCounterValue="1">
      <BaseBusinessTransactionDocumentID>V00064348</BaseBusinessTransactionDocumentID>
    <BaseBusinessTransactionDocumentTypeCode>29</BaseBusinessTransactionDocumentTypeCode>
        <ProposedInvoiceDate>2012-05-07</ProposedInvoiceDate>
        <name>Extreme Reach - DEV</name>
    <ReferenceBusinessTransactionDocumentID>V00064348</ReferenceBusinessTransactionDocumentID>
        <BusinessProcessVariantType>
          <BusinessProcessVariantTypeCode>1</BusinessProcessVariantTypeCode>
          <MainIndicator>true</MainIndicator>
        </BusinessProcessVariantType>
        <BusinessProcessVariantType>
          <BusinessProcessVariantTypeCode>319</BusinessProcessVariantTypeCode>
          <MainIndicator>false</MainIndicator>
        </BusinessProcessVariantType>
        <BuyerParty>
          <InternalID>2113</InternalID>
        </BuyerParty>
        <EmployeeResponsibleParty>
          <InternalID>8000000017</InternalID>
        </EmployeeResponsibleParty>
        <SalesUnitParty>
          <InternalID>TV3003</InternalID>
        </SalesUnitParty>
        <SalesAndServiceBusinessArea>
          <DistributionChannelCode>01</DistributionChannelCode>
        </SalesAndServiceBusinessArea>
        <PricingTerms>
          <PricingProcedureCode listID="2">PPSTD1</PricingProcedureCode>
          <CurrencyCode>USD</CurrencyCode>
        </PricingTerms>
        <Item actionCode="04">
      <BaseBusinessTransactionDocumentItemID>10</BaseBusinessTransactionDocumentItemID>
    <BaseBusinessTransactionDocumentItemTypeCode>002</BaseBusinessTransactionDocumentItemTypeCode>
          <SettlementRelevanceIndicator>true</SettlementRelevanceIndicator>
          <BaseItemCancelledIndicator>false</BaseItemCancelledIndicator>    <ReceivablesPropertyMovementDirectionCode>2</ReceivablesPropertyMovementDirectionCode>
          <Product>
            <InternalID>V-SD-NEXTDAY-STN-ONLINE-FIRST</InternalID>
            <TypeCode>2</TypeCode>
          </Product>
          <CashDiscountDeductibleIndicator>false</CashDiscountDeductibleIndicator>
          <Quantity unitCode="EA">1</Quantity>
          <QuantityTypeCode>EA</QuantityTypeCode>
          <PriceAndTax>
            <PriceComponent>
              <TypeCode listID="2">7PR1</TypeCode>
              <CategoryCode>1</CategoryCode>
              <PurposeCode>1000</PurposeCode>
              <MajorLevelOrdinalNumberValue>10</MajorLevelOrdinalNumberValue>
              <MinorLevelOrdinalNumberValue>1</MinorLevelOrdinalNumberValue>
              <Rate>
                <DecimalValue>2.0000</DecimalValue>
                <CurrencyCode>USD</CurrencyCode>
                <BaseDecimalValue>1</BaseDecimalValue>
                <BaseMeasureUnitCode>EA</BaseMeasureUnitCode>
              </Rate>
              <RateBaseQuantityTypeCode>EA</RateBaseQuantityTypeCode>
              <CalculationBasis>
                <BaseCode>3</BaseCode>
                <Quantity unitCode="EA">1</Quantity>
                <QuantityTypeCode>EA</QuantityTypeCode>
                <Amount currencyCode="USD">0</Amount>
              </CalculationBasis>
              <CalculatedAmount currencyCode="" />
              <RoundingDifferenceAmount currencyCode="" />
              <EffectiveIndicator>true</EffectiveIndicator>
              <ManuallyChangedIndicator>true</ManuallyChangedIndicator>
              <GroupedIndicator />
              <OriginCode>2</OriginCode>
              <PriceSpecificationUUID />
              <PriceSpecificationDeterminationTimePoint>
                <TypeCode>1</TypeCode>
                <Date>2012-05-07</Date>
              </PriceSpecificationDeterminationTimePoint>
            </PriceComponent>
          </PriceAndTax>
          <AccountingCodingBlockAssignment>     <AccountingCodingBlock>A1520<GeneralLedgerAccountAliasCode>Z0003</GeneralLedgerAccountAliasCode></AccountingCodingBlock>
          </AccountingCodingBlockAssignment>
        </Item>
      </CustomerInvoiceRequest>
    </CustomerInvoiceRequestRequest>

  • How to get the request xml string in Business service.

    Hi
    I have following requirement
    1) XAI inbound service will get a input xml request feed and call the Business Service.
    2) Business service will do some validation and do the insert in the database.
    My BS schema is as below
    <schema pageAction="change">
    <personId mapField="PER_ID"/>
    <personOrBusiness mapField="PER_OR_BUS_FLG"/>
    <name mapField="ENTITY_NAME" mdField="C1_ENTITY_NAME"/>
    <emailAddress mapField="EMAILID"/>
    <city mapField="CITY"/>
    <county mapField="COUNTY"/>
    <postal mapField="POSTAL"/>
    <houseType mapField="HOUSE_TYPE"/>
    <taxVendorGeographicalCode mapField="GEO_CODE"/>
    <isInCityLimit mapField="IN_CITY_LIMIT"/>
    <state mapField="STATE"/>
    <version mapField="VERSION"/>
    <division mapField="CIS_DIVISION"/>
    <accessGroup mapField="ACCESS_GRP_CD"/>
    <address1 mapField="ADDRESS1"/>
    <personCharacteristic type="list" mapList="CI_PER_CHAR">
    <personId mapField="PER_ID"/>
    <characteristicType mapField="CHAR_TYPE_CD"/>
    <characteristicValue mapField="CHAR_VAL"/>
    <effectiveDate mapField="EFFDT"/>
    <adhocCharacteristicValue mapField="ADHOC_CHAR_VAL"/>
    <characteristicValueForeignKey1 mapField="CHAR_VAL_FK1"/>
    <characteristicValueFK2 mapField="CHAR_VAL_FK2"/>
    <characteristicValueFK3 mapField="CHAR_VAL_FK3"/>
    <characteristicValueFk4 mapField="CHAR_VAL_FK4"/>
    <characteristicValueFK5 mapField="CHAR_VAL_FK5"/>
    </personCharacteristic>
    </schema>
    The request XML to BS is as below_
    (support.schema.AbstractSchemaBasedDispatcher) Performing page:change of BusinessService CM_SPRDSHT_BS' (service='CMSPRDHSHTUPLD'), with input request
    <?xml version="1.0" encoding="UTF-8"?>
    <CM_Person>
    <personOrBusiness>P</personOrBusiness>
    <name>Marsh,Corporate</name>
    <emailAddress>[email protected]</emailAddress>
    <city>Tampa</city>
    <country>USA</country>
    <postal>2131</postal>
    <houseType/>
    <taxVendorGeographicalCode/>
    <isInCityLimit/>
    <state>CA</state>
    <version>1</version>
    <division>930</division>
    <accessGroup>***</accessGroup>
    <address1>Address of Khan</address1>
    </CM_Person>
    I can access the values of each xml node in BS with the help of data item.
    I wanted to know how can I get the above request xml string in my Business Service in Java.

    {color:#0000ff}http://java.sun.com/javase/6/docs/api/java/lang/Integer.html#parseInt(java.lang.String)
    http://java.sun.com/javase/6/docs/api/java/lang/Integer.html#valueOf(java.lang.String){color}

  • Need to replace a tag in Request XML in OSB

    I have my proxy service in OSB connected to MQ as the input provider. Now I want to take a couple of namespaces and copy them into the body and remove those tags.
    Here is the input from MQ...
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v="http://www.w3.org/1999/XSL/Transform">
    <soapenv:Header/>
    <soapenv:Body>
    <v:createAccount>
    <partId>Mnhtd_21</partId>
    </v:createAccount>
    </soapenv:Body>
    </soapenv:Envelope>
    I want this request xml to be converted into the following xml before it can be routed to the Business Service...
    <v:createAccount xmlns:v="http://www.w3.org/1999/XSL/Transform">
    <partId>Mnhtd_21</partId>
    </v:createAccount>
    How can I transform it in the Proxy Service message flow?
    Please Help.
    Thanks in advance!
    Edited by: 994962 on Mar 20, 2013 12:10 AM

    Dear Fabio,
    I am forced to strip off the namespaces from the Soap Envelope that I am receiving from the MQ which is not the standard precedure. So I need the namespaces so that I can put them as attributes in the bosy itself.
    Here's what I want to do.....
    Input:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v="http://www.w3.org/1999/XSL/Transform">
    <v:createAccount>
    <partId>Mnhtd_21</partId>
    </v:createAccount>
    Desired Output:
    <v:createAccount xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v="http://www.w3.org/1999/XSL/Transform">
    <partId>Mnhtd_21</partId>
    </v:createAccount>
    So I need an Xpath to take the attributes out of the <soapenv:Envelope> and put them in <v:createAccount>
    Thanks!

  • Web Service Request Xml

    Hi,
    I have an web service deployed. I wanted to write a client which will show me an sample request xml for any particular operation. Is there any way by that we can generate the request xml by querying the WSDL file.
    Thanks.

    I have used XML BEANS option for generating client in my webservvices. In that there is
    System.err.println(document.xmlText()); which is basically a request Object for calling stub.
    Any way there should be option to get XML text in most of the clients (client types).
    Secondly for knowledge purpose if you want that XML then you may even try with default test utility provided in ECLIPSE.

  • How to view the input rate request xml?

    Hi Frens,
    please help on viewing the input rate request xml. I am not able to view the input xml(don't know to view). tell where I have to go and view that XML file.
    I am using oracle insbridge rate manager version 4.00.0.
    thanks in advance.

    user13809539 wrote:
    Hi Andy,
    I am new to INSBridge 4 and currently learning it on our own. I am facing some issues in creating rating logic and algorithms. Unfortunately Ratemanager library does not have any mock rating templates. Can you please share a mock or dummy rating template if it is appropriate to do so. My email id is [email protected]. A rating template might help me in figuring out the reason for the issues I am facing.
    Regards,
    Akhi
    Edited by: user13809539 on Jan 21, 2011 7:38 AMHi Akhi,
    I am doubtful that anyone is going to share rating templates, because that is generally regarded as intellectual property of the companies that own the rating books. You may consider attending Oracle University which has several classes that will have you build a rating program from the ground up.
    --Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Delete/Unassign Resource Request Xml ?

    What is the request xml to delete the resource from ACS4 ? Currently there is no xml request is generated in "Web service API Inspector" of ACS4. Also same for delete(unassign) resource from distributor resources?
    Can anyhone help?

    I've seen this too. Arguably, it's a bug, but I can also see an argument for the way it works now: if the account isn't going to be deleted, won't reconciliation likely just link it up again? In my particular case, the answer is "no"...
    I'm running an old version of IDM 8, so I don't know if the behavior is still that way.
    You can write your own task to unlink resources and make it available for launching under Server Tasks...Run Tasks. Or you can try using what's available under Accounts..Launch Bulk Actions.
    -Les

  • How to create a proxy to retrieve the xml file from web services

    Hi Every one,
    We have a requirment where we receive a xml file from Kenexa, a third party HR tool using a middleware tool. from SAP side We have to create a proxy to retrieve the xml  file from web services by initiating call through middleware tool i used earlier.
    these are the steps i intend to follow to accomlish the requirement.  
    1) middleware tool has to initiate the call to kenexa web services to  receive the xml file when it is available.
    2) On SAP we need to create a ABAP Proxy service provider to middleware where this file can be received.
    Can any one guide me how i can create a proxy to retrieve the xml  file from web services by initiating call through other middlewre (its not PI). 
    Any help would be really great, i am not a ABAP developer, so please help me with this. Thanks.

    Thank for reply.
    The computers are in different locations, but yes it's possible, the users in this enviroment are all local administrator of the machines, and we can distribute the script centrally from the DC automatically
    Acrobat use Java, right? I'm not so expert in java, but something about it could not be so difficult to manage.
    Do you know some place where i can get some info about JS and acrobat?

  • Hwo can i retrieve my XML???

    Hello,
    I need to retrieve an XML file from my WebApp folder using tomcat.
    I can put it everywhere I prefere but I have to be in my webapp for portability
    My Java installation classpath point to c:\windows\system32, and, if I put this file here, everything works perfectly!
    I have rode many threads regarding, for example, GetResourcesAsStream() as the best way to solve my problem, but I just can't make it works (it returns me null), and I'm not so expert to understand why it doesn't works for my situation...
    So I tried to retrieve the URI in this way
    getServletContext().getResource("/parametri.xml").toURI();The result was that Tomcat replies me telling that URI scheme is not "file"
    How can I simply retrieve this file?
    I'm a newbie of Java programming, please give me a simple example!
    thanks everybody!

    It doesn't works.
    I writed your solution in this way
    (only for information, I'm using the JDom library...)
    InputStream pippo = getClass().getResourceAsStream("/parametri.xml");
              String pluto = pippo.toString();
             documento = saxBuilder.build(new File(pluto));Tomcat logs tell me:
    java.io.FileNotFoundException: C:\WINDOWS\system32\java.io.ByteArrayInputStream@1c9e67a (Impossibile trovare il file specificato)
    ...don't mind about italian message ;)
    As you can see, it appends "java.io.Byte..." to the initial "c:\windows\system32" path

  • OAG - inserting extra block in request XML

    Hi,
    I've a requirement to add/insert below error block under <mainXMLblock> once request XML reaches OAG. I've checked "ADD XML Node" filter, but it allows to add node by node not the complete error block. Could you please suggest some options. i thought of using "set message" filter but i need incoming XML (request xml) + error block to be added, not sure who to do that in "set Message" filter.
    <mainXMLblock>
              <Error>
                <ErrorCode>
                    <Type>ERROR</Type>
                    <ErrorSubCode>
                        <Value>
                            <Namespace>Namespace1</Namespace>
                            <Value>Value4</Value>
                        </Value>
                    </ErrorSubCode>
                 </Error>
    </mainXMLBlock>
    Regards,
    Ganesh

    Hi,
    You should can add the whole block to the mainXMLBlock in one go with the Add XML Node filter. But the filter is a bit tricky..
    Here are a few things to watch out for.
    1. Namespaces
    If there is a namespace in for example mainXMLBlock you have to add this to the XML you are trying to insert. For example:
    <s:mainXMLblock xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
         <s:someContent></s:someContent>
    </s:mainXMLBlock>
    For the Add XML Node when you adding the XML content you must include the namespace above.
    Node Type: Element
    Node Content: <Error xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><ErrorCode><Type>ERROR</Type><ErrorSubCode><Value><Namespace>Namespace1</Namespace><Value>Value4</Value></Value></ErrorSubCode></Error>
    2. Existing header.
    Unfortunately the Add XML Node filter can't automatically handle if the request may have the XML Node you are trying to add. So if you have a case where the node might exist already you have to handle this seperatly and have two Add XML Node, one where you just append and the other to replace for example.
    Cheers,
    Stefan

  • Operation Timed out retrieving large xml from SharePoint webservice

    When I try to retrive a large list from a SharePoint webservice the operation gets timed out. I had used an unusually large row size to get it back until now but since the list has grown, its timing out again. This is my code, can anybody suggest anything
    to stop it getting timed out please?
    XmlNode ndListItems = listService.GetListItems(ListName,
    null, ndQuery, ndViewFields,
    "47797", ndQueryOptions,
    null);
    using (var writer
    = System.IO.File.CreateText(AMSListName.Replace(" ",
    "") +
    ".xml")) {
                            writer.WriteLine(ndListItems.OuterXml);
    Sharepoint Dummy

    XSQL uses DOM.
    However, do you want to publish the document on Web?
    Why don't you paginate your document for display? If you do need to paginate the document, you can use the &lt;xsql:query skip-rows = "integer"/&gt; to reduce the size of the query result.
    This might help.

Maybe you are looking for