How to do a POST on HttpsTunneling(referring javawldtip111)

I have used jsse for https (thur SSL) communication.
It suits with our requiremets and we have done with the work and tested successfully.
Requiremens ARE,
1.Writing some Message to the webserver(IIS),
     and ASP page which resides on IIS will receive the Message and      does the work based onthe message.
2.Reading Message from Webserver.
I have used HttpsUrlConnection to write(post) and read(get) the Messages and it did worked.
But same code is not working with the proxy Without a proxy everything is fine.
It throws an exception,
Unable to tunnel through 192.9.100.10:80.
Proxy returns "HTTP/1.1 407 Proxy authentication required"
What is the solution for this?Is Jsse providing some other way or methods to overcome this problem?
After going through the forums i have got sample program from javaworld tip111 and it did tunnels through the proxy.But that program is only to get the page from any secured site.
But my requirement is i need to post a message to the server apart from Headers.
I think we can write msg inside the doTunnelhandshake() method on the outputstream.
But how to pass a Message to that function?I can't change any of the function's prototype inthat program.At run time i need to pass the message to doTunnelhandshake() function.
So how to pass(post) a message with javaworld tip111 porgram?
OR
Can we tunnel through Without using SSLSocketFactory by using only HttpsUrlConnection?
Can anybody help me out on this particular problem?
Thanks in advance,
Prabhakar.

Would you show me how you are able to make https connections.
Mac

Similar Messages

  • How to keep FI posting period (OB52) closed but keep CO posting periods (OK

    Hi SAP Guru's,
    how to keep FI posting period (OB52) closed but keep CO posting periods (OKP1) open.
    I.e. on Oct 21th the FI posting period 10 should be open but FI posting period 09 should be closed. But on Oct 21th the CO posting period 09 should be open.
    Thanks in Advance.
    RV

    You've already activeted. You can check in IMG-Financial Accounting Global Settings (New) ® Ledgers ® Real-Time Integration of Controlling with Financial Accounting
    Check this for more info http://help.sap.com/saphelp_dimp50/helpdata/en/22/c2cf4031288131e10000000a1550b0/content.htm

  • How to use the POST method In Oracle APEX 3.1

    Hi,
    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.
    How to hide the these parameters from URL??
    I Hope POST method will solve this problem.
    How to use the POST method in APEX???
    Help me out to solve this problem.
    thanks in advance.
    Cheers,
    Shan

    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.No they won't. Submission POSTs the <tt>wwv_flow</tt> form.
    Sometimes a branch may be performed after submission, generating a URL in which parameter values are visible. To avoid this, use the save state before branching option.
    Other actions&mdash;like using navigation lists, or clicking a link in a report&mdash;will perform a GET using parameters in the URL. In these cases using Session State Protection is advised.

  • How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N via Authorization or Role Level.

    How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N via Authorization or Role Level, There is a requirement from my client  and i propose two methode
    1- Creation of Ztcode ZVL32N and do changes ABAP program level
    2- Disablement via Authorization/Role level - but how can i find the auth object/ Authorization corresponds to POST GOODS RECEIPT button in VL32N

    I think you can make use of SHD0 - Transaction variant to achieve this. You can make it as grayed out while recording steps in SHD0.

  • How to avoid duplicate posting of noted items for advance payment requests?

    How to avoid duplicate posting of noted items for advace payments request?

    Puttasiddappa,
    In the PS module, we allow the deletion of a component pruchase requisition allthough a purchase order exists. The system will send message CN707 "<i>A purchase order already exists for purchase requisition &</i>" as an Iinformation message by design to allow flexible project management.
    If you, however, desire the message CN707 to be of type E you have to
    modify the standard coding. Doing so, using SE91, you can invoke the
    where-used-list of message 707 in message class CN, and to change the
      i707(cn)
    to
      e707(cn)
    where desired.
    Also, user exit CNEX0039 provides the possibility to reject the
    deletion of a component according to customers needs e. g. you may
    check here whether a purchase order exists and reject the deletion.
    Hope this helps!
    Best regards
    Martina Modolell

  • How to block invoice posting for quality reasons

    how to block invoice posting for quality reasons.For example while doing  Goods receipt  the material is  posted to quality inspection stock. Then the material is rejected for some reasons. Once the decision is made then the  standard system allows to post invoice. But I want to restrict invoice posting once the material is rejected for quality reasons.

    posting of invoice is always allowed, the only thing you can restrict with customizing of QM in Procurement is the payment.
    if you want to block invoice posting, then you have to control this in a user exit.

  • How to change the posting date at the line item level in a sales order

    how to change the posting date at the line item level in a sales order

    Hi,
    I believe the POSTING DATE will appear on the accounting document
    In the Accounting document, the posting date will be based on the  Billing date.
    Please let me know if you need any more details
    santosh

  • How to use method POST to send XML using utl_http?

    Hi,
    I am trying to work out how to use the POST method to mimic submitting data from a HTML form, using utl_http.
    I cannot use SOAP for this as the people I am sending the data to are just expecting an XML document to be sent to a standard CGI script running on their web server.
    There is a lot of documentation on how to submit data using the POST method (using Utl_Http.Write_Text etc), but I cannot find anything that tells me how to submit form variables.
    The examples on OTN say this:
    "Alternatively use method => 'POST' and Utl_Http.Write_Text to
    build an arbitrarily long message"
    but don't tell me how to actually place the data into the required input parameters of the CGI program I am hitting.
    I need to hit a URL such as
    www.asite.com/cgiprogram
    and pass in a parameter, eg
    in_param="test+data"
    I am currently doing this as a GET, which works, but the XML document I am passing in could potentially be bigger than the GET method will allow.
    Any help would be greatly appreciated.
    Thanks,
    Leon.

    Please try the PL/SQl forum

  • How to reverse depriciation posted to an asset

    Dear All,
    how to reverse depriciation posted to an asset,since the ependiture posted is not captial but revenue,after reversing how to delete the the asset values and reverse the purchase doc so that it can be poste das revenue expenditure

    Hello surya
    if an asset has been capitalized by "accident" we have the following options:
    - change depreciation key to 0000 (this corrects the depreciation in fiscal year open in AM)
    - if aquisition has been carried out in prior closed fiscal years: post a write up in current fiscal year(because you have to correct the depreciation of prior years, the dep is wrong - and maybe unauthorized) TC abzu
    - now post a scrapping TC ABAVN
    Now the asset history sheet and the values of the GL are correct.
    What do you think about my idea?
    Best regards
       Horst

  • How to update the posted documents with Business Area wise

    Dear experts
    Please suggest me how to update the posted documents with Business Area wise
    Ajeesh.s
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Nov 2, 2011 2:26 PM

    Hi,
    Select all your folders in Disco Administrator,ALT+ENTER to go to properties, then change the database from the default database to the remote database.
    Hope that helps,
    Rod West

  • How to create Actual Posted CCtr field mandatory in Interal Order

    Hi Experts,
    Can anybody tell me how to make Actual Posted CCtr field mandatory in KO01 or while creating Internal Order ?
    Experts help would be great on this.
    Regards,
    Sharvari Joshi.
    Moderator: SImply define it as mandatory field in field status for the order type in question. Please, avoid asking basic questions

    Hi Tarang,
    I think there is a transaction/screen variant maintained for that. Ask your ABAP team member to debug and check if there is any coding done to make it mandatory. There is no customizing for this one. There must be some code written to make it mandatory.
    But you are correct, if you maintain the sort string in BOM, it gets copied on to the planned order, the reservation and the production order as well.
    Regards,
    Pradeep.

  • How to pay roll posting?

    HI
    my problem is how to pay roll posting?
    My client was using pay roll posting up to   18.02.2007
    On 18.02.2007 on word’s nopay roll posting up till date 
    the client was not using pay roll on 18.02.2007 to till date
    Pls any one find my problem give me steps
    How to solve this problem?
    Regards
    venkat

    Dear,
    you had run last payroll run i.e. feb 2007 if is it ok then follow the following steps.
    1. do pa03 and change the control record of payroll area and do it exit and save
    2. do pa03 and change the cotrol record of payroll area and do it release for the payroll
    3 now you can run payroll in test mode for march 2007 and check any error is there.
    4. now run payroll in live mode
    5 do pa03 and change the control record i.e. exit and save it. do not run pcoo_m99_cipe i.e.f i posting program
    6. do pa03 and change the control record i.e. release for the payroll i.e. apr 2007
    and now do steps 2 then 3 then 4 then 5 and last 6 this way you can execute payroll upto july 2011 and aug onward you have to post your docuemnt on regular basis.
    Balwant.

  • How to show field Posting Date (FB60)

    Hi All...
    I have some problem with my SAP testing,
    when i try to created some testing with AP Invoice transaction FB60 @ SandBox Client 200, i can found field Posting Date.
    but when i try to create testing with FB60 @ SandBox Client 300, i can't found field Posting Date,
    does any body can give me the solution, how to display field Posting Date @ my client 300 ??
    Regards
    Ferry

    Hi,
    There must a screen varient activated for tcode FB60 in yuor 300 clent to suppress the PD field.
    In standard system it will always shown.
    Please check with your ABAPer for the screen varient activated to it or not.
    Thanks,
    Srinu

  • How to change the posting periods

    HI,
    could anyone tell me that how to change the posting periods in SD module
    regards,
    chary

    Welcome to the forum
    What do you mean by this and where to change ??  Please be clear in your question.  Also before posting, please make a search in the forum
    [Forum Search |http://forums.sdn.sap.com/search!default.jspa?objID=f246]
    thanks
    G Lakshmipathi

  • Extending the beta!  How to compose and post defect reports.

    There is no such thing as bug-free software, and LR is no exception to that. Even more, v1.0 releases, even those with long beta programs, can be more brittle than expected. We've already seen a few things that look like real defects which could be addressed in a future release. This is normal and expected, and now a team at Adobe will be dedicated to maintaining the LR release into the future.
    This posting is sort of asking the question "how can we help", with a fair bit of opinionated ranting of my own on the subject. Take my comments with a grain of salt, of course, but I'm not sure I say anything that hasn't already been said a million times before.
    Firstly, is there a place where bug reports should be posted that Adobe will see? Is there a document that describes how Adobe would prefer such reports to come in, perhaps with suggestions for supplemental material they'd like to see passed along with the defect report? Not only does this provide a place where Adobe can track raw bug reports, it can make perturbed users feel better, since they've been able to do something specific and active.
    Full disclosure: I am a software developer by trade, and I maintain shipped releases of code for a living. I know how I like to see problem reports and it drives me *crazy* when a we get a vague report formatted with no punctuation, in all lower-case, containing no specific details. Usually these come with bizarre screen-shots embedded into a Microsoft Word file. Not helpful.
    It drives me crazy because I know there is a bug in there somewhere, it just isn't necessarily the bug seen by the end-user or understood at first blush by the developer. I call this the "real bug", and it can be hard to suss out, sometimes.
    I assume that the following basics are /probably/ helpful when reporting defects against LR v1.0:
    - System details. At least the exact platform version and release. Possibly with a short run-down on CPU speed, amount of RAM. Mac users should probably be sure to clarify what CPU they are running.
    - Clear steps to reproduce, if possible. Describe the problem exactly as you see it, being sure to use the language and nomenclature that the application uses. Capitalize app-specific controls exactly as you see them in the app, to make it clear what you are doing.
    Try to reduce the problem to the barest set of operations.
    - For things like "hangs" and "crashes", I'm guessing that most supported platforms have a way of capturing these details. I cannot and will not speak for Adobe. But! if I was looking at a crash or hang, I'd want any and all crash logs (OS X) or Dr. Watson (Win32) that were related to the former and the sample output (OS X) or Process Explorer dump (Win32) for the latter.
    Details on how and where to post defect reports would be nice. Sounds like a FAQ item, at the least!
    Finally, here are some things that drive me crazier and I feel are *not* helpful:
    - Defect reports that intersperse observed behaviour with guesses about what the problem really is. No one knows better the potential places where symptoms could stem from except those people maintaining that codebase. I'm a smart guy and code for a living. I would never presume to know the precise inner-workings of Lightroom without access to the source and probably a run at it in a development environment.
    - Arguing for how terrible or disastrous a particular "bug" is, and how it needs to be addressed as critical for immediate correction. Everyone, including me, finds their own bugs most critical. The problem is that software maintenance requires putting everything into perspective, evaluating each defect on its own merit, as well as how risky a fix for the defect might be. This last part cannot be minimized. Changing code incurs risk. The idea is to carefully shepherd a new release into each new version while maintaining integrity and stability. No matter how bad a bug is, introducing a fix that simply

    I agree with how you think bugs should be reported. For now, I'd suggest posting them here, in detail. Some of us can relay them to the appropriate places, at least until we hear from Adobe personnel about an official location or method for the average end user.
    Lee Jay

Maybe you are looking for

  • Script to Submit XFDF in the background?

    I was wondering if anyone has any hints or techniques on how to submit a pdf as XFDF in the background using javascript on a web instance of Adobe Reader. Right now, I have a button that when the user hits save, submits the XFDF to another web page t

  • Problem to run a project

    I have developed a Java project and it runs well in a Windows 98 machine. But when a try to run it in a Windows 95 machine, it throws an exception with the file net.dll. I have copied j2sdk1.4.2_04 and i directly typed C:\J2SDK1.4.2_04\JRE\BIN\java -

  • Same application that works on different database user

    I have an application wiritten in htmldb 1.6 taht create areport on a table. But on the database i have a lot of different user (each table of each user have different information) Can i use the same application with connection on differnet user??? T

  • 10.9.4 still hangs on wake

    Very new IMAC running latest 10.9.4 update is still hanging on wake. The 10.9.4 update says "Improves reliability of wake from sleep" but that doesn't say its been fixed. OS has frozen everyday in the last week. Even after the update. Anyone else sti

  • Resume after suspend / upgrades

    Hi all, I've been using arch for about half a year and I'm very satisfied with it. There is, however, one thing that I can't change/find in arch, that is "after which event my laptop resumes after suspend". Suspend (s2ram or default scripts, that wer