Runtime Type Services

Hi All,
I need introduction to ABAP Runtime Type Services. Also, it would be highly helpful if you could provide links that explain this concept in more detail.
Thanks and Regards,
Vidya.

Hi Vidya,
Go through this link,
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abapRuntimeType+Services&cat=sdn_all
cheers
Mohinder Singh Chauhan

Similar Messages

  • TYPE003: Runtime Type Mismatch

    A general question:
    ODSI 10gR3
    Has anyone seen the "TYPE003: Runtime Type Mismatch" error returned when you pass a variable through a function rather than a literal? The variable is the exact same value as the literal and I have casted all to a xs:double before passing through the "getReferencesByVersionID" function in code below.
    =============================================================
    (: Always tested with the same $VersionID and only 1 order in the database :)
    for $Order in tns:getOrdersByVersionID($VersionID)
    return
    (: let $OrderNum := tns:getOrderNum(fn:data($Order/ns1:OrderNum)) :) (: Fail :)
    let $OrderNum := xs:double(fn:data($Order/ns1:OrderNum)) (: Fail :)
    (: let $OrderNum := xs:double(12001002) :) (: Success :)
    let $References := tns:getReferencesByVersionID($VersionID, $OrderNum)
    return
    Returned XML snippet when run successfully:
    <ns0:Order ns0:TransactionPurpose="ADD/UPDATE">
    <ns0:ShipperRef>J10310ST12001002</ns0:ShipperRef>
    <ns0:OrderNum>12001002</ns0:OrderNum> (: Populated by: "data($Order/ns1:OrderNum)". "ns0:OrderNum" defined as xs:double in schema. Note: same value as literal :)
    <ns0:Comments/>
    <ns0:OrderType>O</ns0:OrderType>
    <ns0:Workflow>O</ns0:Workflow>
    Returned Trace when not working:
    com.bea.dsp.das.exception.DASException: weblogic.xml.query.exceptions.XQueryTypeException: {bea-err}TYPE003: Runtime Type Mismatch
         at com.bea.dsp.das.ejb.EJBClient.invokeOperation(EJBClient.java:160)
         at com.bea.dsp.das.DataAccessServiceImpl.invokeOperation(DataAccessServiceImpl.java:171)
         at com.bea.dsp.das.DataAccessServiceImpl.invoke(DataAccessServiceImpl.java:122)
         at com.bea.dsp.ide.xquery.views.test.QueryExecutor.invokeFunctionOrProcedure(QueryExecutor.java:113)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.getFunctionExecutionResult(XQueryTestView.java:1041)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.executeFunction(XQueryTestView.java:1176)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.widgetSelectedImpl(XQueryTestView.java:1866)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.access$300(XQueryTestView.java:174)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent$3.run(XQueryTestView.java:1594)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.widgetSelectedBusy(XQueryTestView.java:1597)
         at com.bea.dsp.ide.xquery.views.test.XQueryTestViewContent.widgetSelected(XQueryTestView.java:1560)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3687)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3298)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    The obvious answer is that "fn:data($Order/ns1:OrderNum)" does not equal "xs:double(12001002)" when passed through the " tns:getReferencesByVersionID()" function but it appears to be the same value.
    This is happening in the Application layer so too much to include all the code. Thoughts/Comments on where to look or what I am missing?
    Thanks
    Tom

    Thanks Mike. No other web services... all physical ODSI to a single Oracle 11g denormalized table, selected several times to get different parts of the data (order header, shipping info, items, etc) and bubbled up through the layers via transformations finally getting into a single XML ORDER at the app layer.
    I'm not a guru at reading traces but it appears numieric vs double issue?
    The full stack trace:
    weblogic.xml.query.exceptions.XQueryTypeException: {bea-err}TYPE003: Runtime Type Mismatch
         at weblogic.xml.query.runtime.core.ExecutionWrapper.asXQueryException(ExecutionWrapper.java:165)
         at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:94)
         at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:133)
         at weblogic.xml.query.runtime.node.DeflateRec.fetchNext(DeflateRec.java:43)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at com.bea.ld.server.ResultPusher$ChunkyBinxmlChunker.nextChunk(ResultPusher.java:402)
         at com.bea.ld.server.ResultPusher$AsyncChunkyBinxmlChunker.nextChunk(ResultPusher.java:520)
         at com.bea.ld.server.ResultPusher$BinxmlChunker.next(ResultPusher.java:292)
         at com.bea.ld.EJBRequestHandler$1.next(EJBRequestHandler.java:938)
         at com.bea.ld.ServerBean.maybeStreamResult(ServerBean.java:97)
         at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:86)
         at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:72)
         at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.ClassCastException: weblogic.xml.query.tokens.basic.Basic_StringToken
         at weblogic.xml.query.runtime.numeric.compare.DoubleEqual.compare(DoubleEqual.java:31)
         at weblogic.xml.query.runtime.compare.ComparisonIterator.execute(ComparisonIterator.java:45)
         at weblogic.xml.query.iterators.FunctionIterator.fetchNext(FunctionIterator.java:30)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.logic.BoolEffValue.exec(BoolEffValue.java:47)
         at weblogic.xml.query.runtime.logic.BoolEffValue.execute(BoolEffValue.java:43)
         at weblogic.xml.query.iterators.FunctionIterator.fetchNext(FunctionIterator.java:30)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:167)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
         at weblogic.xml.query.runtime.constructor.SuperElementConstructor.getPhase2(SuperElementConstructor.java:388)
         at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.matEverything(PartMatElemConstructor.java:123)
         at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.fetchNext(PartMatElemConstructor.java:197)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:91)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:91)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
         at weblogic.xml.query.runtime.navigation.ChildPath.fetchNext(ChildPath.java:221)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.iterators.BasicMaterializedTokenStream.next(BasicMaterializedTokenStream.java:109)
         at weblogic.xml.query.iterators.BasicMaterializedTokenStream$MatStreamIterator.fetchNext(BasicMaterializedTokenStream.java:448)
         at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
         at weblogic.xml.query.runtime.core.RTVariable.fetchNext(RTVariable.java:53)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.sequences.Exists.execute(Exists.java:37)
         at weblogic.xml.query.iterators.FunctionIterator.fetchNext(FunctionIterator.java:30)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
         at weblogic.xml.query.runtime.constructor.SuperElementConstructor.getPhase2(SuperElementConstructor.java:388)
         at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.matEverything(PartMatElemConstructor.java:123)
         at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.fetchNext(PartMatElemConstructor.java:197)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.iterators.BasicMaterializedTokenStream.next(BasicMaterializedTokenStream.java:109)
         at weblogic.xml.query.iterators.BasicMaterializedTokenStream$MatStreamIterator.fetchNext(BasicMaterializedTokenStream.java:448)
         at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
         at weblogic.xml.query.runtime.core.RTVariable.fetchNext(RTVariable.java:53)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
         at weblogic.xml.query.runtime.navigation.ChildPath.fetchNext(ChildPath.java:221)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.sequences.Exists.execute(Exists.java:37)
         at weblogic.xml.query.iterators.FunctionIterator.fetchNext(FunctionIterator.java:30)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
         at weblogic.xml.query.runtime.constructor.SuperElementConstructor.buildPreserveModeTextNode(SuperElementConstructor.java:320)
         at weblogic.xml.query.runtime.constructor.SuperElementConstructor.getPhase2(SuperElementConstructor.java:405)
         at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.matEverything(PartMatElemConstructor.java:123)
         at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.fetchNext(PartMatElemConstructor.java:197)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
         at weblogic.xml.query.runtime.constructor.SuperElementConstructor.getPhase2(SuperElementConstructor.java:388)
         at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.fetchNext(PartMatElemConstructor.java:229)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:167)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
         at weblogic.xml.query.runtime.constructor.SuperElementConstructor.getPhase2(SuperElementConstructor.java:388)
         at weblogic.xml.query.runtime.constructor.PartMatElemConstructor.fetchNext(PartMatElemConstructor.java:229)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.debug.Trace.fetchNext(Trace.java:70)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
         at weblogic.xml.query.iterators.LegacyGenericIterator.hasNext(LegacyGenericIterator.java:130)
         at weblogic.xml.query.runtime.sequences.Subsequence.fetchNext(Subsequence.java:101)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
         at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:237)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:88)
         at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:133)
         at weblogic.xml.query.runtime.node.DeflateRec.fetchNext(DeflateRec.java:43)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
         at com.bea.ld.server.ResultPusher$ChunkyBinxmlChunker.nextChunk(ResultPusher.java:402)
         at com.bea.ld.server.ResultPusher$AsyncChunkyBinxmlChunker.nextChunk(ResultPusher.java:520)
         at com.bea.ld.server.ResultPusher$BinxmlChunker.next(ResultPusher.java:292)
         at com.bea.ld.EJBRequestHandler$1.next(EJBRequestHandler.java:938)
         at com.bea.ld.ServerBean.maybeStreamResult(ServerBean.java:97)
         at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:86)
         at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:72)
         at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • Wrapping xml-fragment into AnyDocument looses runtime type information

    I would like to store a fragment of xml in a database. However, to stay XML compatible,
    I don't want to have <xml-fragment> tags. To avoid this, I attempt to "wrap"
    the xml-fragment inside of an AnyDocument using the following code:
    private static AnyDocument wrap(final XmlObject o) {
    final AnyDocument anyDocument = AnyDocument.Factory.newInstance();
    final AnyDocument.Any any = anyDocument.addNewAny();
    any.set(o);
    return anyDocument;
    The problem, is that somehow my runtime type is getting lost after the wrapping
    occurs.
    Here is how the data looks BEFORE wrap (o.save()):
    <?xml version="1.0" encoding="UTF-8"?>
    <xml-fragment xsi:type="loc:AddTermRequestT" xmlns:loc="http://www.overture.com/service/common/local"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:dis="http://www.overture.com/service/display">
    <loc:accountId>1123223ZZZ</loc:accountId>
    <loc:term>dog</loc:term>
    <loc:price>0.55</loc:price>
    </xml-fragment>
    Note that in the above XML the runtime type is set as: xsi:type="loc:AddTermRequestT
    Here is how the data looks after I attempt to wrap it with AnyDocument:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:any xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:dis="http://www.overture.com/service/display"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:loc="http://www.overture.com/service/common/local">
    <loc:accountId>1123223ZZZ</loc:accountId>
    <loc:term>dog</loc:term>
    <loc:price>0.55</loc:price>
    </xsd:any>
    The runtime type is gone and it's not clear how to parse the new XML.
    Am I doing something wrong? Why does the runtime type go away? Is this the correct
    way to "warp" some fragment with a valid document.
    Again, the intent here is to store something to the database that a different
    tool can understand later.
    Thanks.
    -AP_

    Use:
    xmlOptions.setSaveOuter();

  • Transfer material type DIEN in ECC system to CRM product type Service

    Hi Experts,
    I have a requirement to transfer material type DIEN in ECC system to CRM product type Service.
    How can we do this?

    Hi Viswanath,
       I dont think its possible to replicate material type DIEN from ECC to CRM Service Product.
       Service Products need to created in CRM, from here transfer to ERP. To transfer service product from CRM to ECC, you need to enable upload for Service Product in SPRO.
           Customer Relationship Management -->
                 Master Data -->
                        Products -->
                            Settings for Product Type -->
                                    Allow Upload for a Product Type.
       Now here select the check box for product type 02(service).
      To send product from CRM to ECC, open the product you need to send it to ECC in COMMPR01.
             Go To -> Transfer to ERP. Here give the ECCRFC Destination and mapping material type.
    //Bhanu

  • Common Language Runtime Debugging Services Application has generated an exception that could not be handled

    Our custom got an error when startup our .NET windows form application.
    XXXXX.exe - Common Language Runtime Debugging Services
    Application has generated an exception that could not be handled
    Process id=0x654(1620), Thread id = 0x5b0 (1456)
    Click OK to terminate the application
    Click CANCEL to debug the application
    If they click on "CANCEL" then following error message appears:
    Registered JIT debugger is not available. An attempt to launch a JIT
    debugger with the following command resulted in an error code of 0x2(2)
    Please check the computer settings
    cordbg.exe !a0x654
    Click on Retry to have the process wait while attaching a debugger
    manually.
    Click on Cancel to abort the JIT debug request
    We can not duplicate this problem in our development environment and test environment. So, we ask them to uninstall application, .NET Framework 1.1 and resinstall .NET Framework 1.1 and application. They still got same error. We further ask them to install .NET Framework SDK 1.1. They got some detail error message.
    [thread 0x840] Thread created.
    Unable to determine existence of prolog, if any
    [thread 0x188] Thread created.
    [thread 0xba8] Thread created.
    [thread 0x840] Unhandled exception generated: <0x00c0344c> <System.IO.FileNotFoundException>
     _fileName=<null>
     _fusionLog=<null>
     _className=<null>
     _exceptionMethod=<null>
     _exceptionMethodString=<null>
     _message=<0x00c04cc8> "The specified module could not be found."
     _innserException=<null>
     _helpURL=<null>
     _stackTrace=<0x00c04d2c> array with dims=[156]
     _stackTraceString=<null>
     _remoteStackTraceString=<null>
     _remoteStackIndex=0x00000000
     _HResult=0x8007007e
     _source=<null>
     _xptrs=0x00000000
     _xcode=0xe0434fd
    Thread 0x840 R 0x00000000: <unknown>
    <cordbg>
    Looks like the problem is casued by missing component. But we don't know which component missing and how to find it. Is there anybody can give us some clue what we need to check next and what tool we can use to detect missing component.
    Thanks!!!!

    I tried Dependency Walker in our development environment, looks like it's useless for .NE T Window Form application, the result I got is like bellow,
    XXXXX.EXE
        MSCOREE.DLL
            KERNEL32.DLL
            USER32.DLL
            ADVAPI32.DLL
            SHLWAPI.DLL
            URLMON.DLL
            VERSION.DLL
    I know we used some other DLL like Mirosoft Office Object Library, but MSCOREE.DLL (.NET Runtime Engine) covered them. Any other idea? Thanks!!!!

  • DISALLOW PRODUCT TYPE SERVICES

    We have implemented SRM5.0 Extended Classic Scenario and only want to allow procurement of product type "material".
    How do I remove Product type "services" from the Shopping cart and purchase order create screen in order to only have product type "material" as a selectable option?

    Hi,
      Which screen do you want to change the radio button?While creating the SC,you can modify the Product search screen so as not to display the Services else to change the radio button display you may have to modify the screen templates.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Document type service

    We are trying to create a document type service meaning we want to transmit a document
    as is. The webservices documentation states:
    "RPC-oriented WebLogic Web service operations use SOAP encoding. Document-oriented
    WebLogic Web service operations use literal encoding."
    Our service method signature is:
    public void processCreditApp(String document)
    We change our web-services.xml to include: style="document" in the web-service
    element and invocation-style="one-way" in the operation element.
    The client generated builds a SOAP message with the body content typed as a string:
    <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <env:Body>
    <xsd:string>HelloWorld</xsd:string>
    </env:Body>
    </env:Envelope>
    We had expected the content of the body not to be typed with <xsd:string> tags.
    Likewise
    the generated web service is expecting this typing.
    Have the corect assumptions about "literal encoding"? Have we left out any necessary
    steps or settings?
    We are using WL 7, service pack 2 with the pathch: CR102544_70sp2_v2.jar.

    I am not sure I understand. The SOAP body we receive does not have a type designation:
    <SOAP:Body>
    <diag:Diagnostic
    xmlns:diag="http://www.someName.com/namespace.messaging.diag#"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <diag:DiagnosticMessage>
         <diag:RequestMessage>HelloWorld</diag:RequestMessage>
    </diag:DiagnosticMessage>
         <diag:SourceIdentifier>MySource</diag:SourceIdentifier>
    </diag:Diagnostic>
    </SOAP:Body>
    How can we map types for this?
    Steve
    "Karthik V" <[email protected]> wrote:
    Just by changing "rpc" to "document" in web-services.xml will not help.
    You missed <types> and <type-mapping> elements.
    I guess your <operation> still has input param type as xsd:string.
    You should change this to new type that you create to represent your
    document.
    Alternatively, you could servicegen with style="document" and take a
    look
    at the generated web-services.xml.
    That will give you a better idea.
    /k
    "Steve Watson" <[email protected]> wrote in message
    news:[email protected]...
    We are trying to create a document type service meaning we want totransmit a document
    as is. The webservices documentation states:
    "RPC-oriented WebLogic Web service operations use SOAP encoding.Document-oriented
    WebLogic Web service operations use literal encoding."
    Our service method signature is:
    public void processCreditApp(String document)
    We change our web-services.xml to include: style="document" in theweb-service
    element and invocation-style="one-way" in the operation element.
    The client generated builds a SOAP message with the body content typedas
    a string:
    <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <env:Body>
    <xsd:string>HelloWorld</xsd:string>
    </env:Body>
    </env:Envelope>
    We had expected the content of the body not to be typed with <xsd:string>tags.
    Likewise
    the generated web service is expecting this typing.
    Have the corect assumptions about "literal encoding"? Have we leftout
    any necessary
    steps or settings?
    We are using WL 7, service pack 2 with the pathch: CR102544_70sp2_v2.jar.

  • Common Language runtime debugging services - Application exception

    I have a add-on application working on 2005A patch 08. One of our client's site I have a strange problem. The addon works on the test server bur on the production server, after install, it gives me the following error:
    Common Language runtime debugging services.
    Application has generated an exception that could not be handled.Process Id 0x98(2328), Thread id 0x3a4(932)
    Can somebody help me?
    I can use test server as client and point the company to the production server and it works fine. What could be missing on production server client? I am using the same ard and exe files for the addon on test server as well as production server.

    Hi Ibai Peña,
    My application goes this way:
    1. Connect to UI api.
    2. Set culture info.
    3. connect to DI api.
    I have placed messageboxes everywhere to b4 and after to see at what point it is failing. but I don't reach there at all.  I get error b4 my first messagebox.
    On test server, the system was on 2004 and now upgraded to 2005. On production server, it is 2005.
    But my application runs on other 2005 clean install machines. We tried uninstalling SAP B1 completely and loading it again but everytime I get the same error.
    Regards.
    Prakash

  • Resource com.sap.aii.af.svc with type service, not active on the server

    Hi Forum,
    in my X1 server, in rwb, it gave error:
    HTTP request failed. Error code: "503". Error message: "Service Unavailable [http://xyz:50000/AdapterFramework/rtc,
    on further analysis we find that:
    <b>  Application cannot be started.
      Details:   com.sap.engine.services.deploy.container.ExceptionInfo: Application sap.com/com.sap.xi.mdt cannot be started. Reason: it has hard reference to resource com.sap.aii.af.svc with type service, which is not active on the server.</b>
    and the service/component com.sap.aii.af.svc is not present as the error says,
    In visual admin, in the services list i couldnt find this particular resource,
    pls instruct me how to deploy/start this service com.sap.aii.af.svc ,

    Hi,
    Please check out the user authorization and role and also check that you are maintaining the passwords in all places where required.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Retrieving xpath in any xml type service

    Hi,
    We have any xml service type proxy which receives 2 different types of XML messages.In one of the XML messages,we need to branch out based on value of certain element.
    But xpath doesn't seem to work.Xpath retrieved using messaging type service is:
    *$body/ref:ONIXMessage/ref:Product/ref:RecordSourceType/text()*
    This xpath works with messaging type service.
    But when the same was used in any xml type service ,ALSB unable to recognize the namespace and hence the xpath was modified to:
    *$body/ONIXMessage/Product/RecordSourceType/text()*
    But this does not return anything.
    Any idea as to how to get the data from xpath?
    Thanks.
    Arti

    Hi,
    You can add the namespace to use that in inline x-queries/x-path expressions. Please refer -
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/proxyeditors.html#wp1277819
    Regards,
    Anuj
    Edited by: Anuj Dwivedi, Infosys on Aug 16, 2009 4:33 PM

  • Error in RFx : Item type 'Service' not allowed for this Item

    hi , experts,
      We use SRM7.0 in Standalone scenario .
      i get an error when i transfer SC to RFx :     Line 0001: Item type 'Service' not allowed for this Item .
    if someone kindly tell me how to correct this Error.
      another question is ,in the Standalone scenario , can we create Service Master with multiple level(hierarchy) use Tcode 'COMMPR01 ' ?
       reagrds
               claud

    Hi Claud,
    SRM does not support hierarchy in service for operational documents like PO, contract, confirmation and invoice in SRM 7. It does support hierarchy in service only for RFx doucments. You need to activate the hierarchy template for SRM for that.
    Thanks and regards,
    Ranjan

  • Service master and  material type 'service'

    Hi everybody.
    I am a bit confused about "Service"
    There is a service master that we can use to store and procure service.
    Also we can use material master to store 'service' using material type 'service' and procure service in that way.
    I want to know what is the difference between the two ? When shall I use what ?

    Hi
    If you do not want to use 'External Service Management', you can use materials of type Service (DIEN).
    This will be similar to any other account assigned material PO with free text. Instead of using free text, you are using material master and also helps you in identifyign service purchases from other material purchases. You will not use item category 'D' in this case. You do GR here.
    Service masters are used when you use item category 'D' ('External Service Management'). There are additional flexibility of defining service specifications, service outlines, using service entry sheet etc here.
    Best regards
    Ramki

  • Common Language Runtime Debugging Services

    I have been getting Fatal Execution Engine Errors.
    onfserv.exe - Common Language Runtime Debugging Services
    McafeeDataBackup.exe - Common Language Runtime Debugging Services
    MSI189.temp - Common Language Runtime Debugging Services
    MSIEF.temp - Common Language Runtime Debugging Services
    What is causing this and how can I fix it.

    It might be a virus, try scanning your machine with some other antivirus software than you have now installed. If that's not the problem check the chipset drivers and do all windows updates. Cheers and post back if none worked!
    Message was edited by: daniel.micu

  • Sales Document Type : Services

    Hi Sap Gurus,
    Can anybody tell me how Sales Document Type Services is handled as a end user & what is the configuration for the same.
    Thanx in advance
    Regards
    Nitin Date

    http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    in above link select H29 building block

  • Runtime Platform service unavailable after database upgrade

    Hi,
    The following situation:
    We use:
    Oracle 9i Warehouse Builder Client 9.2.0.3.0
    Oracle 9i Warehouse Builder Repository 9.2.0.2.0
    We have 2 databases (production and test) which both contain multiple runtime_owner schema's and target-schema's but only 1 Design repository.
    We recently upgraded the database from 9.2.0.1. tot 9.2.0.6.
    It is an Windows 2003 Server.
    The problem:
    Since the upgrade the Runtime Platform service is unavailable when we try to start the Deployment Manager. The application then hangs. We can start the runtime service again throught the start_Service.sql file and the service_doctor.sql show everything is ok once again, but after another start of deployment manager the service is once again not available.
    My questions:
    How can we fix this issue? Do we and if yes, which, need to apply OWB patches? The repository is version 9.2.0.2 while the client is 9.2.0.3, is that normal or did we forget to upgrade the repositories? I tried to upgrade the repository again through <OWB_Home>\owb\patches\92030upg_rt.sql (in case we forgot) but it says '0 users upgraded'.
    Any help would be appreciated,
    Regards,
    Eric

    Hi,
    Please refer to these docs/links.
    Oracle Applications Upgrade Guide: Release 11i to Release 12.1.1
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121upgrade.pdf
    Database Preparation Guidelines for an E-Business Suite Release 12.1.1 Upgrade [ID 761570.1]
    Oracle E-Business Suite Release 12.1.3 Now Available
    http://blogs.oracle.com/stevenChan/2010/08/ebs_1213_available.html
    E-Business Suite Release 12.1.2 Now Available
    http://blogs.oracle.com/stevenChan/2009/12/ebs_1212_available.html
    Thanks,
    Hussein

Maybe you are looking for