Processing web service information before displaying

I facing challenges to display my external web services information properly.
For example, this web service
http://www.webservicex.com/globalweather.asmx/GetCitiesByCountry?CountryName=Singapore
It returns a string value in JDeveloper
<NewDataSet>
<Table>
<Country>Singapore</Country>
<City>Singapore / Paya Lebar</City>
</Table>
<Table>
<Country>Singapore</Country>
<City>Singapore / Changi Airport</City>
</Table>
</NewDataSet>
It displays the whole thing on the screen. There is no way I can change the server side. I can only fix the client side(ADF Mobile) to fit to the server output. I tried creating URL Service Data Control but no success because the schema cannot validate and crashed when deployed. I have to write a part of Java code to process the information. What do I need to do inside task flow? How do I create a flow like this? How do I hide the processing part aside putting inside view?
User input(View) -> Call webservice -> Process webservice output(Java) -> Proper output(View)
My JDeveloper version is 11.1.2.3.39.62.76.1
Sorry I did not see the announcement
Edited by: NickTeh on Dec 26, 2012 10:50 PM

Hi,
Just tried with the below xsd and able to generate the DC successfully.
<?xml version="1.0" encoding="windows-1252" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.webserviceX.NET"
            targetNamespace="http://www.webserviceX.NET" elementFormDefault="qualified">
  <xsd:element name="string" xmlns="http://www.webserviceX.NET">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="NewDataSet">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="Table" maxOccurs="unbounded" minOccurs="0">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element type="xsd:string" name="Country"/>
                    <xsd:element type="xsd:string" name="City"/>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
</xsd:element>
</xsd:schema>-Arun

Similar Messages

  • Process web service output

    I'm new to ADF Mobile so I want to ask is it possible to process a web service output before being displayed at view? I want to pass the web service through a method call activity before passing forward to a view.

    Hi,
    you can configure a PageDef file for a method activity and then invoke the WebService. However, the returned data will not persist until you get to the view. So either you need to query the WS result and save it in a Java bean for access on the view you navigate to or have the WS executed when the view loads.
    Frank

  • HP LaserJet Professional P1102w won't print Web Services Information Sheet

    Hi there.
    I've spent the last frustrating three hours trying to get the Web Services Information sheet to print on this printer. I need this sheet in order to register for ePrint.
    I connect fine wirelessly on my computer to the printer. I have updated the firmware. Twice, to be sure.
    I have gone to HP Web Services and clicked Enable
    The message I then get is:
    "A Web Services information sheet will be printed. Review the sheet for important information."
    However, nothing prints.
    I have tried this process with the computer connected wirelessly through my network. I have tried it with the computer connected to the printer via USB. I have printed other things on the computer this way.
    I have tried rebooting the network and the printer and then reconnecting
    I have tried these steps:
    http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile-Printing-and-ePrintCenter/eprint-printer-code-...
    (I changed the preferred DNS from 10.0.1.11 and the alternate DNS from 8.8.4.4. to the values suggested)
    Afterwards, there was no change. My printer continued to print in every way possible. However, it will not print the Web Services Information Sheet.
    I'm very keen on getting my hands on this email so that I can register for ePrint. Can anybody help me? I would be hugely grateful.

    Sorry to hear you were unable to setup the wireless again on the p1102w.
    I have provided some steps in resetting up the p1102w on wireless network if you decide
    to do it again in the future.
    Reset the printer back to factory settings.
    (turn printer off then hold down the x and the wireless button while turning on the printer until the lights start blinking then release the buttons.
    Disconnect the usb cable from the printer.
    Disconnect the routers power cable for 10 seconds and then reconnect it again.
    Uninstall the p1102w from the computer.
    (open cd  and select uninstall or go to uninstall a program from the control panel.)
    Run the cd again or download depending what operating system you are running.
    Connect the usb cable when prompted to setup the wireless again.
    Enter passwords for the network when prompted.
    Disconnect the usb cable when prompted.
    Should be able to print out the test page now.
    Then you should be able to get the web services information sheet to print but will need to print out a self test on the printer to get the new ip address for the printer.
    If further issues you can contact HP technical support at 1-800-474-6836.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • URL for WSDL only shows web service information page

    Using tomcat6 and jwsdp 2.0.
    After requesting the WSDL, I instead get the Web Service information page which shows this in a table form:
    Web Services,
    Port Name, Status, Information
    etc.
    Why doesn't it give me back the WSDL instead?

    The information page must contain end point wise information displayed.
    Each end point information contains web service address, WSDL address(you are looking for this I hope), Implementation class etc.
    Also, try giving *?wsdl* parameter at the end of your web service address, it must lead you to the WSDL file of the web service.
    -typurohit (Tejas Purohit)

  • Web Services validation before provisioning request completes...

    Hi All,
    We are working on Web Services validation before provisioning request completes to see if there are duplicated in target database. Is this possible?
    We want to check in target database for value if exists prior to provisioning the request and fail the provisioning process if the value is duplicate.
    For Eg:
    Input with ApplnID:5221 while provisioning and check in target database if ApplnID:5221 exists and then to continue provision.
    This is similar to what we are executing in our development environment.
    Can you please suggest any idea if you have worked on this earlier
    Thanks,
    Subbu

    xmllint is correct. Here's what the 1.1.3 XSD says (I put in the leading periods to fool the discussion board into preserving structure ):
    . <xsd:element name="ITunesUDocument">
    . . <xsd:complexType>
    . . . <xsd:sequence>
    . . . . <xsd:element ref="Version" minOccurs="1" maxOccurs="1"/>
    . . . . <xsd:element ref="AddCourse" minOccurs="0"/>
    . . . </xsd:sequence>
    . . </xsd:complexType>
    . </xsd:element>
    If "minOccurs" or "maxOccurs" aren't specified in sequence elements, then they both default to "1". So the "minOccurs" and "maxOccurs" specifiers are redundant in the "Version" element specification…they'd be "1" anyway. Setting "minOccurs" to "0" means that you can omit the element in XML…but unless "maxOccurs" is set, than the most any element can appear in the sequence is once to be valid. "unbounded" can be used in "maxOccurs" to set no limit on the number of times it can appear in the sequence.
    Recall that XML doesn't necessarily have to validate to "work". An XML validation is a contract between us and Apple…Apple promises that we can put at least one "AddCourse" in an "ITunesUDocument" and that is going to work, or our money back. But if we don't submit valid XML, it might still work…but there is no promise there either. It might work today, it might fail tomorrow. The iTunes U people have said, in various venues, that we should expect Apple to validate our XML…but nobody's perfect. It could be that Apple just missed this one…but we should still write code under the assumption that the XSD is being correctly applied and that our XML is being validated on Apple's end. That way, our code can never be "wrong".

  • Errors when processing web service call

    Hello Experts,
    Based on a requirement, I got a URL based on WSDL, using which I created a Consumer Proxy in SAP.
    I created a Logical Port in SOA Manager with type selected as 'WSDL'.
    When I'm trying to execute the proxy class to call the webservice using the logical port through SE80  it is throwing an error log as stated below.
    1) SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    2)Error when processing Web service call
    3)Error when calling SOAP Runtime functions: Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    Kindly help me out.
    Thanks,
    Vamshi

    Hi,
    Check Anton's reply in this thread: External WS Consumption Issue
    Also refer the below doc which may help you: Consume an External Web Service in a Nutshell with Good Old ABAP
    Calling WebServices from ABAP via HTTPS
    Regards,
    Kiran

  • Delayed response while calling the process web service

    I have four managed servers in a cluster and the ip addresses are
    managed_server_1 -20.20.40.21
    managed_server_2 -20.20.40.22
    managed_server_3 -140.20.40.23
    managed_server_4 -140.20.40.24
    The admin server is on 20.20.40.21
    I start the managed server from command prompt using the commant
    ./startManagedWeblogic {name of the managed server} {admin console url} ie
    i start managed_server_1 from 20.20.40.21 unix box by going to {weblogic installation}\bin
    and running the following command (we have some issues with the node manager so have been using this
    method)
    ./startManagedWeblogic managed_server_1 http://20.20.40.21:17003
    similarly i start the other servers from their respestive unix boxes
    managed_server_2 from the 20.20.40.22 unix box using the command ./startManagedWeblogic managed_server_2 http://20.20.40.21:17003
    managed_server_3 from the 140.20.40.23 unix box using the command ./startManagedWeblogic managed_server_3 http://20.20.40.21:17003
    managed_server_4 from the 140.20.40.24 unix box using the command ./startManagedWeblogic managed_server_4 http://20.20.40.21:17003
    all these servers are in the cluster named BPM_cluster and the bpmengine is deployed onto this cluster
    when i deploy the application to the bpmengine it gets properly deployed onto the servers
    and i could see the process web services getting generated
    but when i try to call these webservices for each managed server seperately
    the response from managed_server_1 and managed_server_2 takes leass tha 2 secs
    but the response from managed_server_3 and managed_server_4 takes about 25 secs
    I am not able to figure out why us taking so long from the managed servers 3 and 4
    the bpmengine ds and directory ds have the cluster as targets (I also tried to point to all the servers in the cluster even that
    didnot work). I feel that there is db connectivity issue from the servers but i am not sure how to check that.
    Can anyone help me with this ?
    Thanks

    Please make sure that your solman box meet the software prerequisit as per this note below
    1483508 : Solution Manager 7.1: Root Cause Analysis pre-requisites
    This will solve that ptoblem .
    Best Regards
    Jai Wardhan

  • Process Web Service - XML Schema

    Hi
    I'm new to ALBPM and currently trying to learn about exposing a Process as a WebService. Specifically is it possible to use a XML Schema defined in the Catalog as an argument to the process Web Service? I've tried this and found the generated WSDL didn't include the Schema in the operation. This was using the Process Web Service menu item.
    The Fast Trak codes sample passes in XML as a String and parses it back into an XMLObject in Pbl. Is this the best practice way to do it?
    // Convert XML String to XML Object
    load orderXML
    using xmlText = orderRequest
    Is there a sample project on dev2dev that shows an alternative approach using a Schema?
    thanks
    Ben

    I'm new to web services, but we are currently
    implementing a number of Web Services that all take
    as arguments a single parameter which is an XMLBean,
    which has been generated by a XML Schema.
    What I find surprising is that when I submit a SOAP
    message to the Web Service (through the http Web
    Service Tester inside eclipse), I can send any valid
    XML without getting a SOAP fault. Is there a way on
    the Web Service that I want the XML submitted to be
    validated against the XML Schema for that parameter?
    Bit surprised I have to implement my own input
    argument validation, and there doesn't appear to be a
    standard way to do this. I must be missing soemthing
    surely? Why else would the Schema be in the WSDL?
    Cheers
    JohnHas anyone found an answer to this, we have the same issue?

  • Process Web Services and BPM Objects

    Hi,
    I try to expose a web service for a specific process (not PAPI-WS) for process creation. Works well but only if I use only simple types like String, etc. as input arguments. But when I try to use an BPM object, I get an error like 'Undefined variable 'arg1''.
    So, is it not possible to use such a process web service using BPM objects as arguments?
    Regards
    Matthias

    Yes it's true but Netbeans uses one of the existing SOAP implementations to do it. I'm almost sure that it uses one of the most popular implementations JAX-WS RI or Axis by default.
    Regards,
    S&#322;awomir Wojtasiak

  • Calling Process Web Service from another BPM project

    Hi all,
    Scenario: I need to launch an instance of a process in another project, running on another engine.
    I figured a Process Web Service was the way to go and I am trying to invoke my Process Web Service method that creates a process. I have tried with and without passing the username token (checkbox in the Process Web Service) to no avail.
    Does anyone have some sample code to do this ?
    cheers
    Tony
    10gr3

    Hi Matias,
    Yeah, thanks. I am testing on Studio and Enterprise (Standalone). I kinda assumed that if username token is required that the wrappers to consume the PWS would take care of that but I guess not ?
    I am having problems with "None" now, on enterprise (see below). I think it is one of those when you get so into the problem you dig a big hole and cant see any way out !
    Gonna switch to using Papi to launch the instances I think :-(
    cheers
    Tony
    HTTP/1.0 500 INTERNAL SERVER ERROR
    Connection: close
    Content-Type: text/xml;charset=utf-8
    Content-length: 1915
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:MustUnderstand</faultcode>
    <faultstring>Did not understand &quot;MustUnderstand&quot; header(s):</faultstring>
    <detail>
    <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
         at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:359)
         at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:123)
         at fuego.webservices.HttpSoapListener.process(HttpSoapListener.java:206)
         at fuego.http.HttpExecution$1.run(HttpExecution.java:71)
         at fuego.component.Message.process(Message.java:576)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.http.HttpExecution$HttpPrincipal.processBatch(HttpExecution.java:190)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    </ns1:stackTrace>
    <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">myhostname</ns2:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    after submitting:
    Host: myhostname:9001
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: "http://bea.com/albpm/GSR_INCR/INCRGNSAutomatic#startSession"
    Content-Length: 847
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
    <wsse:UsernameToken><wsse:Username>anonymous</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">anonymous</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header>
    <soapenv:Body>
    <startSession xmlns="http://bea.com/albpm/GSR_INCR/INCRGNSAutomatic">
    <password xmlns="">password</password>
    <user xmlns="">user</user>
    </startSession>
    </soapenv:Body>
    </soapenv:Envelope>

  • Synchronous call to process web service

    Hi All,
    Right now in my project I have exposed some process web services to be used by front end. But these process web service are asynchronous and does not return any output unless its an exception. Is there any other approach where front end system can contact OBPM and get response as well stating whether operation has been successfull or not. I am using OBPM 10gR3.
    Thanks and Regards,
    Yasmin.

    Hello Yasmin:
    Take a look to this thread. Maybe it can be helpfull.
    how to create a process through API in BPM 11g
    I hope you find what you are looking for.
    isabelbernely

  • Printing web service information sheet

    how do I print web Service Information sheet on my photosmart 5510

    Hello michugo1,
    On the front panel of the printer:
    Press the ePrint button.
    Press the "Print Info" option to print the ePrint information sheet.
    If Web Services have not been enabled, after selecting the ePrint button, prompts will take you through enabling the Web Services.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Where do I find my web service information sheet for hp deskjet 3510?

    Where do I find my web service information sheet for hp deskjet 3510?

    Hi,
    Please use the following instructions:
    Option one: If you see an ePrint buttonOn the printer control panel, press the ePrint ( ) button to open the Web Services menu.
    If Web Services is enabled , touch Print Info . An information sheet prints that has your claim code.
    If Web Services is not enabled , touch OK to accept the terms of service, and then touch OK to accept the update. An information sheet prints that has your claim code.
    Option two: If you see a Setup iconOn the printer control panel, touch Setup ( ), and then touch Web Services Settings .
    If Web Services is enabled , touch Print Info . An information sheet prints that has your claim code.
    If Web Services is not enabled , touch Continue , touch Yes to accept the terms of service, touch Yes to accept the update, and then touch Print Info . An information sheet prints that has your claim code.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Unable to Print a Web Services Information Sheet to Obtain a Claim Code

    I'm trying to add a HP LaserJet Pro 200 color MFP m276nw as an ePrint device.  I've successfully updated the printer firmware.  When I enable the web services the Print Information Sheet button appears, but nothing prints when I click it and I'm unable to obtain a claim code.
    I'm stuck.  I'm not sure where to go from here...
    This question was solved.
    View Solution.

    If you have successfully enable web services, you have a couple of options:
    1. use your IP address, input it into your web browser and browse to the embedded web page. Go to the web services tab and find the email address assigned to your printer. It should be something like [email protected] The printer code will be everything before the @ sign.
    2. Go to your control panel. Click on the web services icon (icon on the far left). Click on display email addres. Printer code will be everything before the @ sign.
    3. Print a configuration page. Tools icon - reports - config page. In the right column, locate HP Web Service (bottom right) - printer email address - printer code will be everything before the @ sign.
    Use the xxxxxx before the @ sign for the printer code to register the printer at HP Connected.
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • Sub-Process Main Process Web-Service

    Hi,
    I have a main Process and a sub-process inside this main process.
    I have a Wait activity inside this sub-process, which waits for an external call from another system to call my Web-Service at this Wait activity. This Web-Service is built as Process As a Web-Service Call.
    But I fail to get any information back from this Wait Activity which keeps waiting for the call from the external system which calls my Web-Service at this Wait Activity.
    But the external system is calling my Web-Service and it gets a error notification from BPM..
    Why is that so?
    Is it because its a sub-process inside a main process or something else?

    Did you use PAPI code inside your web service or did u just use PAPI Web Services ( like did u just pressed the button Launch PAPI Web Services ) and it created the WSDL for you and u used it to create the client?
    I am using the latest version of OBPM..
    Oracle 10.3.10
    Can you let me know what do u mean by PAPI interface.. Is it the PAPI code of is the PAPI Web Service which is built by BPM automatically and could be used?
    Edited by: user8707382 on Sep 10, 2009 9:00 AM

Maybe you are looking for

  • Metadata Methodology in SRM 7.0

    Hello, I'm a new developer to SAP and even newer to SRM. I have a requirement to modify a dynpro to default some values and hide some other fields in the SC line item dynpro specifically /SAPSRM/WDC_DODC_SC_I_LIM. We've determined that Metadata Metho

  • Printing Report in Landscape

    Hi All,   In Crystal Report VS 2003 edition if you have developed an report in Landscape when you print from Crystal Report viewer via ASPX page it will print in landscape. But in Crystal Report VS 2008 edition it doesn't work even if the report is s

  • I updated cs6 camera raw and now can't see the camera metadata I used to see and cannot find it in photoshop itself.

    I updated cs6 camera raw and now can't see the camera metadata in raw that I used to and can't see it at all in photoshop.  can this be fixed?

  • Running with maps

    Are there any running apps that lets me use the watch GPS and offline maps? I don't want to carry my phone while running... Solved! Go to Solution.

  • /usr/bin/java Permission denied after installing JDK on linux

    Hi Guys, I installed jdk-6u1-linux-i586-rpm.bin and I am getting strange errors like this: 1 When I simply run "java" in shell I get this: /usr/bin/java: line 67: /tmp/javaf10273: Permission denied /usr/bin/java: line 67: /tmp/javaf10273: Success 2.