Invoking a jax-rpc based web service from a jsp

hello
i'm trying to invoke a WS from a jsp page, working on tomcat + jwsdp
the ws i'd created and deployed on the server is named TestCNRPS, it contains the method: int exist(int ..)
i wrote this jsp page for testing :
<%@ page contentType="text/html;charset=windows-1252" import="cnrps.*" %>
<HTML>
<HEAD>
<TITLE>Appel service Web</TITLE>
</HEAD>
<BODY>
<%
int num_cin=45475645;
TestCNRPSIF_Stub stub = (TestCNRPSIF_Stub)(new TestCNRPSService_Impl().getTestCNRPSIFPort());
stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,System.getProperty("endpoint"));
out.println(stub.exist(num_cin));
%>
</BODY>
</HTML>
but i received this exception:
java.rmi.RemoteException: Erreur de transport HTTP : java.lang.NullPointerException; nested exception is:
Erreur de transport HTTP : java.lang.NullPointerException
cnrps.TestCNRPSIF_Stub.exist(TestCNRPSIF_Stub.java:87)
org.apache.jsp.invoqueWS_jsp._jspService(invoqueWS_jsp.java:58)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:268)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:258)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:205)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Has someone an idea ??
thx
ps : i tested the WS from a client class and it worked fine

Hi Paul,
This sound familiar, but I cannot at the moment locate a reference to
the issue. I would encourage you to seek the help of our super support
team [1].
Regards,
Bruce
[1]
http://support.bea.com
[email protected]
Paul Merrigan wrote:
>
I'm trying to invoke a secure 8.1 web service from a 6.1 client application and keep getting rejected with the following message:
Security Violation: User: '<anonymous>' has insufficient permission to access EJB:
In the 6.1 client, I've established a WebServiceProxy and set the userName and password to the proper values, but I can't seem to get past the security.
If there something special I need to do on either the 8.1 securing side or on the 6.1 accessing side to make this work?
Any help would be GREATLY appreciated.

Similar Messages

  • JAX-RPC Java Web Services

    In the tutorial
    Access J2EE 1.4 JAX-RPC Java Web Services from Web Clients
    http://www.oracle.com/technology/products/jdev/101/howtos/jaxrpc/java14_ws_web_clients.html#creating_web_service
    A MyWebService1SEI.java interface is also required to be added to generate a JAX-RPC Web service.

    The MyWebService1SEI.java interface does not get generated as indicated in the tutorial.
    If the Web service is generated with
    File>New>Business Tier>Java Web Service with the
    Autogenerate Service Endpoint Interface checkbox selected,
    the MyWebService1SEI.java interface does not get generated.
    The Autogenerate Service Endpoint Interface feature does not autogenerate java interface.

  • Error while invoking a WS-Security secured web service from Oracle BPEL..

    Hi ,
    We are facing some error while invoking a WS-Security secured web service from our BPEL Process on the windows platform(SOA 10.1.3.3.0).
    For the BPEL process we are following the same steps as given in an AMIS blog : - [http://technology.amis.nl/blog/1607/how-to-call-a-ws-security-secured-web-service-from-oracle-bpel]
    but sttill,after deploying it and passing values in it,we are getting the following error on the console :-
    &ldquo;Header [http://schemas.xmlsoap.org/ws/2004/08/addressing:Action] for ultimate recipient is required but not present in the message&rdquo;
    Any pointers in this regard will be highly appreciated.
    Thanks,
    Saurabh

    Hi James,
    Thanks for the quick reply.
    We've tried to call that web service from an HTML designed in Visual Studios with the same username and password and its working fine.
    But on the BPEL console, we are getting the error as mentioned.
    Also if you can tell me how to set the user name and password in the header of the parter link.I could not find how to do it.
    Thanks,
    Saurabh

  • Problems invoking a secure 8.1 web service from a 6.1 client

    I'm trying to invoke a secure 8.1 web service from a 6.1 client application and keep getting rejected with the following message:
    Security Violation: User: '<anonymous>' has insufficient permission to access EJB:
    In the 6.1 client, I've established a WebServiceProxy and set the userName and password to the proper values, but I can't seem to get past the security.
    If there something special I need to do on either the 8.1 securing side or on the 6.1 accessing side to make this work?
    Any help would be GREATLY appreciated.

    Hi Paul,
    This sound familiar, but I cannot at the moment locate a reference to
    the issue. I would encourage you to seek the help of our super support
    team [1].
    Regards,
    Bruce
    [1]
    http://support.bea.com
    [email protected]
    Paul Merrigan wrote:
    >
    I'm trying to invoke a secure 8.1 web service from a 6.1 client application and keep getting rejected with the following message:
    Security Violation: User: '<anonymous>' has insufficient permission to access EJB:
    In the 6.1 client, I've established a WebServiceProxy and set the userName and password to the proper values, but I can't seem to get past the security.
    If there something special I need to do on either the 8.1 securing side or on the 6.1 accessing side to make this work?
    Any help would be GREATLY appreciated.

  • URGENT: Error while invoking soap-based web service from BPEL process

    I am trying to invoke a soap-based web service deployed in a different OC4J container but on the same iAS middle tier install as the BPEL server. The deployment is successful. I am running 10.1.2 BPEL server.
    But invoking a process throws the following error.
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>when invoking locally the endpoint 'http://stadd53.us.oracle.com:7779/idm/ProvService/cps', ; nested exception is: ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "ProvService" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</summary>
    </part>
    <part name="detail">
    <detail>ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "ProvService" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</detail>
    </part>
    </remoteFault>
    Any ideas on what the problem might be ?

    Sandor,
    Thanks. Your suggestion of turning off optSoapShortcut worked. So does that mean that by default remote web services cannot be invoked from BPEL process by SOAP - unless this configuration change is done ?

  • Can XI handle RPC based web services ?

    Is it possible with XI 3.0 to work with RPC based webservices rather than Document based services.
    If it can, can some one send me sample configuration for SOAP Receiver and SOAP Sender.
    I have successfully configured an  SOAP Receiver to access external web service on internet which is a document based but I am having difficulty in accessing rpc based webservice on intranet.
    We are on XI 3.0 SP 14. Appreciate your comments on this topic.
    Thanks
    Prasad

    Hi John!
    > Is using RPC style web services supported out of the
    > box within XI? I have read some forums that suggest
    > only document style are and would like a definitive
    > answer.
    I have opened an OSS message regarding this topic and I was told that RPC-style Web Services are not supported within the XI SOAP adapter. Our current workaround which adds the missing Web Service operation using an additional XSLT mapping is not sufficient. Instead we have to change our WSDL from RPC-style into document-literal style.
    Regards, Tanja

  • How to call an ABAP based web service from a web page (form)

    Hi,
    I am trying to figure out how I can call my own developed ABAP based web service. I was able to successfully test it in the WS navigator and am now wondering what I need to do to embed the service call in a plain simply web page (form). Basically I'd like to create a web form allowing to specify the parameters and with a 'Submit' button pass the parameters to the web service and launch it.
    Is this possible or do I need some kind of SDK to accomplish this?
    Thanks for any hints and tips.
    Wolfgang

    Hi,
    refer the following link and this is for cosuming the web service form Web dynpro Java
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46&overridelayout=true
    and please go throught the following link if you want to cosume it through web dynpro abap and find the answer given by the Moderator Thomas Jung
    regards
    Manohar

  • Publish a JAX-RPC Java Web Service - HELP

    Hi,
    I try to generate a JAX-RPC web services as described in the tutorial : http://www.oracle.com/technology/tech/webservices/htdocs/series/jaxrpc1/index.html. but when generating the web services I have an exception : an unexpected error was encountered. Generation aborted. and when I click details I have the following message :
    java.io.FileNotFoundException: C:\jdev10g\jdev\mywork\WS2-TestOracle\Project1\src\__temp_assembler\public_html\WEB-INF\wsdl\MyWebService3.wsdl (Le chemin d'accès spécifié est introuvable)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:106)
         at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:66)
         at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:481)
         at oracle.ide.net.URLFileSystemHelperDecorator.openInputStream(URLFileSystemHelperDecorator.java:242)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1028)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.populateWSDLWithEndpoint(JAXRPCGenerator.java:2153)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateServiceImpl(JAXRPCGenerator.java:896)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateService(JAXRPCGenerator.java:241)
         at oracle.jdeveloper.webservices.JAXRPCSvcModel.saveEdit(JAXRPCSvcModel.java:1613)
         at oracle.jdevimpl.webservices.wizard.WebServicePublishWizard.runWizard(WebServicePublishWizard.java:504)
         at oracle.jdevimpl.webservices.wizard.WebServicePublish.invoke(WebServicePublish.java:95)
         at oracle.ide.WizardManager.invokeWizard(WizardManager.java:484)
         at oracle.ide.WizardManager$1.run(WizardManager.java:538)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Can any one help,
    Thanks,

    The MyWebService1SEI.java interface does not get generated as indicated in the tutorial.
    If the Web service is generated with
    File>New>Business Tier>Java Web Service with the
    Autogenerate Service Endpoint Interface checkbox selected,
    the MyWebService1SEI.java interface does not get generated.
    The Autogenerate Service Endpoint Interface feature does not autogenerate java interface.

  • Error in PeopleTools 8.48 while calling CI based Web Services from BPEL

    Hi All,
    I am working with a CI based web serives and using the PeopleSoft generated wsdl file while calling from a BPEL process. When I am using the same component in PeopleTools 8.47, it's working fine. But the same is NOT working when I'm using PeopleTools 8.48 using the same BPEL server and program.
    Here is the error message :-
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: oracle_endpoint: oracle_endpoint.
    Please help if you know the answer.

    Hi,
    You need to download all the associated xml schemas from PeopleSoft portal and store them in the path where you are creating BPEL process, it's different from what we used to do in PeopleTools 8.47 ( there was only one wsdl file), whereas in PeopleTools 8.48 you need to copy all associated xml schemas.
    But I m not able to find out why the native JAVA error is thrown, do I need to provide some patches?

  • Unable to invoke WebLogic 8.1 sp2 web service from a java proxy client...

    I am not able to invoke a web service deployed on WebLogic 8.1 SP2 via a client using the proxy jar provided by WebLogic's JWS > Overview > Generate Java Proxy tool.
    I am getting a java.net.ConnectException.
    Both the client and the WebService are on the same server.
    Thanks!!
    Inder./

    Please see the instructions below. If this does not help, please open a case with customer support and tell them it may be related to CR235479
    DESCRIPTION:
    When a platform domain is created, the admin server can be started without
    any issues and a managed server can also be started without any errors if
    using startManagedWebLogic.sh. But when a managed server is started using the
    nodemanager, the managed server fails to start with the following error.
    The WebLogic Server did not start up properly.
    java.lang.NoClassDefFoundError: com/bea/wsrp/util/debug/Debug
    (Complete stack trace with be added as a note)
    The reason for this is that:
    startWebLogic.sh(cmd) and startManagedWebLogic.sh(cmd) for platform domains
    call <User domain>/setDomainEnv.sh which includes all the jars necessary for
    a platform domain in the CLASSPATH.
    Whereas startNodeManager.sh calls <WL_HOME>/common/bin/commEnv.sh, which is
    the same for both platform and server installations of weblogic and has only
    weblogic.jar in the CLASSPATH.
    Looking at historical cases, the steps to start NodeManager successfully in a
    platform domain are:
    1.
    a. Copy admin server classpath (from <user Domain>/startWebLogic.sh) to
    that of all managed servers in the 'Remote Start' tab of the WLS Console
    OR
    b. Copy admin server classpath to <WL_HOME>/server/bin/startNodeManager.sh
    (If the same nodemanager is used to manage server domain servers and platform
    domain servers, will there be any issue with this approach??)
    2. Copy the wsrpKeystore.jks file from your domain directory to the
    nodemanager directory (the parent of the directory where all the server
    directories are replicated in the node manager. By default: <WL
    HOME>/common/nodemanager)
    But these steps are not publicly documented in edocs.
    CONFIGURATION:
    Weblogic Platform Domain 8.1 (all service packs)
    WORKAROUND:
    Steps 1 and 2 above.

  • Another ESB issue in less than 24 hours!!!! (RPC based web service)

    Ok, now I'm a little upset :-(
    ESB does not support creating a SOAP service if the target service is RPC based and has its messages based on simple type.
    OK, but, BPEL DOES!!!!
    So, why ESB does not???
    Below my target WSDL, which works nicely on BPEL, but I'm not able to configure in ESB:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <!-- Created by TIBCO WSDL
    -->
    - <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.example.com/1182368010880/customerInputImpl/RetrieveServices" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns0="http://xmlns.POC.com/unique/default/namespace/customerInfo" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.example.com/1182368010880/customerInputImpl/RetrieveServices">
    - <wsdl:types>
    - <xs:schema xmlns="http://xmlns.POC.com/unique/default/namespace/customerInfo" targetNamespace="http://xmlns.POC.com/unique/default/namespace/customerInfo" elementFormDefault="qualified" attributeFormDefault="unqualified">
    - <xs:complexType name="customertype">
    - <xs:sequence>
    <xs:element name="SEQUENTIAL" type="xs:string" minOccurs="0" />
    <xs:element name="REFERENCE_TYPE" type="xs:string" minOccurs="0" />
    <xs:element name="ACTION" type="xs:string" minOccurs="0" />
    <xs:element name="COMPANY_CODE" type="xs:string" minOccurs="0" />
    <xs:element name="CUSTOMER_STATUS" type="xs:string" minOccurs="0" />
    <xs:element name="STATUS_ADDRESS" type="xs:string" minOccurs="0" />
    <xs:element name="CUSTOMER_TYPE" type="xs:string" minOccurs="0" />
    <xs:element name="LEGACY_CODE" type="xs:string" minOccurs="0" />
    <xs:element name="CUSTOMER_NAME" type="xs:string" minOccurs="0" />
    <xs:element name="CUSTOMER_NUMBER" type="xs:string" minOccurs="0" />
    <xs:element name="CUSTOMER_NAME_PHONETIC" type="xs:string" minOccurs="0" />
    <xs:element name="BRANCH" type="xs:string" minOccurs="0" />
    <xs:element name="VERIFIER_DIGIT" type="xs:string" minOccurs="0" />
    <xs:element name="STATE_REGISTRATION" type="xs:string" minOccurs="0" />
    <xs:element name="MUNICIPAL_REGISTRATION" type="xs:string" minOccurs="0" />
    <xs:element name="INDICATOR_CONTRIB_ICMS" type="xs:string" minOccurs="0" />
    <xs:element name="CUSTOMER_CATEGORY" type="xs:string" minOccurs="0" />
    <xs:element name="CUSTOMER_CLASS" type="xs:string" minOccurs="0" />
    <xs:element name="ADDRESS_TYPE" type="xs:string" minOccurs="0" />
    <xs:element name="ADDRESS1" type="xs:string" minOccurs="0" />
    <xs:element name="DISTRICT" type="xs:string" minOccurs="0" />
    <xs:element name="CITY" type="xs:string" minOccurs="0" />
    <xs:element name="STATE" type="xs:string" minOccurs="0" />
    <xs:element name="ADDRESS3" type="xs:string" minOccurs="0" />
    <xs:element name="POSTAL_CODE" type="xs:string" minOccurs="0" />
    <xs:element name="PHONE_COUNTRY_CODE" type="xs:string" minOccurs="0" />
    <xs:element name="TELEPHONE_AREA_CODE" type="xs:string" minOccurs="0" />
    <xs:element name="TELEPHONE_NUMBER" type="xs:string" minOccurs="0" />
    <xs:element name="TELEPHONE_TYPE" type="xs:string" minOccurs="0" />
    <xs:element name="TELEPHONE" type="xs:string" minOccurs="0" />
    <xs:element name="TELEX" type="xs:string" minOccurs="0" />
    <xs:element name="FAX" type="xs:string" minOccurs="0" />
    <xs:element name="CONTACT_LAST_NAME" type="xs:string" minOccurs="0" />
    <xs:element name="JOB" type="xs:string" minOccurs="0" />
    <xs:element name="TELEPHONE_EXTENSION" type="xs:string" minOccurs="0" />
    <xs:element name="CREATION_DATE" type="xs:string" minOccurs="0" />
    <xs:element name="LAST_UPDATE_DATE" type="xs:string" minOccurs="0" />
    <xs:element name="ERROR_MESSAGE" type="xs:string" minOccurs="0" />
    <xs:element name="GL_ID_REC" type="xs:string" minOccurs="0" />
    <xs:element name="GL_ID_REV" type="xs:string" minOccurs="0" />
    <xs:element name="PAYMENT_METHOD_NAME" type="xs:string" minOccurs="0" />
    <xs:element name="CUSTOMER_PROFILE_CLASS_NAME" type="xs:string" minOccurs="0" />
    <xs:element name="CUSTOMER_ATTRIBUTE" type="xs:string" minOccurs="0" />
    <xs:element name="ACCOUNT" type="xs:string" minOccurs="0" />
    <xs:element name="TAX_BUREAU_ADDRESS" type="xs:string" minOccurs="0" />
    <xs:element name="SALES_TERRITORY" type="xs:string" minOccurs="0" />
    <xs:element name="REGISTRATION_TYPE" type="xs:string" minOccurs="0" />
    <xs:element name="LAST_UPDATED_BY" type="xs:string" minOccurs="0" />
    <xs:element name="CREATED_BY" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    - <xs:element name="customer">
    - <xs:complexType>
    - <xs:sequence>
    - <xs:element ref="ns0:customerInfo" maxOccurs="unbounded">
    - <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    - <xs:element name="customerInfo" type="ns0:customertype">
    - <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:schema>
    </wsdl:types>
    - <wsdl:service name="customerInfo">
    - <wsdl:port name="SOAPEventSource" binding="tns:SOAPEventSourceBinding">
    <soap:address location="http://COMPANHI-F20AF2:8889/RetrieveServices/customerInfo" />
    </wsdl:port>
    </wsdl:service>
    - <wsdl:portType name="customerInterface">
    - <wsdl:operation name="customerInput">
    <wsdl:input message="tns:customerRequest" />
    <wsdl:output message="tns:customerResponse" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="SOAPEventSourceBinding" type="tns:customerInterface">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="customerInput">
    <soap:operation style="rpc" soapAction="/RetrieveServices/customerInfo" />
    - <wsdl:input>
    <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://InputMessageNamespace" parts="customerRequestDATA" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://OutputMessageNamespace" parts="customerResponseDATA" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:message name="customerRequest">
    <wsdl:part name="customerRequestDATA" type="ns0:customertype" />
    </wsdl:message>
    - <wsdl:message name="customerResponse">
    <wsdl:part name="customerResponseDATA" type="xs:string" />
    </wsdl:message>
    </wsdl:definitions>
    Now, I'm thinking about what to tell to the customer of my proof of concept :-(
    Denis

    I do agree that we need to go through Oracle SR process to get any resolution instead of just relying on public forums. That helps you, Oracle and others facing similar issue.
    Having said that I also can understand Heizard frustration because I felt the same way some times. Oracle needs to improve on their Support personnel skill set in SOA suite arena. The current support process makes you think twice/thrice...before you log a SR. In most of the cases you feel like training them with the tool set....:-(
    Let me give you a real situation. I created a simple test case with file in and file out bound adapter for one of my issues and uploaded to SR. Guess what the analyst came up with....can I do OWC with you to understand the scenario..or SR is missing which file to use to test etc..and the SR goes to @CUS status.....you loose a day or two on this....
    Once you were able to get through that first layer you will be impressed the kind of support you get. I am in same boat working aggressively on couple of critical SRs. Once those gets into development court I was able to resolve them in matter of weeks. It's only that getting there took me a while.
    So it all depends on what your timelines are and what kind of relationship you have with Oracle (read how deep you are with Oracle products)
    ESB is very lightweight and it does some trivial things very quickly. It also lot easier on developers who are new to whole web services world.
    So far I have been trying only Doc/Lit services because that's what our standard is and assumed RPC/Lit just works. Now this thread started to worry me as well. So better give it a spin and start Oracle Support fun.....:-)
    Regards,
    Rajesh

  • Is it possible to access a html based web service from a pdf form?

    I was wondering if it is possible to send a query from livecycle to web service and parse the return data.
    An quick example of what I am thinking is querying a database like wolfram alpha using their html query.
    It is in the format http://api.wolframalpha.com/v2/query?input=pi&appid=XXXX. where "pi" is the query and XXXX is the specific user id
    The website then returns a xml file.
    Is there anyway to send out that html with any query from a text field and process the response?
    Thanks!

    Hi,
    Naseko is right in using the formcalc get function, and I use this for accessing information from google calendar, you can also call the formcalc get function from JavaScript as described here http://blogs.adobe.com/formfeed/2009/02/calling_formcalc_functions_fro.html.
    The main problem I have is with the yellow message bar message and popup saying do you want to allow access to api.wolframalpha.com (or whatever).  I think you can get around this by certifing the form, but I don't have access to the servre products to do that.
    Anyway, if it helps have a look at https://workspaces.acrobat.com/?d=vFcW-9OVSm*BdV6GyFfUIg you will need to modify the button click code to specify your own appid but the code is simple enough;
    var response = FormCalc.Function.Get("http://api.wolframalpha.com/v2/query?appid=<<appid>>&input=capital%20of%20australia");
    response = response.replace(/^<\?xml\s+version\s*=\s*(["'])[^\1]+\1[^?]*\?>/, "");
    var responseNode = xfa.datasets.createNode("dataGroup", "response");
    responseNode.loadXML(response, false, false);
    var answer = responseNode.resolveNode("queryresult.pod.(title.value=='Result')").subpod.plaintext.value;
    console.println(answer);
    So this code sends a query "capital of australia" and gets a response "Canberra, Australian Capital Territory, Australia"
    Replace <<appid>> with your appid and look at the linked sample to see how FormCalc.Function.Get works.
    Also, expect Designer to crash a few times while getting it to work.
    Hope this helps,
    Bruce

  • Message-based web service

    We are using CF 7.01 and have been successful in consuming
    web services in the past. We are unsuccessful however in consuming
    a web service where the client says is using a message-based (aka
    document style) web service. We are entering thier system but we
    error out in our attempt to access thier web service.
    In the cfcomponent I have even tried using style="document"
    but we are still erroring out. The nature of the error message at
    our end shows:
    -- start of error message...
    Message: Could not generate stub objects for web service
    invocation.
    Detail: Name:
    https://integrationdev.peopleclick.com/soap/echo. WSDL:
    https://integrationdev.peopleclick.com/soap/echo. WSDLException (at
    /SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected element '{
    http://schemas.xmlsoap.org/wsdl/}definitions'.:
    It is recommended that you use a web browser to retrieve and
    examine the requested WSDL document for correctness. If the
    requested WSDL document can't be retrieved or it is dynamically
    generated, it is likely that the target web service has programming
    errors.
    -- ...end of error message.
    The message insinuates a WSDL problem. I understand
    message-based web services don't use a WSDL. Must I remove
    something from our standard RPC-based web service configuration?
    Thanks in advance.
    Dev

    hi all,
    UPDATE:
    i have some how managed to handle my error at both REQUEST MESSAGE peoplecode and at HANDLER peoplecode. Tested the webservice using SOAPUI tool. After passing all inputs required, the customer is not created and i am getting a blank response message which should contain the SETID and CUST_ID as response. Please help me out whether i am missing any Key part in creating a CUSTOMER. Note, i haven't written any Peoplecode for creation and i am also not aware how to do the same or where to write the logic for it.
    Kindly bare with me and do help me out as i m struck with it for long. Thanks in advance

  • Generating Web Service from PL/SLQL procedures using ODSI

    1) Is there a way for us to generate REST based web services from PL/SQL procedures using Oracle data services Integrator? If Yes, Can you please point me to any available documentation
    2) I am trying to create a phyiscal data source based on PL/SQL procedures in the hope of turning these data sources into web services. I created a JDBC connection in web logic server console and am trying to view the packages under APPS but ODSI always crashes after selecting APPS. Is there a way to resolve this?
    Thanks
    Bhanu

    Hi..
    We came accross this problem a while back (I think it was us that the patch was created for). The patch was released under CR369707.
    Additionally it took us a while to figure out how to use it correctly.. Here's the info for it from a mail i receievd from our support contact..
    Here is more information from engineering on the patch:
    This is patch for filtering Stored Procedures in the New Physical Data Service Wizard. It is a partial fix to the problem. It just does filtering - it still retrieves all the jdbc metadata for everything that matches the filter. Ideally, the wizard would let you explore the stored procedures - retrieving the name only - and once you selected a stored procedure, it would retrieve the argument types (which is the expensive part).
    Copy these two files to a safe place
    <bea_home>\<aldsp_home>\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.external_10.3.0\dsp-ide-ldshredder.jar
    <bea_home>\<aldsp_home>\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.import_metadata_10.3.0.jar
    Replace the files with the ones provided in the patch (which I sent you be eMail recently).
    Creating Relational Database Physical Data Services -> Stored Procedures will be affected as follows :
    The Search field used to represent a pattern for the stored procedures only, and this patterns were applied against every schema visible to ALDSP. The patch allows you to also specify a list of catalogue patterns (useful only when applicable), a list of schema patterns and a list of procedure name patterns. These lists are separated by the pipe symbol, and the lists themselves are command-separated. The catalogue and schema patterns are regular expressions, the procedure pattern is for a database 'like' clause. For, Oracle, the catalogue patterns are not applicable.
    Example:
    |ODM1,ODM2|B% // look in schemas containing the strings ODM1 or ODM2 for procedures that start with B
    // possible results would be MY_ODM1.BUILDER, ODM2.BOTTOM
    |^ODM$|B%D // look in the ODM schema for procedures that start with B and end with D.
    Also - if there is a search string in the Search box, that search string will be applied to the schema when you click on the + to expand it in the Tree.
    Note that once a schema has been 'explored' - either by a search, or by expanding it in the tree, further searches will not update it's children. You would need to quit the wizard and restart.
    Once you get the patch if you have issues let me know..

  • How to Trigger CAF web services from java Job schedulers?

    Hi Experts,
    I am in need of calling CAF based web services from custom Job scheduler.
    Could you please provide your idea and input if anyway we can call such web service by java api in custom jobs development?
    Thing is that we have CAF BO which hold around 1 million record (master data) and based on approval scenario (developed in WDJ apps) we will have to move this record to another business object for further manipulation?
    Hence due to huge number of record in BO, I would like to automate this activity by calling Jobs from WDJ apps and then Job will trigger the CAF web service which would create record into the BO object.
    Please share your idea and let me if it can be achievable by java apis to trigger Jobs by WDJ apps & webservice by jobs?
    Thanks & Regards,
    Pankaj

    Hi Experts,
    I am in need of calling CAF based web services from custom Job scheduler.
    Could you please provide your idea and input if anyway we can call such web service by java api in custom jobs development?
    Thing is that we have CAF BO which hold around 1 million record (master data) and based on approval scenario (developed in WDJ apps) we will have to move this record to another business object for further manipulation?
    Hence due to huge number of record in BO, I would like to automate this activity by calling Jobs from WDJ apps and then Job will trigger the CAF web service which would create record into the BO object.
    Please share your idea and let me if it can be achievable by java apis to trigger Jobs by WDJ apps & webservice by jobs?
    Thanks & Regards,
    Pankaj

Maybe you are looking for

  • How to define role approver/owner - through condition id in ERM 10.0

    Hi All, We have created a BRF + rule for Role approver with Business Process & Function area by giving the Result value as Condition ID eg., Z001 We have provided this condition ID Z001 - in Role Owners table [Under Set Up- Role Owners] and defined t

  • WRT150N MUST BE POWERED DOWN AND BACK UP!

    Good day, I have a problem with my WRT150N in that each morning before I can access the router I must power it off and then power it back up. Until I power down/up the router, Windows and Linksys both show no network available. Not a matter of a netw

  • Writing PL/SQL inside Apex

    Hi All, I am new to Apex. I am building an application ' Financial Manager ' using Workspace given by Oracle. I have two tables CREATE TABLE "FM_BANK" (     "BK_ACCOUNT_NO" NUMBER(30,0),      "BK_BANK_NAME" VARCHAR2(50),      "BK_DESCRIPTION" VARCHAR

  • OSX Menu Bar Icons Keep Disappearing

    Sometimes after a restart, items previously displayed in the OSX Menu Bar disappear. This happens consistently with :- - Date and Time : the pref item 'Show the date and time' becomes de-checked. Re-checking it displays the date and time icon in the

  • Why is my tying and box clicking lagging in FF 6?

    My typing and box/radio clicks are lagging since FF 6 has been installed.