Webservice URL forma issue

Hi experts
i have a scenario
JBoss server -
> SAP XI -
> SAP
i had create the webservice in SAP XI through senderagreement --->publish URL
its automatically generated the WSDL file
URL is like this
1)"http://host:port/dir/wsdl?p=sa/0dacd6e6ede73794b0e9d4814430fced"
but in address location we found another URL
2) https://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=(bussiness component name)&receiverParty=&receiverService=&interface=SI(service interface name)&interfaceNamespace=%3A%2F%%2F (namespace)
we are able to call the wsdl in internet explorer by using first URL
we unable to call the same wsdl using second URL.
why URL were different ?
is it possible to change the first URL format?
i followed the below forums
wsdl url of pi SOAP Sender (that is used by invoking soap client)
Using SOAP Sender adapter in PI 7.1
and i tried what mentioned in above forums but no luck .
if i use the below URL format
http://host:HTTPPort/XISOAPAdapter/MessagingServlet?channel=party:sendersystem:CC_sender
http://host:port /XISOAPAdapter/MessageServlet?senderParty=FP& senderService=FS& interface=IF&receiverParty=TP&receiverService=TS&interfaceNamespace=IFNamespace
it gives the some ssl missing error
please help me out
Thanks In advance

Hi katakoti,
could you send the message sucessfully to PI if you use the first URL which you mentioned?
I am not very clear your problem but give u some input.
when u display WSDL file in ID, use below URL in step 2/5.
if there is a party in ur scenario: http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
if there is no party in ur scenario: http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>
also u can send the message directly into Integration Engine by using below URL.
Using the SOAP inbound channel of the Integration Engine
http://<server>:<port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<Business Component>&Interface=<InterfaceNamespace>%5E<Interface>
in previous, we used SoapUI for the WSDL testing. there is no problem. and i have not seen the URL like ur first one.
regenerate the WSDL file and try again. good luck.:)
Regards,
Kevin

Similar Messages

  • Calling Webservice from Adobe form - Webservice URL  Issue

    Dear Friends,
      I have developed a webservice and calling it from an Adobe form. I have downloaded the WSDL file from tcode SOAMANAGER. When I create a data connection from the Adobe form  I use this WSDL file and the form elements gets created automatically and I drag and drop them into the form. The issue is when I click on the Submit(Execute) button the Webservice URL is always pointed to the client from where the file was downloaded and its hard-coded ( for example if i download the wsdl file from client 300 then the URL would be http://<location>/sap/bc/srt/rfc/sap/z_web_getmat/300/z_web_getmat/z_web_getmat). So if i execute the form from client 200 its not working. How to make this URL dynamic so that the webservice gets executed from the client from where this form is called. Please advice.
    Regards
    Sapient

    Hi,
    You have to handle it in your form on submit button calling the web service:
    Write below java script code at submit event to change the URL at run time:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    Change the variable wsdlAddress as per your requirement. The above code is just a sample.
    For getting the client pass it in a datasource variable attribute at time of downloading the form. At time of submit get the value of that variable and use it to form the url.
    Regards,
    Vaibhav

  • Setting the webservice url at run time for a execute button in adobe form

    Hi,
    I am using Data connection from the wsdl file to interact with the backend, the button generated from the data connection is of type execute which has the url of the webservice in the object property "Webservice URL" and name of the FM in the interface name. My problem is at present the form is working fine but when the same form transported to QA and PRD them the url of the webservice gets change. hence the same button wont function.
    The solution is either we do the changes manually in all the system or pass the url at run time. Please proide me the solution if there is a way to set this url in the execute button at runtime.
    Thanks in advance.
    Pooja

    Why don't you pass in the URL via an XML input file and bind a hidden text field in your form to that element in your XML? Then use javascript to modify the docReady event of the submit button to something like this:
    var url = textFieldWithURL.rawValue;
    this.event__click.submit.target = url;

  • Oracle fusion Middleware 11g -- forms issue while hitting url

    Hi ,
    we are facing one issue while hitting the url mentioned below
    http://scrmskr.apac.nsroot.net:7801/forms/html/CRMS_KR.htm
    FRM-92052:fatal error: cannot connect to the server at URL /forms/lservlet
    here in the above CRMS_KR.htm we have hard-coded all the parameters value that in other case is read from formsweb.cfg
    whereas if we hit the same CRMS_KR.htm renaming it to basejpi.htm and hitting below url then its opening our home page i.e our test.fmx called from this .htm file
    http://scrmskr.apac.nsroot.net:7801/forms/frmservlet
    We have gone through Oracle® Fusion Middleware Forms Services Deployment Guide
    11g Release 1 (11.1.1)
    but not able to get the issue.
    Please let us know where we are going wrong or what mapping or config settings are we missing.
    Config files:
    CRMSKR.htm_
    ======================================================
    <HTML>
    <!-- FILE: basejpi.htm (Oracle Forms) -->
    <!-- -->
    <!-- This is the default base HTML file for running a form on the -->
    <!-- web using the JDK Java Plugin. This is used for example when -->
    <!-- running with Netscape on Unix. -->
    <!-- -->
    <!-- IMPORTANT NOTES: -->
    <!-- Default values for all the variables which appear below -->
    <!-- (enclosed in percent characters) are defined in the servlet -->
    <!-- configuration file (formsweb.cfg). It is preferable to make -->
    <!-- changes in that file where possible, rather than this one. -->
    <!-- -->
    <!-- This file will be REPLACED if you reinstall Oracle Forms, so -->
    <!-- you are advised to create your own version if you want to make -->
    <!-- any modifications. You should then set the baseHTMLjpi -->
    <!-- parameter in the Forms Servlet configuration file (formsweb.cfg) -->
    <!-- to point to your new file instead of this one. -->
    <HEAD><TITLE>Credit & Risk Management System</TITLE></HEAD>
    <BODY bgcolor=#c0c0c0 SCROLL="no">
    <!-- Forms applet definition (start) -->
    <OBJECT classid="clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA"
    codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12"
    WIDTH="920"
    HEIGHT="680"
    HSPACE="0"
    VSPACE="0"
    ID="">
    <SCRIPT LANGUAGE="JavaScript" SRC="/forms/frmjscript/forms_ie.js"></SCRIPT>
    <PARAM NAME="TYPE" VALUE="application/x-java-applet;jpi-version=1.6.0_12">
    <PARAM NAME="CODEBASE" VALUE="/forms/java">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE" VALUE="frmall.jar,crms_icons.jar" >
    <PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?acceptLanguage=en-us">
    <PARAM NAME="networkRetries" VALUE="50">
    <PARAM NAME="serverArgs"
    VALUE="escapeParams=true module=/rcrmap1/rcrrgbg2/crms/10as/fmx_dir/CRMS_LOGIN.fmx userid= debug=no host= port= obr=no record= tracegroup= log= term= ssoProxyConnect=no">
    <PARAM NAME="separateFrame" VALUE="false">
    <PARAM NAME="splashScreen" VALUE="">
    <PARAM NAME="background" VALUE="">
    <PARAM NAME="lookAndFeel" VALUE="Generic">
    <PARAM NAME="colorScheme" VALUE="teal">
    <PARAM NAME="serverApp" VALUE="default">
    <PARAM NAME="logo" VALUE="no">
    <PARAM NAME="imageBase" VALUE="CodeBase">
    <PARAM NAME="formsMessageListener" VALUE="">
    <PARAM NAME="recordFileName" VALUE="">
    <PARAM NAME="EndUserMonitoringEnabled" VALUE="">
    <PARAM NAME="EndUserMonitoringURL" VALUE="">
    <PARAM NAME="heartbeat" VALUE="">
    <PARAM NAME="MaxEventWait" VALUE="">
    <PARAM NAME="allowAlertClipboard" VALUE="true">
    <PARAM NAME="disableValidateClipboard" VALUE="false">
    <PARAM NAME="enableJavascriptEvent" VALUE="true">
    <PARAM NAME="MAYSCRIPT" VALUE="true">
    <PARAM NAME="digitSubstitution" VALUE="context">
    <PARAM NAME="legacy_lifecycle" VALUE="false">
    <PARAM NAME="JavaScriptBlocksHeartBeat" VALUE="false">
    <PARAM NAME="highContrast" VALUE="false">
    <PARAM NAME="disableMDIScrollbars" VALUE="">
    <PARAM NAME="clientDPI" VALUE="">
    <PARAM name="applet_stop_timeout" value="800">
    <COMMENT>
    <EMBED SRC="" PLUGINSPAGE="http://java.sun.com/products/archive/j2se/6u12/index.html"
    TYPE="application/x-java-applet;jpi-version=1.6.0_12"
    java_codebase="/forms/java"
    java_code="oracle.forms.engine.Main"
    java_archive="frmall.jar,crms_icons.jar"
    WIDTH="920"
    HEIGHT="680"
    HSPACE="0"
    VSPACE="0"
    NAME=""
    serverURL="/forms/lservlet?ifcfs=/forms/frmservlet"
    networkRetries="0"
    serverArgs="escapeParams=true module=/rcrmap1/rcrrgbg2/crms/10as/fmx_dir/CRMS_LOGIN.fmx userid= debug=no host= port= obr=no record= tracegroup= log= term= ssoProxyConnect=no"
    separateFrame="false"
    splashScreen=""
    background=""
    lookAndFeel="Generic"
    colorScheme="teal"
    serverApp="default"
    logo="no"
    imageBase="CodeBase"
    recordFileName=""
    EndUserMonitoringEnabled=""
    EndUserMonitoringURL=""
    heartBeat=""
    MaxEventWait=""
    disableValidateClipboard="false"
    allowAlertClipboard="true"
    enableJavascriptEvent="true"
    MAYSCRIPT="true"
    digitSubstitution="context"
    legacy_lifecycle="false"
    JavaScriptBlocksHeartBeat="false"
    highContrast="false"
    disableMDIScrollbars=""
    clientDPI=""
    applet_stop_timeout="800"
    >
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!-- Forms applet definition (end) -->
    <table border="0" width="1005" height="30" >
    <tr>
    <td width="74%" height="30" align="left"><img border="0" src="/rcrms/icons/f_cblogo.gif" width="65px" height="20px"><br>
    <font face="Garamond" size="1" >www.citigroup.net</font>
    </td>
    <td width="26%" height="30" align ="left" ><font face="Garamond" size="1.5">
    Terms,conditions, caveats and small print.<br>
    Copyright &copy; 2003 Citigroup. All rights reserved. Unpublished.</font>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    ======================================================
    forms.conf
    ====================================================
    # Name
    # forms.conf - Forms component Apache directives configuration file.
    # Purpose
    # It should include the weblogic managed server (routing) directives for
    # the servers where Forms applications are deployed and other miscellaneous
    # Forms component OHS directives.
    # Remarks
    # This file is included with the OHS configuration under
    # $OI/config/OHS/<OHS Node Name>/moduleconf sub-directory.
    # virtual mapping for the /forms/html mapping.
    RewriteEngine on
    RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT]
    RewriteRule ^/rcrms/html/(..*) /workaroundhtml/$1 [PT]
    AliasMatch ^/workaroundhtml/(..*) "/rcrmap2/weblogic/bea/rcrms/config/FormsComponent/forms/html/$1"
    AliasMatch ^/rcrms/icons/(..*) "/rcrmap2/weblogic/bea/ORA_PFRD/forms/java/$1"
    # Virtual path mapping for Forms Java jar and class files (codebase)
    AliasMatch ^/forms/java/(..*) "/rcrmap2/weblogic/bea/ORA_PFRD/forms/java/$1"
    # Virtual path mapping for testcrms (codebase)
    AliasMatch ^/rcrms/java/(..*) "/rcrmap2/weblogic/bea/ORA_PFRD/forms/java/$1"
    <Location /forms>
    SetHandler weblogic-handler
    WebLogicHost kauh0079
    WebLogicPort 8001
    </Location>
    ====================================================
    Thanks,
    Harish

    Hi Michael,
    Thanks for your valuable inputs.
    Below line in CRMS_KR.htm was causing the problem because while directly hitting the CRMS_KR.htm we had hard-coded all the tag values which in other case is read from formweb.cfg
    Before:
    *<PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?acceptLanguage=en-us">*
    We modified it to
    After:
    *<PARAM NAME="serverURL" VALUE="/forms/lservlet">*
    Now we are able to hit the below URL sucessfully
    http://scrmskr.apac.nsroot.net:7801/forms/html/CRMS_KR.htm
    Thanks & Regards,
    Harish

  • To Call an HTTPS webservice through Forms

    Hi
    I have followed http://st-curriculum.oracle.com/obe/forms/11g/sms_webservice/webservices_forms_11g.htm but this only covers HTTP connections. The java client that I am preparing uses HTTPS link.
    Before importing the jar in Oracle Forms, we want to test if the jar works fine. So in the unix server, I try to execute the jar and I get java.net.UnknownHostException: wugateway2pi.westernunion.net..
    This url will only allow access from the servers the third party has provided access to. So from the unix server we are able to ping and telnet this ip. We have installed the certificate they have provided local to the jar.
    We did the same configuration in windows server when we used 10g and the connection went through successfully.
    Can anyone please give steps on how to resolve this issue
    thanks

    Hi user10264958
    >
    I have followed http://st-curriculum.oracle.com/obe/forms/11g/sms_webservice/webservices_forms_11g.htm but this only covers HTTP connections. The java client that I am preparing uses HTTPS link.
    Before importing the jar in Oracle Forms, we want to test if the jar works fine. So in the unix server, I try to execute the jar and I get java.net.UnknownHostException: wugateway2pi.westernunion.net..
    >
    That the jar is not running on Linux is your problem? The exception is probably coming from httpurlconnection because the host cannot be reached. This could because your Linux does not have the required network access.
    But is this your problem?
    >
    This url will only allow access from the servers the third party has provided access to. So from the unix server we are able to ping and telnet this ip.
    >
    The server is trying to do mutual authentication and rightly so as this is a remittance system. Ping and telnet work for ip, but that does not mean you have access to the services. But is that your problem?
    We have installed the certificate they have provided local to the jar.You installed in jar , but are you using it in your System.setProperty("javax.net.ssl.keyStore" or equivalent in Java?
    Again, is this your problem?
    >
    We did the same configuration in windows server when we used 10g and the connection went through successfully.
    Can anyone please give steps on how to resolve this issue
    >
    So Windows is not your issue. Then what is?
    Articulating your problem accurately dramatically increases the chances of getting a resolution.
    BTW, I have nothing against Java but why are you trying to use Java for calling a Webservice from Forms ? You have UTL_HTTP pacakage (Request and Response sub programs) that allow you to do this in PL/SQL. Of course you will need Wallet for HTTPS calls from PL.SQL.
    More info here {thread:id=2396886}
    Cheers,
    PS : BTW the URL wugateway2pi.westernunion.net does not land on any web page. So no wonder you get unknown host exception.
    Edited by: Prabodh on Jul 31, 2012 5:07 PM

  • Call Webservice URL with multiple methods in PI 7.0

    Dear Gurus,
    I have the following requirement:
    I need to make multiple calls to a same webservice (URL) which have multiple methods on its WSDL. I know it is possible in PI 7.1. But is it possible in PI 7.0?
    I have already designed and configured the scenarios and generated ABAP Proxy. When I call the endpoint without specifyng the method I got the following message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Endpoint {http://mywebserviceurl.com} does not contain operation meta data for: {http://mynamespace}MyMessageInterface</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please somebody could help me to solve this issue?
    Thank you in advance.
    Fabio Purcino

    >>. But is it possible in PI 7.0?
    Just few cents..
    Test using SOAPUI or  XMLSPY and use that same WSDL URL in the target URL of Communication channel. Just to make sure you use the right endpoint.
    or
    You can specify the method name as  soap action dynamically using udf in mapping and see how it behaves.

  • WebService URL in Admin and Managed Server????

    All,
    WLS configuration:
    Admin Server:7001
    Managed Server:7003
    Both Admin and Managed Servers reside in the same machine.
    Which is the correct URL for accessing the webservice?
    http://localhost:7001/test/testWebService?WSDL
              OR
    http://localhost:7003/test/testWebService?WSDL
    WLS configuration:
    Admin Server:7001
    Managed Server:7003
    Managed Server:7004
    Both Admin and the 2 Managed Servers reside in the same machine.
    Two managed Servers form the cluster.
    What will be the correct URL to access the webservice
    http://loclahost:XXXX/test/testWebService?WSDL
    what is XXXX???
    Thanks
    Jay

    Services will be deployed in managed servers only.
    Then in the first case it will be
    http://localhost:7003/test/testWebService?WSDL
    In the second case, wherein 2 Managed servers are there.
    What will be the accesing webservice URL?? when the services are deployed in both.
    Will the admin server redirect the requests to the managed servers??
    How do I access???
    Thanks
    Jay

  • URL rewriting issue

    Hello all,
    I am having a url rewriting issue where the first time someone accesses the website with a browser that has cookies enabled my jsp pages will still encode all of the URL's with the jsessionid. Which I believe should not happen unless cookies are disabled.
    Why is this occuring?
    Once the user goes to another page in the site or the second time they bring up the site in the same browser the jsessionid is not written to the URL links. This only happens on first access.
    I am using Tomcat 5.5
    response.encodeURL() to encode the links
    Is this a container or programming error?
    Thank you all very much for your time in reading this!

    Ok, thank you.
    Based on this: http://www.sciabarra.com/fatwire/2011/04/17/improving-the-firstsiteii-url-assembler/
    I think my approach would work if I remove the Asset API stuff from here and put them into a helper class, which would be then called from the wrapper JSP.
    I'd rather not install 3rd-party extensions just for url rewriting, at least not yet...

  • Question re: purpose of webservice URL

    Hi.
    I am slowly going through the VideoPhoneLabs example.
    Trying to figure out the line of code below at the start of the <mx:Script> block...there doesn't seem to be any other references to the WebServiceUrl in the project so not sure what the purpose of the variable is. Cheers.
    //please insert your webservice URL here for exchanging
    private const WebServiceUrl:String = "your webservice URL";

    Oops!
    Just found the PHP stuff I was looking for: http://forums.adobe.com/message/1068738#1068738
    Nice.

  • SQL Verification Problem / Muse Form Issue (Server uses MySQL muse uses SQLite) I'm in desperate need of help

           Alright well here is my issue... I have been trying to fix it on my own for the past week non stop and I have finally came to a solid conclusion as to the cause of the issue.
       I always get the error "The server has encountered an error..." in red text when anyone tries to submit a form and also when I try and test it myself. This led me to test the server / site for compatibility or issues by using the test:
    mydomain.com /scripts/form_check.php
    I got the first two checks green (pass) and the third test threw a red check meaning I was having an issue with SQL verification. This then led me to days of trying to work with my hosting provider (one.com) trying to solve the problem and I was told that they use mySQL on their servers and that they couldn't do anything on their end to solve the issue. I read alot that we are recommended in this case to try and get our host to add the SQLite database to their server or whatever it is they would do, long story short I guess many people are able to ask their host to make SQLite work and most accept and add SQLite functionality to their servers but unfortunately my hosting provider doesn't want to do this and they said they were sorry and that I would need to either switch the script to work with mySQL or figure something else out...
       I took a lot of time building my site and I dont want to take the form out. I absolutely need it... I know many post on here saying "forms dont work, oh poop " or "adobe sucks I dont want to use business catalyst grrr" but I tried to find the source of the problem and I've successfully came to the conclusion that my issue is that my script wants to use SQLite but in order for my sites forms to work the server needs to have SQLite as well... My idea is that if I can configure the script and the site itself to use mySQL instead of SQLite the SQL verification will then not be an issue and my websites forms will function with no issues. I am curious if a member of the staff with adobe has experience with this particular issue and can help me out? or if a member of the adobe community has solved this problem? If not I am hoping that with the description I provided that someone with knowledge of mysql, sqlite or code in general could help me modify the script or write a new script that will allow the forms to work properly. I know its a long shot, I say that because this discussion is full of people who used muse in favor of dreamweaver because just like a large number of people in the muse discussion area, I'm a graphic designer, with plenty of computer experience, art and design skill and I am extremely familiar with photoshop. Muse is perfect in so many ways. In fact, like I mentioned above, I don't even have a complaint at this time about muse. I understand the form issue in this case, and I imagine in thousands of other users situations, is all just a matter of scripts and compatibility.. Its just a little issue between the SQLite scripts we are all given when we export our muse website and the SQL version our various hosting service may be using on their servers.
       Just incase I missed anything, to provide just a bit more info on the topic and myself for anyone who may be able to help:
    I can alter the text inside of the scripts easily if anyone happens to know any lines of code that easily solve this issue (making the muse contact forms, which are native to SQLite, functional on a server using mySQL)
    I was told one way I could make the forms work on a server using mySQL (or any version other than SQLite) If I were to make changes to adobe muses SQL version by converting the SQLite db to mySQL db (db = database)
    I am computer literate and I can take any directions necessary, I really just need to get this done, I really appreciate any help I can get!!
    Thank you in advance,
    Roy

    <?php
    If you see this text in your browser, PHP is not configured correctly on this hosting provider.
    Contact your hosting provider regarding PHP configuration for your site.
    PHP file generated by Adobe Muse CC 2014.1.6
    function formthrottle_check()
        if (!function_exists("sqlite_open"))
            return '1';
        $retCode ='5';
        if ($db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $res = @sqlite_query($db, "SELECT 1 FROM sqlite_master WHERE type='table' AND name='Submission_History';",  $sqliteerror);
            if ($res == null or @sqlite_num_rows($res) == 0 or @sqlite_fetch_single($res) != 1)
                $created = @sqlite_exec($db, "CREATE TABLE Submission_History (IP VARCHAR(39), Submission_Date TIMESTAMP)",  $sqliteerror);
                if($created)
                    @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('256.256.256.256', DATETIME('now'))",  $sqliteerror);
                else
                    $retCode = '2';
            if($retCode == '5')
                $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History;",  $sqliteerror);
                if ($res != null and @sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 0)
                    $retCode = '0';
                else
                    $retCode = '3';
            @sqlite_close($db);
        else
            $retCode = '4';
        return $retCode;
    function formthrottle_too_many_submissions($ip)
        $tooManySubmissions = false;
        if (function_exists("sqlite_open") and $db = @sqlite_open('muse-throttle-db', 0666, $sqliteerror))
            $ip = @sqlite_escape_string($ip);
            @sqlite_exec($db, "DELETE FROM Submission_History WHERE Submission_Date < DATETIME('now','-2 hours')",  $sqliteerror);
            @sqlite_exec($db, "INSERT INTO Submission_History (IP,Submission_Date) VALUES ('$ip', DATETIME('now'))",  $sqliteerror);
            $res = @sqlite_query($db, "SELECT COUNT(1) FROM Submission_History WHERE IP = '$ip';",  $sqliteerror);
            if (@sqlite_num_rows($res) > 0 and @sqlite_fetch_single($res) > 25)
                $tooManySubmissions = true;
            @sqlite_close($db);
        return $tooManySubmissions;
    ?>

  • Mapping schema one Webservice Url to another Webservice URL

    Hi ,
    I am working on Webserivce to Webservice communication(converting one response URL format to another response URL format) through SOA suite.
    The usecase: I have one Webservice URL(WSDL URL) which contains UniqueID,name etc in that scehama.
    I have to communicate with another web service url (Helloworld url) which contains some String in its schema.
    SO I want to convert Helloworld URL(one response URL) schema to first Webservice URL(which contains UniqueDI,name etc,I have get the response format of UniqueID,name etc from HelloWorld URL which gives response like 'Helloworld name'.
    So how do u do this?
    I hope u understand my problem,I need to get this done as soon as possible.It is very urgent.
    If u guys want me to talk on phone,I will talk and explain the situation on phone.
    I am from bangalore.I can talk to any phone.
    Please help me as it is critical situation for me.
    Thanks in advance

    Hi neeraj,
    Thank you very much for your response.
    As you mentioned about A ,B and C,
    I will explain about the usecase in those terms.
    A has request and response schemas.A has some response format. Both A and B are intended for meter reading after we give some input from A.B is from external vendor(external refarence).That vendor is going to give their WSDL url (It is not yet given).
    I am giving the Oracle Jdewveloper SOA composite editor picture also( I am assuming this based on input,Correct me If I am wrong):
    A sits in 'exposed services' swimlane and B sits in 'External References' Swimlane.I want to create one BPEL Process (That is C) which acts as bridge between both services.
    The requirement is : Request goes from A (A will have its own request and response schemas) to BPEL process(C).BPEL PRocess ( C ) talks to B and it has to take the(transform the) response from B and it should transform that response into A response fornat.Because A can't understand B's response.So B's response should be converted into A's response format.
    I assume that A and B services response formats have similar kind of fields(suppose A has one field like name ,B may have it as company name.I need to map or transform those parameters using transform activity(This is assumption)
    That was the reuirement.
    In order to get that, Do I need to map A's response schema to B's response Schema so that whatever response we get from B is converted into A's response format?
    How do I send request from A(What happens to response schema of A?) and How do I transform from B's response format into A's response format?
    I hope this has given clear picture about the requirement.
    Can u give guidance in this regard?
    Thanks in advance.
    Please help me out as it is very critical.
    Edited by: 899283 on May 29, 2012 12:21 PM

  • Passing WebService URL Dynamically in BPEL

    Hi,
    We have requirement to Call the WebService URL dynamically to BPEL Process. Currently Websevice URL is hardcoded in WSDL file and our Client has changed their URL recently. We need to Change the URL in all the BPEL Process (Totally 10 BPEL Processes). We are thinking of the following approach but we are not sure whether its works.
    1. Store the URL in Profile
    2. Retrive the URL Value in BPEL Process and Pass it to the Web Service at Run Time
    3. This will avoid the hardcoding of URL in BPEL Process and in case of any change in the URL in future, then we can change the Profile Value instead of all the BPEL Process.
    Any Help on this is highly helpful.
    Thanks in Advance,
    Saravana

    http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html
    - hth
    Ketan

  • Invalid webservice url

    Hi All,
    I am trying to access a webservice. The webservice is located under
    http://www.webservicex.net/globalweather.asmx?wsdl
    But whn I define a webserivce system it says that <i><b>Invalid webservice url</b></i>.
    I am not able to figure out wats wrong.
    Please provide your comments.
    Thanks in advance
    George
    NB: I am following /people/scott.cairncross/blog/2006/10/11/building-a-web-services-based-visual-composer-application, this blog.

    https://wiki.sdn.sap.com/wiki/display/VC/WebServiceInvalid+URL

  • Mapping webservice url

    Hi,
    Is there any way I can map my webservice similar to the way you map a Servlet
    in the web.xml?
    ie.
    currently my webservice url is:
    http://localhost:7001/Inventory/mtn/inventory/InventoryService.jws
    I would like to make it something like:
    http://localhost:7001/Inventory/InventoryService
    Thanks
    Lomeus

    Hi neeraj,
    Thank you very much for your response.
    As you mentioned about A ,B and C,
    I will explain about the usecase in those terms.
    A has request and response schemas.A has some response format. Both A and B are intended for meter reading after we give some input from A.B is from external vendor(external refarence).That vendor is going to give their WSDL url (It is not yet given).
    I am giving the Oracle Jdewveloper SOA composite editor picture also( I am assuming this based on input,Correct me If I am wrong):
    A sits in 'exposed services' swimlane and B sits in 'External References' Swimlane.I want to create one BPEL Process (That is C) which acts as bridge between both services.
    The requirement is : Request goes from A (A will have its own request and response schemas) to BPEL process(C).BPEL PRocess ( C ) talks to B and it has to take the(transform the) response from B and it should transform that response into A response fornat.Because A can't understand B's response.So B's response should be converted into A's response format.
    I assume that A and B services response formats have similar kind of fields(suppose A has one field like name ,B may have it as company name.I need to map or transform those parameters using transform activity(This is assumption)
    That was the reuirement.
    In order to get that, Do I need to map A's response schema to B's response Schema so that whatever response we get from B is converted into A's response format?
    How do I send request from A(What happens to response schema of A?) and How do I transform from B's response format into A's response format?
    I hope this has given clear picture about the requirement.
    Can u give guidance in this regard?
    Thanks in advance.
    Please help me out as it is very critical.
    Edited by: 899283 on May 29, 2012 12:21 PM

  • Modify  webservice URL

    Hello,
    I am in need to modifying the a webservice URL at runtime. I used the improt wizard to import my webservice.
    I see its defined in the .settings/webservices.xml file but i dont know how to access that via code?
    Can this be done ?
    Drew

    It was possible and probably still is.  You would have had to have figured it out on your own, which is the same in this case. 
    Infoview has changed considerably in 3.1 so it doesn't surprise me that the URLs have changed.  You will need to investigate the links yourself if you plan on trying to use them in an application as we do not have any documenation on the links or locations.
    Also, none of the url parameters and such are documented since they are for internal use only so I can't tell you what any of them mean.

Maybe you are looking for

  • Select entities in a swf file and pass back to html page

    Hi, I am new to flash. I got a dwg file converted into swf file. Now I want this swf file to embed in html page. No issue with that. The tricky part for me is to let the user select the entites of the file such as line/circle as one might select in a

  • Safari 3 Leapard behaving badly

    hello I am somewhat old on PCs but new to APPLE so please bare with me. I just have my first Apple Imac and used to love it. Installed Leapard without a glitch, so I thought. Problem: I have Safari 3 open and Mail open and when I click on certain lin

  • Configuration steps to Trigger IDOC from R/3 to XI

    Hi All, I have read several forums , and i am in confusion to follow which one of them. Let me describe the process of configuration steps in r/3 and XI in step by step and correct me when i am wrong. Steps in R/3 1)  Goto SALE.    Basic settings->Lo

  • ICloud Match

    My videos purchased from other than Itunes are not showing up in ICloud on my IPad.  I have Match.  Please help

  • IPhoto 4.0.3...where is "share/export to iDVD"

    the subject sez it all...iPhoto 4 help sez to select yer album, then "chose Share > Send to iDVD". Where praytell is "Share > Send to iDVD"? It's not in the menu bar at the top of the screen...