HTTPS:\\ webserive call without passing certificate string

We are using HTTPS:\\ web service call from our one of the procedure.
When I did research, I found that, we can't call HTTPS:\\ web service without passing certificate.
My question is, how should I take care for situation where certificate got expired and need to replace certification.
I need some alternate way, where there is no need to pass certificate or no need to pass file path as well...

Hello,
There was a similar question asked in our alternate forum, see: Access https URLs - SQLA Forum. Currently, certificates are specified manually. We have made an enhancement request for SQL Anywhere web clients to potentially use the OS Certificate store instead, in future versions.
So in summary, currently you will need to either replace the certificate, or provide an alternate certificate by specifying the certificate string in the stored procedure definition directly:
CREATE OR REPLACE PROCEDURE ...
CERTIFICATE '-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----'
Notably, MobiLink clients can currently use the (Windows or Android) operating system store for certificates if trusted_certificates is not specified at all.
Regards,
Jeff Albion
SAP Active Global Support

Similar Messages

  • Pass username and password ADFS without using query string, Please help.

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hi,
    According to your post, my understanding is that you had an issue about the ADFS.
    As this issue is related to ADFS, I recommend you post your issue to the forum for ADFS.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding and support.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Pass username and password adfs without using query string

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hello MohitJainMJ,
    You're not in the right forum. Here it's for FIM topics!
    Regards,
    Sylvain

  • Is it possible to decrypt EFS files without backup certificate- windows xp,vista,win-7,win8

    hi,
    i have windows xp and and i did the  format c:\  without take any EFS certificate backup ,is it possible to decrypt efs files without backup certificate , i have lot off files like Microsoft office and pdf , how can i recover the file and decrypt
    Any software to decrypt the files , mostly word and excel files , any solution please let me know as soon ad possible.
    Thx
    PV

    PV
    If you formatted the entire "C" drive (Format C:\) then you don't need to decrypt them but rather recover them.  Recovery is somewhat doubtful but one application you can try is called recuva. 
    You will not recover 100% of the files and may not recover any
    http://www.piriform.com/recuva
    Wanikiya and Dyami--Team Zigzag

  • FlexVPN without using certificates

    Hi All,
    Is there a way we can use Anyconnect VPN clinets with FlexVPN without the Certificate based authentication ( Like in old Cisco VPN clients using Group Key) ?
    Is there a way to use the Cisco router itslef as the CA wihtout getting external Windows server involved in the whole setup (with FlexVPN setup + Anyconnect)  ?
    Thanks in Advance !

    Shamal,
    When using IOS as headend there is no need to use SSL during initial connect, with the caveat that profile NEEDS to be provisioned to client out of band.
    Now once the profile is there, you need to make sure that it's being called - i.e. provide the hostname of the gateway you are trying to connect to.
    In my documentation it was :
    bsns-1941-4.cisco.com
    So this is what as destination of my connection. Anyconnect will lookup profile based on the tag.
    Regarding EAP currently we are limited to non-tunneled EAP methods on Anyconnect VPN.
    http://www.cisco.com/en/US/docs/security/vpn_client/anyconnect/anyconnect30/release/notes/anyconnect30rn.html
    EAP methods: MD5, GTC, and MSCHAPv2
    But if you go with the mothod I provided
    true                IKE-RSA           
    there is no need to use EAP. However you CAN use it.
    M.

  • I can't pass empty string as column of Table Valued Parameter.

    Hello.
    I have stored procedure which accept TVP with columns of 'sql_variant' type. And I have C++ application which call this stored procedure.
    When i pass some non-empty string as sql_variant from my application - all works fine.
    But when I need to pass empty string ("") as sql_variant - I get following error:
    "OLEDB hr = 0x80040e14
     #0:  OLEDB provider error 3621  "The statement has been terminated."
     #1:  OLEDB provider error 8062  "The data for the table-valued parameter 1 doesn't conform to the table type of the parameter."
     #2:  OLEDB provider error 8046  "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Table-valued parameter 0 (""), row 1, column 1: The supplied length is not valid for data type sql_variant.
    Check the source data for invalid lengths. An example of an invalid length is data of nchar type with an odd length in bytes."  
    Could you please help me deal with that issue?
    Thanks,
    Vitaliy

    Dear Vitaliy,
    Thank you for your question.
    Based on my understanding of your question, the issue is related with passing SQL_VARIANT data type in C++ application using Microsoft OLE DB Provider.
    As we can see from http://msdn.microsoft.com/en-us/library/ms173829(v=sql.100).aspx:
    ODBC does not fully support sql_variant. Therefore, queries of sql_variant columns are returned as binary data when you use Microsoft OLE DB Provider for ODBC (MSDASQL). For example, a sql_variant column that contains the character string data 'PS2091'
    is returned as 0x505332303931.
    According to above statement, as you are using OLEDB provider for ODBC with sql_variant in your application, it is not fully support. Seems there are some conversion failure within the Stored Procedure calling. You may consider to adjust your application
    slightly to use other commonly supported data types which also fits your application requirements.
    I listed some more information regarding sql_variant below for your reference:
    A column of type sql_variant may contain rows of different data types such as int, binary and char values.
    A sql_variant data type must first be cast to its base data type value
    before participating in operations such as addition and subtraction. You can find the conversion details in "Comparings sql_variant Values" part.
    Below types of values cannot be stored by using sql_variant:
    varchar(max)
    varbinary(max)
    nvarchar(max)
    xml
    text
    ntext
    image
    timestamp
    sql_variant
    geography
    hierarchyid
    geometry
    User-defined types
    Hope it will be helpful.
    Thank you!
    Best Regards,
    SQL Team - MSFT

  • Disco 10G Custom Function for HTML Call to pass specific sheetid

    After learning that I cannot specify Disco 10G to open a particular worksheet in a workbook from a form menu launch (currently all I get is a listing of worksheets available in the workbook), I am told to create a custom function to handle this - instead of using OracleOASIS.RunDiscoverer.
    I have tried creating a custom function in our custom schema, but I only end up with an error page (Invalid Function) when I try to launch the report from the menu function. I even tried duplicating the Oracle OracleOASIS package and renaming it in APPS, only to receive the same results.
    Does anyone know the correct steps involved to create a new package for the HTML Call of a function in order to launch a Discoverer report?
    Thank you,
    Suzanne

    Hi Suzanne
    Here's a simple form that can be used to call Discoverer Plus:
    <br><br>
    <html><br>
    <form method="post" name="Login" action="http://myserver.com/discoverer/plus"> <br>
    Username: <input type="input" name="us" value="username"> <br>
    Password: <input type="input" name="pw" value="password"> <br>
    Database: <input type="input" name="db" value="database"> <br>
    EUL: <input type="input" name="eul" value="EUL"> <br>
    Workbook: <input type="input" name="opendbid" value="MY_AIRLINE"> <br>
    Worksheet: <input type="input" name="sheetid" value="222"> <br>
    <input type="submit" name="connect" value="Connect"><br>
    </form> <br>
    </html>
    <br><br>
    You will need to make sure you pass the correct username, password, database, eul, workbooks id (opendbid), and worksheet id (sheetid). Note that the EUL needs to be passed in uppercase and that the workbook id is case sensitive. You should also notice that this form displays the values in the form and allows the user to change them. After the user has entered their own values, they click the button called Connect.
    <br><br>
    A similar form for Viewer is as follows:
    <br><br>
    <html><br>
    <form method="post" name="Login" action="http://myserver.com/discoverer/viewer"> <br>
    <input type="hidden" name="us" value="username"> <br>
    <input type="hidden" name="pw" value="password"> <br>
    <input type="hidden" name="db" value="database"> <br>
    <input type="hidden" name="eul" value="EUL"> <br>
    <input type="hidden" name="wbk" value="MY_AIRLINE"> <br>
    <input type="hidden" name="wsk" value="222"> <br>
    <input type="submit" name="connect" value="Connect"><br>
    </form> <br>
    </html>
    <br><br>
    You will notice that for Viewer not only is there a different URL but the commands to pass the workbook and worksheet ids are different too. You should also notice that Viewer will execute the call without showing the values on the screen. All you will see is a button called Connect.
    <br><br>
    Does this help?<br><br>
    Regards<br><br>
    Michael

  • Can I use an radar alarm on my iphone 4, without passing by the telephone card, for example in plane mode?

    Can I use an radar alarm on my iphone 4, without passing by the telephone card, for example in plane mode? This question in order to avoid the roaming when I leave my country for a foreigner one

        Hi there Eartley! That sounds like an amazing opportunity for you! I am glad you are going to be able to study in Italy. The iPhone 6 is an excellent phone to travel with and you should have no problems using a local SIM card while you are in Italy. While I have not been to Italy myself and can not make recommendations for service providers out there, our Global Support Team may be able to help out! Here is where you can get in touch with them http://vz.to/1DgQ1IJ . Have a great trip!
    bryans_vzw
    Follow us at Twitter @vzwsupport

  • Passing a string into an SQL query IN statement

    Hello,
    I need to connect to a database to pull some data to dynamically create a form based on the data I pull back. My SQL query works fine when I manually run it through a SQL client tool, but when I try to pass it through my workflow I'm having trouble with passing my string into the IN part of the statement. So if for example my SQL query is:
    SELECT Field1, Field2, Field3 FROM Table1 WHERE Field4 IN (?)
    I have a process variable that has the string I'm trying to pass into the ?, but I don't seem to be able to get the query to run. I have tried setting up my query to run as a Parameterized Query (passing my string process variable into the ?), and by setting the query up through xPath (where I am calling my process variable with an xPath declaration), but am not having any luck.
    The process variable I am trying to pass is formatted such that I'm passing 'Value1','Value2','Value3' but I can reformat this string if need be. Even with using test data I can't get the query to return anything. For test data I have tried: 'Value1','Value2','Value3' ; Value1','Value2','Value3 ; Value1,Value2,Value3 but the query never returns any data. I can't seem to see how to format the string to pass into the query. The Query will work with a single Value in the test data, but as soon as I try to pass multiple values within the string it fails. Any suggestions?

    The problem looks to be a limit on what I can pass into the SQL query component. My string is coming from data returned from another database. I take the xml output from that database call, pass it through a set variable component to remove my xml tags from the string, and then format the string in a script component (I have to do it this way because of the way the data coming out of my first database call). I've put in loggers, and can see that the string I'm passing into my query that is giving me problems, is formatted the same way as if I were to use the concat function Scott listed above. It looks like there is a limitation on what can be passed in my variable. I have tried creating my entire SQL query statement in a set variable component, and then just calling the process variable that holds that statement, but there is a character limit of 128 character for what can be passed in a variable through xpath in the SQL query component.
    The next thing I tried was changing my SQL where clause. Instead of passing my variable directly into the IN statement I set up a PATINDEX('%:'+countyname+ ':%', ?) > 0 call to check for the values in my database call. As you can see I took out the "," that I was passing as part of my string, thinking that the SQL component was getting confused by them, and placed ":" characters around my values being passed in my string variable. No matter what I try to do though I'm not able to get the query to run. The component looks like it is taking my string, and is seeing the whole thing as a string instead of passing it as individual values within a string.
    I think I'm getting close, but I keep getting a Content not allowed in prolog exception in the server logs.

  • Https webservcie call redirection from Apache2 to weblogic throws error

    Dear Sir,
    I have prob in invoking webservice deployed on WLS 10.3.4 through Apache2 server.
    Below is setup on httpd-ssl.conf file in apache machine.
    <VirtualHost 10.xx.xx.18:443>
    <IfModule weblogic_module>
          WebLogicCluster 10.xx.xx.30:8013
          Debug ON
          WLProxySSL OFF
          DynamicServerList ON
          WLLogFile /tmp/weblogic_ssl.log
          WLTempDir /tmp
          WLIOTimeoutSecs 1800
          DebugConfigInfo ON
       </IfModule>
       <Location /TestApp>
         SetHandler weblogic-handler
       </Location>
      <Location /TestWebService>
         SetHandler weblogic-handler
       </Location>
    </VirtualHost>
    ProxyPreserveHost On
    ProxyRequests Off
    SSLProxyEngine On
    The web app (TestApp) is working fine when invoking https protocol.
    But for the web service(TestWebService) when invoking using https protocol, it throws the below error:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: weblogic.wsee.server.ServerURLNotFoundException: Cannot resolve URL for protocol http/https
    faultActor:
    faultNode:
    faultDetail:
            {java.io}string:java.lang.RuntimeException: weblogic.wsee.server.ServerURLNotFoundException: Cannot resolve URL for protocol http/https
    weblogic.wsee.server.ServerURLNotFoundException: Cannot resolve URL for protocol http/https
    weblogic.wsee.server.ServerURLNotFoundException: Cannot resolve URL for protocol http/https
            at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
            at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
            at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
            at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
            at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
            at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
            at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
            at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
            at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
            at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
            at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
            at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
            at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
            at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
            at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
            at org.apache.axis.client.Call.invoke(Call.java:2748)
            at org.apache.axis.client.Call.invoke(Call.java:2424)
            at org.apache.axis.client.Call.invoke(Call.java:2347)
            at org.apache.axis.client.Call.invoke(Call.java:1804)
    When we access the WSDL url using the https protocol, it returns the wsdl xml properly. Only invoking the method on the webservice throws the error.
    Below is the error log from the apache for ssl request.
    ================New Request: [POST /TestWebService/TestService HTTP/1.0] =================
    Tue Aug 27 10:11:42 2013 <655913775839021> INFO: SSL is not configured
    Tue Aug 27 10:11:42 2013 <655913775839021> Using Uri /TestWebService/TestService
    Tue Aug 27 10:11:42 2013 <655913775839021> After trimming path: 'TestWebService/TestService'
    Tue Aug 27 10:11:42 2013 <655913775839021> The final request string is 'TestWebService/TestService'
    Tue Aug 27 10:11:42 2013 <655913775839021> Host extracted from serverlist is [10.xx.x.30]
    Tue Aug 27 10:11:42 2013 <655913775839021> Initializing lastIndex=0 for a list of length=1
    Tue Aug 27 10:11:42 2013 <655913775839021> getListNode: created a new server node: id='10.xx.x.30:8013' server_name='10.xx.xx.18', port='443'
    Tue Aug 27 10:11:42 2013 <655913775839021> Going to get the post data of size=388 clength=0
    Tue Aug 27 10:11:42 2013 <655913775839021> attempt #0 out of a max of 5
    Tue Aug 27 10:11:42 2013 <655913775839021> Trying a pooled connection for '10.xx.xx.30/8013/8013'
    Tue Aug 27 10:11:42 2013 <655913775839021> getPooledConn: No more connections in the pool for Host[10.xx.xx.30] Port[8013] SecurePort[8013]
    Tue Aug 27 10:11:42 2013 <655913775839021> general list: trying connect to '10.xx.xx.30'/8013/8013 at line 2724 for 'TestWebService/TestService'
    Tue Aug 27 10:11:42 2013 <655913775839021> INFO: New NON-SSL URL
    Tue Aug 27 10:11:42 2013 <655913775839021> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Tue Aug 27 10:11:42 2013 <655913775839021> EINPROGRESS in connect() - selecting
    Tue Aug 27 10:11:42 2013 <655913775839021> Local Port of the socket is 37994
    Tue Aug 27 10:11:42 2013 <655913775839021> Remote Host 10.xx.xx.30 Remote Port 8013
    Tue Aug 27 10:11:42 2013 <655913775839021> general list: created a new connection to '10.xx.xx.30'/8013 for 'TestWebService/TestService', Local port:37994
    Tue Aug 27 10:11:42 2013 <655913775839021> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 500 Internal Server Error]
    Tue Aug 27 10:11:42 2013 <655913775839021> URL::parseHeaders: StatusLine set to [500 Internal Server Error]
    Tue Aug 27 10:11:42 2013 <655913775839021> parsed all headers OK
    Tue Aug 27 10:11:42 2013 <655913775839021> sendResponse() : r->status = '500'
    Tue Aug 27 10:11:42 2013 <655913775839021> Free old srvrList, id=[10.xx.xx.30:8013], server_name=[10.xx.xx.18], server_port=[443]
    Tue Aug 27 10:11:42 2013 <655913775839021> Parsing cluster list: -2116126659!174266130!7003!-1|1098407374!174266142!7013!-1
    Tue Aug 27 10:11:42 2013 <655913775839021> parseJVMID: Parsing JVMID '-2116126659!174266130!7003!-1|1098407374!174266142!7013!-1'
    Tue Aug 27 10:11:42 2013 <655913775839021> parseJVMID: Actually parsing '-2116126659!174266130!7003!-1'
    Tue Aug 27 10:11:42 2013 <655913775839021> ServerInfo struct for JVMID '-2116126659' populated
    Server Details are:
    OrigHostInfo [10.99.23.18]
    isOrigHostInfoDNS [0]
    Host [10.99.23.18]
    Port [7003]
    SecurePort [0]
    Tue Aug 27 10:11:42 2013 <655913775839021> parseJVMID: Parsing JVMID '1098407374!174266142!7013!-1'
    Tue Aug 27 10:11:42 2013 <655913775839021> parseJVMID: Actually parsing '1098407374!174266142!7013!-1'
    Tue Aug 27 10:11:42 2013 <655913775839021> ServerInfo struct for JVMID '1098407374' populated
    Server Details are:
    OrigHostInfo [10.99.23.30]
    isOrigHostInfoDNS [0]
    Host [10.99.23.30]
    Port [7013]
    SecurePort [0]
    Tue Aug 27 10:11:42 2013 <655913775839021> Initializing lastIndex=0 for a list of length=2
    Tue Aug 27 10:11:42 2013 <655913775839021> ### Got a new Server List of length 2 ###
    Tue Aug 27 10:11:42 2013 <655913775839021> ###Response### : Srvr# [1] = [10.99.23.18:7003:0]
    Tue Aug 27 10:11:42 2013 <655913775839021> ###Response### : Srvr# [2] = [10.99.23.30:7013:0]
    Tue Aug 27 10:11:42 2013 <655913775839021> canRecycle: conn=1 status=500 isKA=0 clen=-1 isCTE=0
    Tue Aug 27 10:11:42 2013 <655913775839021> closeConn: URL.canRecycle() returns false, deleting URL '10.xx.xx.30/8013'
    Tue Aug 27 10:11:42 2013 <655913775839021> request [TestWebService/TestService] processed
    Kindly help me to resolve this issue,
    zia

    Hi,
    I have resolved this issues by disabling the 'WebLogic Plug-In Enabled' option in Domain> Cluster> (Select the clustrer) and Configuration > General tabe > Advanced option.
    By disabling this option my webservice is working porperly. Apache re directs properly.

  • Passing (byref) String from Java to C++ via JNI

    I wish to pass a string to a C++ Dll as a parameter in a function. The problem is that I don't know howto receive back the data after it is filled in the C++ dll. I am trying to do what is called passing parameters by reference.
    Java Code:
    public class ABKeyBoard {
    public native long leerBanda(int pista, String datos);
    public static void main(String[] args) {
    String datos=new String();
    System.loadLibrary("ABKeyBoard");
    new ABKeyBoard().leerBanda(1,datos);
    System.out.println(datos); //the content of datos here is empty.
    C++ Code:
    Java_ABKeyBoard_leerBanda(JNIEnv *env, jobject obj,jint pista, jstring datos)
         char buffer[2024];
         memset(buffer,     0x00,     sizeof(buffer));
         strcpy(buffer, "xxxx");
         datos = env->NewStringUTF(buffer);
    return;
    Thanks for your help.

    In java every parameter are always passed by value.
    The datos parameter is a local copy of the string
    reference you pass to the method.This is wrong. The String passed to the native method is the same String object you use in Java. Although everything is passed by value in Java, what is actually passed by value is the reference to the String. This means that you can modify the object you pass, but you are not allowed to change the reference to point to a totally different object. That is where the problem is coming in.
    The trouble is that it is illegal to modify a String, even from native code. If you need to make changes in-place to the text, pass an array of chars (if your native code uses Unicode), an array of bytes (if it uses normal 8-bit characters) or a StringBuffer. You can legally modify any of these data structures with the new data. But the StringBuffer object is the only one whose length can be changed after it is created. Unfortunately it is also the hardest to use from JNI.
    Generally I think you should always pass arrays of bytes/chars to native code instead of Strings when possible. They can be modified in place, and you can use String's methods to get a byte-array in the platform's proper encoding. Using the GetStringUTFChars method is problematic because UTF only maps directly onto ASCII in the case of characters which are in the set of 7-bit ASCII characters. Your code will do wrong things if your String happens to contain some other character, unless your native code expects UTF format strings.
    The good news is that C(++) functions which return results in their arguments do not ordinarily change the length. So you should be able to allocate a byte[] or char[] ahead of time of the appropriate size (don't forget to add the trailing null, which is not a component of Java strings). I think byte[] or char[] is the best answer because you can easily map those onto C-style arrays with Get[Primitive]ArrayRegion; the return of that is suitable for passing directly to native code, as long as you have remembered the null-terminator. For instance you could do (*env)->GetByteArrayRegion(env, javaArray, 0, arrayLength, CArray) and then your CArray would be changed to point at the contents of the javaArray (note: it does not copy data into CArray, it changes CArray to point at the array contents, so do not allocate memory for CArray first). Then when you do ReleaseByteArrayRegion the results will be propagated back to Java.

  • How to send te XML data using HTTPS post call & receiving response in ML

    ur present design does the HTTP post for XML data using PL/SQL stored procedure call to a Java program embedded in Oracle database as Oracle Java Stored procedure. The limitation with this is that we are able to do HTTP post; but with HTTPS post; we are not able to achieve because of certificates are not installed on Oracle database.
    we fiond that the certificates need to be installed on Oracle apps server; not on database server. As we have to go ultimately with HTTPS post in Production environment; we are planning to shift this part of program(sending XML through HTTPS post call & receiving response in middle layer-Apps server in this case).
    how i can do this plz give some solution

    If you can make the source app to an HTTP Post to the Oracle XML DB repository, and POST contains a schema based XML document you can use a trigger on the default table to validate the XML that is posted. The return message would need to be managed using a database trigger. You could raise an HTTP error which the source App would trap....

  • How can I pass a String by reference in java?

    Hello!
    My question is how to pass a String by reference in java.
    I tried to declare my variable, instead of using "String xxx = "f";", I used "String xxx = new String ("f");" :
    public static void main (String []args)
    String xxx = new String("f");
    StatusEnum result2 = getErrorPointStr(xxx);
         public StatusEnum getErrorPointStr(String text)
              StatusEnum testStatus = StatusEnum.PASS;
              StringBuffer buffer = new StringBuffer();
    buffer.append("123");
              text = buffer.toString();
              return testStatus;
    After calling to getErrorPointStr(String text) function, xxx = "f"
    So it does not work.
    How can I solve this? It is very important, the function will receive String and not something else.
    Thanks!

    Tolls wrote:
    Which is why I said:
    Which is why you only managed to change what 'text' referred to in the methodExcept that's not why. Even if String was mutable, doing text = whatever; would have the same effect; it would change what that variable refers to in the method, but it would not change the object's state.
    I meant that, since there was no way to actually change the data (ie the char[] or whatever) within the object 'text' referred to, the OP was attempting to change what 'text' referred to and hoping it would be reflected outside the method...which we know won't happen as Java is pass-by-value.\Ah, now I see.
    These by-value/by-reference threads tend to get confusing, because usually the person is passing a String, so the immutability of String tends to get in the way and just muddy the waters.

  • How to retrieve WorkflowContext without passing username and password ?

    Hi,
    I have created a dynamic ApprovalGroup and inside this class i have the following private method.
    private IWorkflowContext fetchWorkflowContext() {
              IWorkflowServiceClient wfSvcClient =
                   WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.LOCAL_CLIENT);
              ITaskQueryService queryService = wfSvcClient.getTaskQueryService();
              IWorkflowContext workflowContext;
              try {
                   workflowContext =queryService.authenticate("weblogic", "weblogic1".toCharArray(), null);
                   } catch (WorkflowException e) {
                   e.printStackTrace();
    But when i retrieve workflowContext, I have to pass username and password.As this dynamic ApprovalGroup class will be deployed on the same SOA server under D:\Oracle\Middleware111150\Oracle_SOA1\soa\modules\oracle.soa.ext_11.1.1
    I have kept wf_client_config.xml under D:\Oracle\Middleware111150\Oracle_SOA1\soa\modules\oracle.soa.ext_11.1.1\classes.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflowServicesClientConfiguration
    xmlns="http://xmlns.oracle.com/bpel/services/client">
         <server name="default" default="true" excludeFromFederatedList="true">
         <localClient>
              <participateInClientTransaction>false</participateInClientTransaction>
         </localClient>
         <remoteClient>
              <serverURL>t3://localhost:8001</serverURL>
              <userName>weblogic</userName>
    <password>weblogic1</password>
              <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initialContextFactory>
              <participateInClientTransaction>false</participateInClientTransaction>
         </remoteClient>
         <soapClient>
              <rootEndPointURL>t3://localhost:8001</rootEndPointURL>
              <identityPropagation mode="dynamic" type="saml">
                   <policy-references>
                   <policy-reference enabled="true" category="security" uri="oracle/wss10_saml_token_client_policy"/>
                   </policy-references>
              </identityPropagation>
         </soapClient>
         </server>
    </workflowServicesClientConfiguration>
    How to retrieve WorkflowContext without passing username and password ?
    ============================
    workflowContext =queryService.authenticate("weblogic", "weblogic1".toCharArray(), null);
    ============================
    regards.
    Edited by: user10303338 on Oct 5, 2011 1:51 AM

    Use :
    Properties prop = System.getProperties();
    prop.put("proxySet","true");
    prop.put("http.proxyHost","yourProxy");
    prop.put("http.proxyPort","8080"); // change the port
    //prop.put("https.proxyHost","yourProxy");
    //prop.put("https.proxyPort","8080"); // change the port
    Denis

  • Function calling function passing data

    We have developed an MQSERIES utility that is a function that calls many related functions and its purpose is to perform a variety of MQSeries functions with minimal interaction required by the user. The user provides the message, an activity code (pd for puts, gd for gets, pr for putting requests for replies, etc.) and a couple other parameters. The user gets back the message, a return flag (good, bad, truncated, etc). . Our MQSERIES function is a function of the calling module. Our function has it's series of includes with classes, functions, etc. The calling program needs a couple includes (to define the passed data areas) and a function prototype of our function (void mqcmd090(typefilefdi &, typefilemsg &, typefilemdi &);) and after the user does string copies and so forth into the passed data areas they currently call the function (mqcmd090(currpassarea, currmessage, currquetable);) After our function is called these passed data areas are manipulated by the user's module. They inquire into the return code, they may do activity (with message ids, etc), they manipulate the message and may send it back (replies, etc). Our dilemma is this. The users want our module to be stand-alone. It should be compiled and linked by itself. Their module should be compiled and linked by itself. They don't mind having a couple includes for the common passed structures but our modules should not be a function in theirs.
    How can I compile our function (and how can they call it) so that we can keep the communications going both ways between modules? A system call can't do it because they can send us information but they can't receive information back. If our module needs an upgrade we should just be able to change and recompile ours and their next execution should get the changes.
    I am at a loss and would greatly appreciate any assistance on this matter.
    Thanks,
    Dennis Bartizal

    We have developed an MQSERIES utility that is a function that calls many related functions and its purpose is to perform a variety of MQSeries functions with minimal interaction required by the user. The user provides the message, an activity code (pd for puts, gd for gets, pr for putting requests for replies, etc.) and a couple other parameters. The user gets back the message, a return flag (good, bad, truncated, etc). . Our MQSERIES function is a function of the calling module. Our function has it's series of includes with classes, functions, etc. The calling program needs a couple includes (to define the passed data areas) and a function prototype of our function (void mqcmd090(typefilefdi &, typefilemsg &, typefilemdi &);) and after the user does string copies and so forth into the passed data areas they currently call the function (mqcmd090(currpassarea, currmessage, currquetable);) After our function is called these passed data areas are manipulated by the user's module. They inquire into the return code, they may do activity (with message ids, etc), they manipulate the message and may send it back (replies, etc). Our dilemma is this. The users want our module to be stand-alone. It should be compiled and linked by itself. Their module should be compiled and linked by itself. They don't mind having a couple includes for the common passed structures but our modules should not be a function in theirs.
    How can I compile our function (and how can they call it) so that we can keep the communications going both ways between modules? A system call can't do it because they can send us information but they can't receive information back. If our module needs an upgrade we should just be able to change and recompile ours and their next execution should get the changes.
    I am at a loss and would greatly appreciate any assistance on this matter.
    Thanks,
    Dennis Bartizal

Maybe you are looking for

  • IOS6 bluetooth connection with car stereo

    With my iPhone 4S running iOS5, my after-market car stereo bluetooth was able to read my song name, artist name, ect. Now that I upgraded to iOS6 my Kenwood receiver cannot read this data while connected via bluetooth. Since the data can't be read, t

  • IMac will not wake from sleep after 10.4.8 Update

    Recently after a couple of software updates my IMac goes to sleep and the Bluetooth keyboard and mouse will not wake it. The option for wake with Bluetooth is checked. I zapped the PRAM and also checked the HD, Nothing has changed. NOTE: No new softw

  • Import error with MPEG-2 files: Brorsoft Video Converter to Apple Prores.

    Hi, The Brorsoft Video Converter software gives me an 'import error' message when I attempt to import files from a folder on my desktop. That folder contains many mpg files (MPEG-2 Video, AC3). Those files in the folder on my desktop came from a Sony

  • Ipod touch video using RCA cable in car...

    I have a Honda Pilot and it has the red, yellow and white hacks in back. I have the DVD player and would think i could connect IPT to RCA cables and see videos on DVD screen, but i cant figure it out. I connect and the music plays just fine (better t

  • Frequent c2s failures

    Hi, BM3.9sp2ir1 NW6.5sp8(with post sp8 patches through April 17,2010) eDir8.8sp4 We frequently are having problems with clients connecting to our system. Most using the bm3xvpn12 client with NMAS. Often have to try multiple times to get connected, so