Recovery of xpath in any service of xml type

Hello

We have a type xml service proxy that receives 2 different types of XML messages. In one of the XML messages, we need to branch out depending on value of certain elements.

But xpath doesn't seem to work. XPath recovered using messaging type service is:

* $body / ref:ONIXMessage/ref:Product/ref:RecordSourceType/text() *.

XPath works with the type of messaging service.

But when even has been used in any service of type xml, ALSB unable to identify the area names and therefore the XPath has been changed to:

* $body / ONIXMessage / Product/RecordSourceType/text () *.

But it does not return anything.

Any idea on how to get the data to xpath?

Thank you.

Arti

Have you tried the * wild-card?

Something like this:

$body / *: ONIXMessage / *:Product/*:RecordSourceType/text()

Hope that helps

Tags: Fusion Middleware

Similar Questions

  • Calling a service of OSB (Type of Service: any Service of XML) of BPEL

    Recently I had the question in an Interview:

    How an OSB services (of the Type of Service: Any Service of XML) can be called from a BPEL service?

    This OSB service is not exposed as a WSDL.

    Protocol: http

    Endpoint URI: / TestOSBProject1/ps/SyncReadPS

    Host: localhost

    Port: 7001

    URL: http://localhost:7001 / TestOSBProject1/ps/SyncReadPS

    When I hit this URL I get the message--> " " "this XML file does not appear to be any information of style associated with it. "The document tree is shown below."

    WSDLURL: http://localhost:7001 / TestOSBProject1/ps/SyncReadPS? WSDL

    When I hit this URL I get the message-> ' "error 500 - internal error of the Service- this service is not associated with a WSDL file".

    Is there some way yo call this service from BPEL?

    URL: http://localhost:7001 / TestOSBProject1/ps/SyncReadPS

    When I hit this URL I receive the message--> " "this XML file does not appear to be any information of style associated with it. "The document tree is shown below."

    What is the adapter using your when you call http://localhost:7001 / TestOSBProject1/ps/SyncReadPS

    Binding HTTP of the user while calling OSB Service(of Service Type: Any XML Service)


    Thank you

  • After having my system repaired, I can't have my mobile data card (wireless broadband modem) to operate. I can't get any service from the server.

    TBS wide BAND WIRELESS MODEM data

    I had to have my computer repaired, now I can't get my mobile card data (wireless broadband modem) to operate. I can't get any service from the server. I called them and they said that when the laptop has been repaired. The Ports were not tied and cannot open anything. All other elements of work of these ports (wirelsee mouse/printer and I explained this to the technician, it is only thought was to call in a repair service.) I think their answer is like the auto machnic said to go and change the air in your tires. Can you give me any advice?

    Hello

    I suggest you to stay in touch with your Internet service provider.

  • Problem event name: ServiceHang name of the Service: Image name MEANING: sens.dll Image Version: 6.0.6001.18000 Type of Service: 20 Startup Type: 2 OS Version: 6.0.6002.2.2.0.768.3 locale ID: 1033

    Hello

    I am writing to find out if I've broken hardware or software corruption...?
    In the end, after I transfer files via a cable, I'm blocking this computer to do a clean install of Windows 7.
    ___________________________________________
    Windows NT Version 6.0 Build: 6002 SP2
    Product (0x3): Vista (TM) Home Premium Windows
    Edition: HomePremium
    BuildString: 6002.18484.x86fre.vistasp2_gdr.110617 - 0336
    Flavor: Multiprocessor Free
    Architecture: X 86
    LCID: 1033mama
    ___________________________________________
    Description
    Service System Event Notification Service hung on starting.

    Signature of the problem
    Problem event name: ServiceHang
    Service name: SENSE
    Image name: sens.dll
    Image Version: 6.0.6001.18000
    Type of service: 20
    Startup type: 2
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 1033

    Files helping to describe the problem
    Version.txt
    minidump.mdmp
    ___________________________________________

    Plain talk:
    The computer works well except there anyway any internet connection.
    As in not even one toe in the door more.

    Recovery is off, so no chance to try this.
    No virus is embedded.

    What I was doing?
    I was streaming a lot of Netflix for the last two weeks...

    I like to think that I run a pretty tight ship with this machine as in its 'own' (except recovery being off)...

    Toshiba Satellite A205 - S4607

    Device Manager shows everything is working normally. It would show if the equipment was broken?

    A month ago I noticed a bulge just above F7 to F11. The highest part being F9. It is just the plastic,
    but, obviously something had warm, yet, the machine worked very. When I discovered that it was the other
    morning after and streaming aircraft are asleep... computer had been just sitting there with remnants of
    'Dead' in the browser since ignored Netflix...

    So, back at the beginning of this email:
    "broken hardware or software corruption...?
    In the end, after I transfer files via a cable, I'm crashing this computer to do a clean install of Windows 7. »
    (or am I?)

    Thank you for any constructive comments,
    Tim

    Hi T9mothy,

    Method 1
    Device Manager would show if the driver for the hardware is corrupted or damaged which can be resolved by updating or reinstalling the driver. Try the steps from the following link to resolve the problem of the internet.

    Windows wireless and wired network connection problems
    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Method 2
    SFC scanner. SFC will correct if you have corrupted system files.
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    If you have problems with the hardware, then you need to contact the manufacturer of the computer.

  • "Impossible recovery disk for this computer. Confirm the type of model.

    Dear everybody

    I have a prolem on my computer, and my computer is a Sony Vaio VGN-CS230J. My computer operating system is Windows Vista Home Premium 64-bit. Now I use Windows 7 and I want to back to the original operating system recovery, but it does not work. When I want to recover, it displays a message 'can't the recovery for this computer disk. Confirm the type of model. I wish that everyone could help me.

    To return to Vista, you must do a clean install, which probably a format the hard disk during the process (at least I'd do a format just to be sure to do it again and not accidentally install two OS on the same system that would create a more serious problem).  Make sure that you backup that data that the process will erase your drive first clean everything.  If you use a recovery disk or a recovery partition provided by the manufacturer, you must contact the manufacturer for advice on how to complete the process, because the recovery process is their to and not Microsoft.  This is the computer we're talking about:http://esupport.sony.com/US/perl/model-home.pl?mdl=VGN-CS230J®ion_id=1?  We can not help you with the process of recovery beyond what I've included below (which is basicially links to the Sony site and ways to contact them or obtain additional information).

    If you use the recovery Partition and it does not work, then you might need instead of disk recovery (that you can get from the manufacturer, for a small fee or maybe even do partition recovery - well than if the partition does not work I would ask on the disks, it - see the following) (: http://www.kb.sony.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=C427414&sliceId=1&docTypeID=DT_KNOWLEDGEARTICLES_1_1&dialogID=143790279&stateId=0).  Here are the steps to perform the recovery discs recovery according to Sony: http://www.kb.sony.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=C1003796&sliceId=1&docTypeID=DT_KNOWLEDGEARTICLES_1_1&dialogID=143790279&stateId=0 , but even once, we cannot help you with this.  The error you get suggests the recovery information does not match the model of the computer - which may mean there was an error during production (with the computer or with the recovery software) - but I don't know who to hit and you really do need to talk to Sony about this.  http://esupport.sony.com/US/perl/support-contacts.pl?mdltype_id=24.  If we consider the costs if this system is no longer under warranty, I think I'll try the chat option - although not as effective or as fast as the phone, he can usually answer most questions and help with most of the problems (and tell you how to do the things you need to do and how to get the things you need to get - if anything).  You know the problem and you know the situation and you know what you need to understand, therefore, to ask the right questions and get the answers you need.  If the chat also costs, you could try e-mail even if it will take more time and you'll have to write one that asks everything you want to know the first time or you will go back for days.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Set UP AN E-MAIL ACCOUNT: On the yahoo site I can't find any information on the type of incoming or outgoing server

    I can't find any information about the type of server type server incoming or outgoing so that I can set up an e-mail account to windows on the yahoo site.

    Here are instructions to configure Yahoo in Windows Mail in Vista: http://www.freeemailtutorials.com/vistaWindowsMail/setupYahooMailInWindowsMail.php.  It includes the server settings you requested.  I don't know if they are the same with other e-mail programs, but that's what comes with Vista and you're in a Forum of Vista so I took my best shot at the choice of this particular option to present.

    There are many other tutorials and articles on how to set up the account depending on what e-mail program you are using and what type of Yahoo email account you have.  Go to http://search.yahoo.com/search;_ylt=Amc3Rw9f2u0uuHTa9.YBe0SbvZx4?fr=yfp-t-701-s&toggle=1&cop=mss&ei=UTF8&p=yahoo%20email%20settings%20for%20windows%20mail and enter your question as "for Windows Live Mail, the e-mail settings" or "for Outlook 2007, the settings of e-mail"or what you use.»  Check the results, and then search for tutorials on the option that you use.  Again, whether or not you can do depends on the type of account Yahoo Mail you have (some are not available with the free version).  I can't any more detailed data without setting up an account of myself (and I don't want one).  I can't help you further with your search because you did not provide the e-mail program, you are using or the version of Vista you are using.

    I hope this helps.  If you need more information, give me more information.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • % CABLE_MODEM_HWIC-3-CONTROL_PLANE_FAIL: RBCP failure: failed to add the service ACE flow - type Ethernet not supported

    Hi all...

    I think % CABLE_MODEM_HWIC-3-CONTROL_PLANE_FAIL: RBCP failure: failed to add the service ACE flow - type Ethernet not supported

    on my 1841 which is currently set to L2L via internet cable. Anyone seen this before? I can't find anything on Cisco related to this.
    The tunnel rises and I got the same configs using DSL except interfaces are different. Thank you...
    My configs are below:
    crypto ISAKMP policy 10
    BA 3des
    md5 hash
    preshared authentication
    Group 2
    # address a.a.a.a isakmp encryption key
    ISAKMP crypto keepalive 20 periodicals
    !
    life crypto ipsec security association seconds 28800
    !
    Crypto ipsec transform-set esp-3des esp-md5-hmac xform
    Crypto ipsec df - bit clear
    !
    10 VPN ipsec-isakmp crypto map
    the value of a.a.a.a peer
    Set transform-set xform
    PFS group2 Set
    match address CRYPTO_ACL
    !
    interface cable-Modem0/1/0
    no ip address
    Bridge-Group 1
    Bridge-Group 1 covering-disabled people
    !
    interface BVI1
    IP address 98.x.x.x 255.255.255.224
    IP virtual-reassembly
    VPN crypto card

    Hello DialerString,

    I fear that the ACL is not related to the question, so I expect not to see anything in the debug output

    Hope to help

    Giuseppe

  • Lightroom does not recognize any of my file types [DNG / JPEG etc] and is unable to import? any ideas for a fix?

    Lightroom does not recognize any of my file types [DNG / JPEG etc] and is unable to import? any ideas for a fix?

    It's impossible. LR is a non-destructive editor and photo management. For her to not see images of the files would make it one of the worst of these programs tyupes.

    So there is a parameter that you have screwed up in the import dialog window that prevents your DNG, TIFF, JPG, PSD, PNG, CMYK and film formats appear in the import window.

    So show us a screenshot of your import window.

    More than likely you have chosen a destination that has all the permissions read/write to your username.

  • actions cannot return xml types

    Anyone know if there is a way to allow an action support a nodelist return xml.

    I'm trying to run a workflow to a list of xml nodes. The problem I have is that you cannot return a type xml of an action or a script action. So I can't create a loop of workflow and so the loop will have to be written in the code. I tried to return a "some", but I cannot deserialize xml.

    Although in the code it works in principle it means there is little a workflow.

    I guess I could fill configuration objects and then loop but it would be much easier to have just an xml return type.

    And I forgot to mention that you can consider the question as answered since actions cannot return XML types.

    Of course, we can continue the conversation if necessary for the best workaround solutions.

    Christophe.

  • Widget to the Web service, parsing XML

    I worked on the communication with my web services and back to my widget.

    By using the code below, I was able to perform a GET and repay the XML, but I can't find data where I expect it to be node-wise when parsing XML. I return an object with 3 variables attached to it. I expect to be child nodes 1, 2, and 3. They proved to be 1, 3 and 5 nodes.

    Any ideas on why or how? I feel I'm missing just a simple thing in all of this.

    XML response

    
    - http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
      1000
      Test Station
      105.285
      
    

    The widget code

    //****************** Ajax Logic ******************
    var xmlHttp;
    function getStationUpdate() {
    
        alert("in station update");
        xmlHttp = new XMLHttpRequest();
    
        var Posturl = "http://MachineIPGoesHERE:51107/Service1.asmx/HelloWorld2?";
        alert("after post url");
        xmlHttp.onreadystatechange = updateData;
        alert("after onReadyStateChange");
        xmlHttp.open("GET", Posturl, true);
        alert("after GET");
    
        xmlHttp.send(null);
    }
    
    function updateData() {
        if (xmlHttp.readyState == 4) {
            alert(xmlHttp.responseText);
            parser = new DOMParser();
            var xmlDoc = parser.parseFromString(xmlHttp.responseText, "text/xml");
    
            alert(xmlDoc.documentElement.childNodes[1].tagName + " " + xmlDoc.documentElement.childNodes[1].childNodes[0].nodeValue);
            //alert(xmlDoc.documentElement.childNodes[1].childNodes.length);
            //alert(xmlDoc.documentElement.childNodes[1].hasChildNodes());
            //alert(xmlDoc.documentElement.childNodes[2].hasChildNodes());
            //alert(xmlDoc.documentElement.childNodes[2].tagName + " " + xmlDoc.documentElement.childNodes[2].childNodes[0].nodeValue);
            alert(xmlDoc.documentElement.childNodes[3].tagName + " " + xmlDoc.documentElement.childNodes[3].childNodes[0].nodeValue);
            alert(xmlDoc.documentElement.childNodes[5].tagName + " " + xmlDoc.documentElement.childNodes[5].childNodes[0].nodeValue);
    
            alert(xmlDoc.documentElement.childNodes.length);
        }
    

    Web service

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.Services;
    using System.Xml.Serialization;
    
    namespace WebService1
    {
        /// 
        /// Summary description for Service1
        /// 
        [WebService(Namespace = "http://tempuri.org/")]
        [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
        [System.ComponentModel.ToolboxItem(false)]
        // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
         [System.Web.Script.Services.ScriptService]
        public class Service1 : System.Web.Services.WebService
        {
    
            [WebMethod]
            public string HelloWorld()
            {
                return "Hello World";
            }
    
            [WebMethod]
            public myTestObj HelloWorld2()
            {
                myTestObj test = new myTestObj();
                return test;
            }
        }
    
        [Serializable]
        public class myTestObj
        {
            private int _StationID;
            private string _StationName;
            private double _Volume;
    
            [XmlElementAttribute(Order = 0)]
            public int StationID
            {
                get
                {
                    return this._StationID;
                }
                set
                {
                    this._StationID = value;
                }
            }
    
            [XmlElementAttribute(Order = 1)]
            public string StationName
            {
                get
                {
                    return this._StationName;
                }
                set
                {
                    this._StationName = value;
                }
            }
    
            [XmlElementAttribute(Order = 2)]
            public double Volume
            {
                get
                {
                    return this._Volume;
                }
                set
                {
                    this._Volume = value;
                }
            }
    
            public myTestObj()
            {
                StationID = 1000;
                StationName = "Test Station";
                Volume = 105.285;
            }
        }
    }
    

    > Any ideas on why or how? I feel I'm missing just a simple thing in all of this.

    White space nodes?

  • Web services with xml file

    Hello

    How read xml file using web services?

    Here's my cfc web services: (I just want to see how to read the xml file)

    < cfproperty >

    < name cffunction = "getBooks" access = "remote" returntype = "string" output = "no" >

    < cfargument "xmlObject" type = name = "xml" required = "yes" >

    < cfset BookResponse = "" > "".

    < cfset var arrIndx = "" > "".

    < cftry >

    < = cfloop '1' to = "#ArrayLen (arguments.xmlObject.XmlChildren)" # "index ="arrIndx">"

    < cfset BookResponse = arguments.xmlObject.XmlChildren [arrIndx]. XmlName >

    < / cfloop >

    < cfcatch type = "any" >

    < cfset BookResponse = ' #cfcatch.message # #cfcatch.detail # ' >

    < / cfcatch >

    < / cftry >

    < cfreturn BookResponse >

    < / cffunction >

    < / cfproperty >

    Here my code to test web services:

    1. define the XML

    <!-installation of the XML to work with->

    < cfsavecontent variable ="XMLFile"><? XML version ="1.0"? >

    < root >

    < header >

    < user > 1 < / user >

    < / header >

    < book >

    0321330110 < isbn >< / isbn >

    < title > Macromedia ColdFusion MX 7 Certified Developer Guidestudy / < /title >

    < author > BenForta / < / author >

    < / book >

    < header >

    < user > 2 < / user >

    < / header >

    < book >

    0596004206 < isbn >< / isbn >

    < title > Learning XML, secondedition / < /title >

    < author > ErikRay / < / author >

    < / book >

    < header >

    < user > 3 < / user >

    < / header >

    < book >

    0782140297 < isbn >< / isbn >

    < title > ColdFusion Developer's GuideMX / < /title >

    < author > RaymondCamden / < / author >

    < / book >

    < / root >

    < / cfsavecontent >

    2 call web services

    < cfinvoke

    method = "getBooks".

    returnvariable = "rawXMLBookList."

    " webservice =" http://localhost/Hoteleria/WebServices/books.cfc?wsdl "> "

    < name cfinvokeargument = "xmlObject" value = "#XMLFile #" >

    < / cfinvoke >

    <!-< cfset XMLDocResult = XmlParse (rawXMLBookList) >

    < cfdump var = "#XMLDocResult #" >-->

    < cfdump var = "#rawXMLBookList #" >

    3 error: Element XMLOBJECT. XMLCHILDREN is undefined in ARGUMENTS.

    I also try using XMLParse without success.

    Any ideas?

    Thank you

    Sorry about that. It worked for me!

    What about doing it on the basis of chains, as follows:

    Books.CFC

    #arguments.xmlString #.

    testPage.cfm


    1

    0321330110

    Certified Macromedia ColdFusion MX 7 Developer Study Guide

    Ben Forta

    2

    0596004206

    Learning XML, second edition

    Erik Ray

    3

    0782140297

    ColdFusion MX Developer's Handbook

    Raymond Camden

    <>

    method = "getAuthors".

    returnvariable = "authorList.

    "WebService ="http://localhost/Hoteleria/webServices/books.cfc?wsdl ">

  • Satellite C660-1F1 Toshiba HDD Recovery 'the installation program starts services' crash?

    This is my second attempt at recovery using the hidden picture. The first attempt, attached to a previous point of loading Windows 7 ;( However, during this attempt, he was more than an hour on the screen "Setup starts services" with a light moving under it.

    Does anyone have a reasonable idea how long it takes to treat? Thanks in advance.

    Have you thought about an SSD instead of HARD drive?
    I replaced the HARD drive with an SSD and I must say that I wasn't expecting these excellent performance...
    The SSD is much better that a HARD drive and you will be really satisfied with the performance of the SSD

  • I recently got an iphone unlocked 5. It used to be locked to T-Mobile. Can I use this unit with any service of cells now or only to others who use SIM cards?

    I recently got my old 5 s T-Mobile unlocked iPhone. Given that T-Mobile is a basic service of SIM, I wanted to see if now it is unlocked, if I can use the device with no - SIM services (i.e. Verizon) and SIM (T-Mobile, AT & T) services?

    KaylianVA wrote:

    I recently got my old 5 s T-Mobile unlocked iPhone. Given that T-Mobile is a basic service of SIM, I wanted to see if now it is unlocked, if I can use the device with no - SIM services (i.e. Verizon) and SIM (T-Mobile, AT & T) services?

    Verizon only lights up iPhone 6 / 6 + and 6s / 6 s + tmobile.

    Verizon phones (except for some other 3 G phones they sell) require a SIM card. Any 4 G LTE phone requires a SIM card.

  • After you have reinstalled Windows XP, I can not install any service packs.

    Could not load service packs windows xp

    I reloaded windows xp pro, and now I can't get service packs to load. With packages of sp, I can't get the flash drives, and so on. Any ideas out there?

    Hello

    Service Pack2 (if you need it) can be obtained here.

    http://www.Microsoft.com/download/en/details.aspx?ID=28

    Service Pack3 can be obtained here.

    http://www.Microsoft.com/download/en/details.aspx?ID=24

    Have you tried windows update? If Yes, see this...

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-windows_update/error-after-fresh-install-of-Windows-XP-Pro/a617bb44-9944-4338-b82e-c18372ad986f

    If the foregoing is not useful so can I suggest that you be a little more specific on what is blocking you? Tell us what you do to try to get the service Pack installed, and what happens when you do that, including error messages verbatim etc.

    Tricky

  • A direct http TCP connection requires any service book?

    Hello

    is it necessary to have any book specific service enabled in order to establish an http connection using the direct method of TCP?

    If not, is it possible for an administrator of BES to block its use without blocking other methods?

    Concerning

    Direct TCP connections do not use registration service.  They use the APN information configured under Options (Advanced Options), Applications.  An application can also specify the APN in the URL (see link below).  Note that CDMA networks do not make use of NPP.

    How - to specify APN information for a direct TCP connection
    Article number: DB-00532

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/How_To _...

    There is no way for a server admin BlackBerry Enterprise Server block just direct TCP connections.  They can block all external connections (direct TCP, WAP 1.1, WAP 2.0, etc...).

Maybe you are looking for