XML Web services configuration problem

WHEN RUNNING

long value 500

set pagesize 100

XQUERY declare default element namespace " " http://xmlns.Oracle.com/xdb/xdbconfig.xsd "; "

for $doc in fn:doc("/xdbconfig.xml")/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-liste/servlet [servlet-name = "orawsv"]

return $doc

I GOT AN ERROR

Error from line 3 in order:

Select column_value xmltable (' declare default element namespace "http://xmlns.oracle.com/xdb/xdbconfig.xsd"; "")

for $doc in fn:doc("/xdbconfig.xml")/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-liste/servlet [servlet-name = "orawsv"]

return $doc')

Error in the command line: 4 column: 146

Error report:

SQL error: ORA-02000: lack of keyword COLUMNS

02000 00000 - "missing %s keyword."

Please help, I need configuration db xml

Still, I get the same error I asked when I try to run the same script with sql developer.

OK, you are using SQL Developer.

Replace quotes simple quotes here:

servlet-name = "orawsv".

It should now work without error, but you end up with this:

COLUMN_VALUE

----------------------

(XMLTYPE)

which is not very useful.

So you should better use XMLTable first:

SELECT xmlserialize (happy column_value)

FROM XMLTable)

XmlNamespaces (default 'http://xmlns.oracle.com/xdb/xdbconfig.xsd'),

"for $doc in fn:doc("/xdbconfig.xml")/xdbconfig/sysconfig/protocolconfig/httpconfig/webappconfig/servletconfig/servlet-liste/servlet [servlet-name ="orawsv"].

return $doc '

) ;

Tags: Database

Similar Questions

  • Can I receive via an XML web service in the PDF form?

    Hi all, I am able to send data to a server via a web service configured in my button send email.  Once the data has been received on the server, a reference number is returned.  My problem starts here as reference number comes back in my browser and not in the PDF file.  How can I get the reference number in the PDF?  Thank you J

    If you actually submit the XML via a web service you shodul be able to bind the output of the web service to a field in your form. You have configured a data connection to a WSDL file?

    You say that you submit via a webservice in your button send email. That made no sense than that described two submit operations on the same key. I suspect that you send us by e-mail and that the server is answer via a HTML page... .Hence the browser is to intercept and place it on the screen (outside your PDF file).

    Hope that helps

    Paul

  • WCF web service synchronization problem

    I created a WCF web service is hosted on IIS. It does the job of recovery of an oracle database file path, locate the same on the server and extractions is content using ftp. The method exposed by the service as a contract returns data in bytes. But it takes more than five minutes to complete the whole process, when I call the web service from a windows application, acting as a client. Good person to want to help me out of this.

    file app.config on the client side:

    <>

    XML version = "1.0" encoding = "utf-8"? >

    Configuration >

    system.serviceModel >

    links >

    wsHttpBinding >

    "' binding name ="WSHttpBinding_IFlashingService"closeTimeout ="00:01:00 "openTimeout =" 00:01:00 "receiveTimeout =" 00:10:00 "sendTimeout =" 00:01:00 "BypassProxyOnLocal for ="false"transactionFlow ="false"hostNameComparisonMode = maxBufferPoolSize"StrongWildcard"="524288"maxReceivedMessageSize = messageEncoding"100000000"="Text"textEncoding ="utf-8"useDefaultWebProxy ="true"allowCookies ="false">

    readerQuotas maxDepth = "32" maxStringContentLength = "8192" maxArrayLength = maxBytesPerRead "100000000" = "4096" maxNameTableCharCount = "16384" / >

    reliableSession ordered = "true" inactivityTimeout = "00:10:00 am" enabled = "false" / > "

    security mode = 'Transport' >

    transport clientCredentialType = "None" proxyCredentialType = "None" realm ="" / >

    message clientCredentialType = "Windows" negotiateServiceCredential = "true" establishSecurityContext = "true" / >

    Security >

    link >

    wsHttpBinding >

    links >

    client >

    endpoint address =https://ed.FlashingStore.com/FlashingService.svc binding = "wsHttpBinding" bindingConfiguration = "WSHttpBinding_IFlashingService" contract = "FlashingService.IFlashingService" name = "WSHttpBinding_IFlashingService" > "

    identity >

    DNS value = "localhost" / >

    identity >

    endpoint >

    client >

    system.serviceModel >

    Configuration >

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums.

    Please ask your question in the following forum.

    Windows Communication Foundation (WCF) Forum:

    http://social.msdn.Microsoft.com/forums/en-us/WCF/threads

    Concerning

  • JAX - RS Web service-deployment problem

    I am creating a restful Web service in Eclipse EPCO + Weblogic 10.3.6. When you use 'com.sun.jersey.spi.container.servlet.ServletContainer', I have no problem in the deployment and execution of the service. (kept in pots of Jersey in the lib to the application directory).

    but when you use 'weblogic.jaxrs.server.portable.servlet.ServletContainer', ranks not found exception during deployment. Can someone tell me what jar has this class that must be available on the classpath?

    FYI: I chose weblogic system libraries in the way of the construction and the facet of the JAX - RS project is selected.

    Thank you
    A

    This class is only available from WLS 12.1.1.0 "weblogic.jaxrs.server.portable.servlet.ServletContainer" Please check below for weblogic 12 c documentation that supports the two classes
    weblogic.jaxrs.server.portable.servlet.ServletContainer
    com.sun.jersey.spi.container.servlet.ServletContainer
    http://docs.Oracle.com/CD/E24329_01/Web.1211/e24983/configure.htm#RESTF179

    10.3.6 only "com.sun.jersey.spi.container.servlet.ServletContainer" is available.
    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13734/rest.htm#WSADV572

    Kind regards
    Sunil P

  • How to create the channel listens for XML/web services line

    Hi, I'm new to B2B 11 g, would ask tht,.

    I followed the tutorial of B2B using generic file and it works fine. However,.
    If I want to receive the trading partner thought web XML server, how can I configure the channel look, what protocol to use.


    And can any1 kindly refer me to any link or info?

    Thank you.

    However... If remote partner is going to send me thought web services and no thought record, should I do something on my B2B? has I need specific, any channel listen extra?

    N ° no additional configuration is required to receive files via HTTP. Just ask your TP to post files on one of the below URL.

    http://hostname:soa_server_port/b2b/httpReceiver or http://hostname:soa_server_port/b2b/transportServlet

    If you just want to test your B2B, if it is correctly configured best way is to have another facility of B2B (may be a new domain) who will laugh at your configuration TP. This configuration of B2B send message to your B2B on HTTP (on one of the above URL) and see if gets treated with success.

    If you just want to test if your B2B is ready to accept messages over HTTP, then go to the URL above browser and make sure that you see below message-

    "B2B Server is ready to accept messages HTTP from the trading partner.

    Kind regards
    Anuj

  • Web service invocation problem

    Hello
    I have a problem when the .net web service consumption. This web service expects xmlobject that I create using < cfxml > tags. I used < cfinvoke > and CreateObject without success.
    First of all, I am getting following error message: java.lang.IllegalArgumentException: argument type mismatch
    When I update several times (15 or almost) I get following error message: java.lang.IllegalArgumentException: java.lang.ClassCastException@1645559. I don't know where is the problem.

    Thank you
    Mark

    Just realized we have been stolen around for nothing. There is still no universal standard for the passage of XML as arguments to the Web service methods. ColdFusion has its own, as do .NET and Java.

    The single currency among all web services is SOAP. Therefore, a universal way to pass XML from any client to a web service on any platform, is like a SOAP document.

    In your case, you want to make a SOAP document that includes your XML file. You could then move it to the web service using . I googled and found an fully developed for example in houseOfFusion.

  • Web Services activity problem insert with a link to the child records contacts

    Hi - I am using WS 2.0 to insert a new activity and bind it to a list of contacts. I converted this to 1.0 of WS. It works fine without contact, the linking of code but fails with the following message when linking to contact records...

    Update operation on the 'Activity' integration component failed because no record corresponding in the 'Action' business with the specification of the research component "[Description] = 'Test2' ' could be found." (SBL-EAI-04403)

    Here is a simplified version of the code in question...

    activity2. Law on activity is new activity2. Activity();
    Act. URL = cs.crmSessionUrl;
    activity2. Entry ActivityInsert_Input = new activity2. ActivityInsert_Input();
    entry. ListOfActivity is new activity2. ListOfActivityData();
    entry. ListOfActivity.Activity is new activity2. ActivityData [1];
    entry. ListOfActivity.Activity [0] = new activity2. ActivityData();
    entry. ListOfActivity.Activity [0]. Object = "Test2."
    entry. ListOfActivity.Activity [0]. Activity = "Task";
    entry. ListOfActivity.Activity [0]. Status = "done";
    entry. ListOfActivity.Activity [0]. Type = "Email";
    entry. ListOfActivity.Activity [0]. DueDate = DateTime.Parse (DateTime.Now.ToString ("dd/mm/yyyy hh: mm; :")) "))
    entry. ListOfActivity.Activity [0]. AccountId = "AEGA-BGV8Z9";
    entry. ListOfActivity.Activity [0]. ListOfContact is new activity2. ListOfContactData();
    entry. ListOfActivity.Activity [0]. ListOfContact.Contact is new activity2. ContactData [1];
    entry. ListOfActivity.Activity [0]. ListOfContact.Contact [0] = new activity2. ContactData();
    entry. ListOfActivity.Activity [0]. ListOfContact.Contact [0]. ID = "AEGA-CCMEWM";
    activity2. ActivityInsert_Output output is law. ActivityInsert (input);

    Any suggestion would be great!

    Try using run instead.


    xmlns:ns = "" urn: crmondemand/ws/ECB/activity/10/2004 ""
    container = "http://www.w3.org/2001/XMLSchema".
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xmlns:WSSE = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd".
    xmlns = "" urn: / crmondemand/xml/activity/Data ">"



    yourusername
    yourPassword







    Test7
    ALA-5KC0OV
    E-mail
    Completed
    Task


    AALA - 5851K 0











    2012-06-07 T 01: 00:09Z
    2012-06-07 T 01: 00:09Z
    ALA-583LBZ
    ALA-583LBZ
    1
    ALA-5TG95O
    Services Web administrator, 06/06/2012 18:00:09
    Services Web administrator, 06/06/2012 18:00:09


    2012 03-19 T 20: 19:55Z
    2012 03-05 T 21: 43:14Z
    ALA-583LBZ
    ALA-583LBZ
    79
    AALA - 5851K 0
    Web Services Administrator, 05/03/2012-13:43:14
    Web Services Administrator, 05/03/2012-13:43:14






  • hidden field fill with xml - Web service call

    Hello world

    I developed a web service, my web service method expects an xml string.

    I have a new data connection, which is my wsdl file...

    Now, my challenge is how to fill in this field with the xml of my form, so that my my method can manupulate it.

    Secondly, the same button that calls my web service for the e-mail form once the web service has been called, send the form in PDF format.

    You'll really appreciate your help.

    ACE

    You can use the command to populate a field with the XML of the form below.

    FieldName.rawValue = xfa.data.saveXML ("pretty");

    To run the Web service and then send an email

    1. first place binding the Web service Execute button and make it invisible / hidden

    2. place a normal button on the form and in the writing code click event to call the Web service and then send the e-mail.

    Call the click event of the button webservice

    WebserviceExecuteButton.execEvent ("click");

    Send an email

    event.target.submitForm ({cURL: "mailto:" + strToAddress + "?"}) subject = "+ strSubject +"& body ="+ strMessage, cSubmitAs:"PDF", cCharset:" utf - 8 "});"

    Replace the names with your form variables in the above line.

    Thank you

    Srini

  • How send to an XML web service?

    I am brand new to Flex. I am writing a program that uses web services to send and receive data. I got so that he can receive the XML of the web service. However, I also need to send it, and I'm stuck.

    I tried the following code:

    < mx:WebService id = "MyService".
    "WSDL =" http://localhost/FlexTest/service1.asmx?WSDL "
    useProxy = "false".
    result = "resultHandler (Event)" >

    <!-Entry: XML Document... Output: String->
    < mx:operation name = "HelloPersonAcceptsXmlDocumentReturnsString" >
    < mx:request >
    < personXmlDoc > xmlPerson < / personXmlDoc >
    < / mx:request >
    < / mx:operation >

    <!-Entry: XML node... Output: String->
    < mx:operation name = "HelloPersonAcceptsXmlNodeReturnsString" >
    < mx:request >
    < personXmlNode >
    xmlPerson.Person
    < / personXmlNode >
    < / mx:request >
    < / mx:operation >

    <!-Entry: String (XML Format)... Output: String->
    < mx:operation name = "HelloPersonAcceptsXmlStringReturnsString" >
    < mx:request format = "xml" >
    "< personXmlString > < p1:Person xmlns:p1 =" http://impact-tech.com/schemas/FlexTest "> < p1:ID > f1bd45fc - 544 b-489 d-83cf-349d1f9740ec < / p1: I D > < p1:FirstName > Joe < / p1:FirstName > < p1:MiddleName > c. < / p1:MiddleName > < p1:LastName > kick < / p1:L astName > < p1:BirthDate > 2006-09-11 T 14: 03:04.4755443 - 04:00 < / p1:BirthDate > < p1:IsMarried > < /p1:IsMarried > false < p1" : NumChildren > 0 < / p1:NumChildren > < p1:NetWorth > 100000 < / p1: NetWorth > < / p1: Pers on > < / personXmlString >
    <!-{xmlPerson.toXmlString ()} < personXmlString > < / personXmlString >->
    <!-{txInput.text} < personXmlString > < / personXmlString >->
    < / mx:request >
    < / mx:operation >

    < / mx:WebService >

    In the first operation, 'HelloPersonAcceptsXmlDocumentReturnsString', I try to send an XML object. During the second operation, 'HelloPersonAcceptsXmlNodeReturnsString', I try to send the root node, xmlPerson.Person. In both cases, what is actually sent is literally the text that I put in the node < application >, not the object the text refers. For the first, "xmlPerson" then gets sent to the target, not the XML doc what it refers to.

    In the third operation, I tried three different things, and two are commented. I tried to refer to the XML object using the toXmlString() method, but again, it has literally sent the text "xmlPerson.toXmlString ()". I tried the brace link, but then nothing is sent to the web service. I also tried to build the XML node and with values, but I get an error from the web service saying that it cannot be analyzed because there is an illegal line 1, position 1 character. The only thing that worked was to add a text entry box, copy - paste the exact same structure XML that I tried to build manually and then use binding to the text property of the control InputText. Then it works fine. But I can't actually do, it's just to test.

    So my question is how a < application > node that is part of the web service operation that makes reference to an object and sends the value of this object to the web service, not literally all text is typed into this node. I looked at Web Services and sections of the help data binding and did not see examples on this. Everything was much more simplistic with binding to controls. Can someone help a newbie, please?

    I do not understand how this isn't a matter of Flex Builder, since it has to do with how Flex Builder interacts with web services and how objects are used in the binding in MXML.

    But anyway, I got this code for future reference of someone else to research work in this forum:

    Declare a custom in MXML class has been the key to allow the correct link:


    "WSDL =" http://66.129.123.211/FlexTest/service1.asmx?WSDL "
    useProxy = "false".
    result = "resultHandler (Event)" > "




    {testPerson.GetXmlDoc ()}

  • File - XML - Web services

    Hello
    Can I get an answer on this issue please?
    If we use ODI to interact with an external web service, the web must
    service (in XML) response to be written in a file on the disk? Is it possible
    to receive the XML response and treat it without it first being
    written to disk?

    Hi Brian,.

    You must write the XML response to a file and then process using an interface.

    -Julien

  • Hyperion shared services configuration problem. 11.1.2.2

    Installation EPM system on my laptop.

    ORACLE XE is already installed.

    When you set up for the first time... I'm giving a user id, that I created like ss on oraclexe.
    port 1521
    ServiceName XE
    ss username (I created)

    I just do it? .... Configuration of output saying "a serious error".

    Win XP has not been certified as a server operating system.

    Please visit: http://www.oracle.com/technetwork/middleware/bi-foundation/oracle-hyperion-epm-system-certific-131801.xls

    HTH-
    Jasmine.

  • 7520 photosmart all-in-One: sudden problem connecting to web services

    I used my HP Photosmart 7520 years without problem scanning to e-mail. Now I get "Unable to connect to Web Services" error message. I also have a server connection error appear together try to print selections on the screen of the printer - such as the activities of crossword puzzles, sudoku and children.  How can I fix it.

    Hello

    From the Configuration menu, select Web Services Configuration.

    Select Delete Web Services and confirm any command prompt.

    Now re - open the Apps option and follow the steps to reactivate Web Services.

    Once you're done open the scanning to Email application and follow the steps to reactivate Web Services.

    Provide your own e-mail address, and then type the PIN Code received in your email address and try scanning.

    Kind regards

    Shlomi

  • Compression SSL Web service problem

    I'm trying to consume a .NET web service in ColdFusion via SSL, and I have serious problems. I know that the URL is correct, because I can navigate through the WSDL file using my browser. Errors and my research, it seems that the problem might involve http compression on the server hosting the web service. I saw a few alternatives for CFHTTP using custom HTTP headers, but I wasn't able to find a way to get something to work with a web service call. Any ideas? ColdFusion only incompatible with webservices using HTTP compression?

    Here is the summary of the problems:

    (1) I can't save the WebService in CF administrator - when I try, I get the error:
    Service web creation by mistake. Please ensure that you have entered a Web Service name or the correct URL.

    (2) when I try to consume the web service in the CF, I get the following error:
    Could not generate objects stub for the call to the web service.
    Name: https://www.travelinsured.com/TIWebServiceQA/service.asmx?wsdl. WSDL: https://www.travelinsured.com/TIWebServiceQA/service.asmx?wsdl. java.util.zip.ZipException: unknown compression method It is recommended that you use a web browser to retrieve and examine the requested WSDL document of accuracy. If the WSDL document you requested cannot be found or it is generated dynamically, it is likely that the web service target has programming errors.

    (3) just to be sure, I recorded the last certificate for the secure site, I am trying to access it in the Keystore of Java from ColdFusion.

    I saw similar topics in the forum before involving web services and SSL, but nothing about HTTP compression. Anyone had this problem before? All the patches?

    Thank you!

    A useful poster on the forums of the House of Fusion showed me a work around:

    Apparently, ColdFusion uses only the WSDL to create objects to sub for the web service call, so as long as there is a service port address specified in the WSDL file it does not matter where to seat the actual WSDL file. So I just download the WSDL using CFHTTP (had to use this article to configure CFHTTP to the HTTP Compression: http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729) and then I reported my administrator SEE the WSDL on my local machine. And Presto - I can connect to the web service without problem now.

    Only problem is that I have to download the WSDL, whenever there is a change to the Web service, but I can schedule a task that downloads the file once a week or more.

  • from xml to a web service

    Hi all

    I'm trying to capture some xml that is passed to a web service that I've created. I put the argument of a type XML. When I go back to the argument, the contents of the returned file seems to approximate the XML passed to the web service. However, I can't access XML from webservice.

    I tried to do a cfdump to a file inside of the XML web service and all I get are all statements of java object, no XML. I try to call the java object functions and I get nothing. I tried access to content the XML elements using the ColdFusion syntax, and it said that items doen't exist.

    If someone has an idea, it would be appreciated.

    Thank you
    Jim

    OK, thank you Adam for wasting your time to help me. Yes, it worked. I don't have any ZIP code because everything I had, it was like four lines, I tried to publish a webservice for ColdFusion, another is the part of your. So, this is all it is:





    The problem was that the discharge was the definition of the java object, not the XML. I didn't know how to access the XML component, or if he existed, that makes the xmlsearch. Also, any namespace prefixes are changed when the XML arrives, so if you have a tag like , when it comes into service web CF it is changed to .

    If the combination of these two throw me off the coast.

    Thanks for the help,
    Jim

  • "Problem connecting to the Server Web Services." - HP Envy 100

    Hello world

    I wonder if anyone has the same problem as me. I just got a HP Envy 100 and went through the process of setting up without problem. The printer is connected via Wi - Fi for wireless network, I can ping the printer from my Mac successfully and I can print within the network without problem.

    However, regarding ePrint and Web features, it seems that nothing really works. I can't even turn on Web services, I always get the message "problem connecting to the Web Services server.

    I tried the following:

    -Restart the router and printer

    -Change the manual IP address and manually set the DNS server

    -Reapply automatic IP and set the Google DNS (8.8.8.8 and 8.8.4.4) servers

    .. .with no chance whatsoever. If this is a problem with the firmware (from what I understood, I do not have the latest firmware, but I can't ask her update, because it requires, you guessed it, a connection on the server of web services, that is the whole of the problem.)

    Anyone else having the problem? Everyone had it and fixed it? Is this just a temporary problem with HP servers?

    Thanks in advance!

    Hey, for me it works as well, and I didn't, just retried that I had tried before and it connected to the Web Services without problem.

    So I think it's safe to say that the original problem in this topic only lied to a HP Server-side problem. Not cool it took so long for them to solve and in particular the fact that we did not really have feedback appropriate about the problem.

    Anyway, I solved (for now, at least).

Maybe you are looking for

  • Webmail not working do not since upgrading to 18.0

    Since upgrading to Firefox 18.0, I am not able to transfer my Verizon email web client mail. I get a message saying "this message may have been deleted or moved to another folder. Initially, it started when I updated Firefox on a MacBook Pro running

  • HP OfficeJet Pro 8500 a: unusual printing problem

    When I click on the "print" button I get the following message: -. Word cannot communicate with the printer There are several possible reasons: There may not be enough memory available. Try closing files and programs you don't use.Your printer or dri

  • Incorrect video memory is displayed after the installation of Windows XP Home on Satellite A205

    I bought by Satellite A-205-S4577 with Vista, but it is not working properly, so I installed XP SP2 and now in "graphics properties" 'information' is written that video memory is 8 MB to 32 MB. If memory should me shared 8-244. What's wrong? I instal

  • Response parameters

    I can receive e-mail messages in Windows Mail, but I can't answer for them.  What are the settings I need to change and where? Thank you! Ken

  • window of the unidad dvd y cd 8 no reconoce neither wind nor graba

    The unidad DVD y CD funcionar dejo of repent, mi ordenador not the reconoce in las propiedades me no dice as the unidad works correctamente, pero no're cierto. He followed las instrucciones para los altos filters eliminate y bajos pero cuando llegó a