How to enable webservice in hp laserjet mfp m126nw
sir, i purchased new hp printer that model name hp laserjert mfp m126 nw. usually i was installed printer to my computer.... then i want to connect eprint. first i connect network cable from my printer to modem...modem is always on type....maually i configure ip address to my printer....i just ping printer ip address to my computer.. it was reply..... web service page also open.. then i click enable but it said ur network connection error pls try later... so my question is how to i enable webservice to my printer....pls ans me sir..... thank you
Hi @franciskumar , welcome to the HP Forums. I understand you are getting an error trying to enable web services.
While you are in the EWS settings, look for manual DNS section, and set the primary to 8.8.8.8 and secondary to 8.8.4.4. Apply these settings, restart the newtork and printer and try again.
Getting Started with ePrint for Color LaserJet Pro MFP M176n Printer and HP LaserJet Pro MFP M125, M...
TwoPointOh
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!
Similar Messages
-
How to enable WebScan feature in LaserJet Pro MFP M126nw Printer
I have installed a new LaserJet Pro MFP M126nw printer with wireless configured. The IP Address is 192.168.0.21. I visit http://192.168.0.21 through browser. I don't see Print/Copy/WebScan options there. I can see rest of the configuration tabs.
I am interested in WebScan feature to scan document from my Chromebook. Please let me know how to enable this.Hi,
The Webscan feature is not available on laser printers, it is only available on Inkjet printers.
I afraid you can only print from a Chromebook, scanning to a such is not supported with the HP Laserjet Pro MFP M126 printer.
Shlomi
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
How to lock the Printer of LaserJet Pro 500 Color MFP m570dw
how to lock the Printer of LaserJet Pro 500 Color MFP m570dw
You can set a control panel lock security level and password for your HP LaserJet series printer. To lock your printer, follow below link:
http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-bpl03612 -
WebService Client - how to enable HTTP Compression
Hi
I have written a simple WebService Client. The WebService expects that the WebService clients enable HTTP compression. This is the exact text from the docs:-
""1. Client should be HTTP Compression enabled
HTTP Compression had been made mandatory for API�s. Thus API�s client should
include �Accept-Encoding: zip� header as part of request and should be able to
handle compressed data. Please note that system will send an error message if client
are not http compression enabled saying client should be compression enabled."
I do not know how to enable HTTP compression in the WebService Client. The method called is "GetInstantaneousFlowData". It accepts no arguments and returns xsd:datetime.
The wsdl can be found at:-
http://energywatch.natgrid.co.uk/EDP-PublicUI/PublicPI/InstantaneousFlowWebService.asmx?WSDL
Can someone please help :-
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Service;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
import java.util.Calendar;
public class TestNGPubTime4 {
public static void main(String[] args) throws Exception {
// Setup the global JAX-RPC service factory
System.setProperty( "javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
// create service factory
ServiceFactory factory = ServiceFactory.newInstance();
// define qnames
String targetNamespace = "http://www.NationalGrid.com/EDP/BusinessEntities/Public/";
QName serviceName = new QName(targetNamespace, "InstantaneousFlowWebService");
QName portName = new QName(targetNamespace, "InstantaneousFlowWebServiceSoap");
QName operationName = new QName("http://www.NationalGrid.com/EDP/UI/GetInstantaneousFlowData",
"GetLatestPublicationTime");
// create service
Service service = factory.createService(serviceName);
// create call
Call call = service.createCall();
// set port and operation name
call.setPortTypeName(portName);
call.setOperationName(operationName); // add parameters
call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
call.setProperty(Call.SOAPACTION_URI_PROPERTY, "http://www.NationalGrid.com/EDP/UI/GetInstantaneousFlowData");
// call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "http://schemas.xmlsoap.org/soap/encoding/");
call.setReturnType(new QName( "http://www.w3.org/2001/XMLSchema","datetime") );
// set end point address : soap address location
call.setTargetEndpointAddress("http://energywatch.natgrid.co.uk/EDP-PublicUI/PublicPI/InstantaneousFlowWebService.asmx");
// invoke the remote web service
Calendar result = (Calendar) call.invoke(new Object[] {});
System.out.println("result=" + result);
}Rishika,
Thanks for your reply.
Could I get clariffication on some more thing?
I am using Axis 1.4 version. And I am able to implement the gzip while doing the following steps.
1) Change the pivote value to CommonsHTTpSender.
<transport name="http" pivot="java:org.apache.axis.transport.http.CommonsHTTPSender"/>
2) public class RetreiveReservationsSOAPBindingStubLocal extends RetreiveReservationsSOAPBindingStub.
I Override the method to support GZIP.
org.apache.axis.client.Call _call = super.createCall();
call.setOperation(operations[0]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("retreiveReservations");
_call.setEncodingStyle(null);
call.setProperty(org.apache.axis.client.Call.SENDTYPE_ATTR, Boolean.FALSE);
call.setProperty(org.apache.axis.AxisEngine.PROPDOMULTIREFS, Boolean.FALSE);
call.setProperty(HTTPConstants.MCACCEPT_GZIP, Boolean.TRUE);
call.setProperty(HTTPConstants.MCGZIP_REQUEST, Boolean.TRUE);
call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("", "retreiveReservations"));
super.setRequestHeaders(_call);
super.setAttachments(_call);
Object resp = call.invoke(new Object[] {retreiveReservationsRequest});
I am able to send and receive the request and response in gzip encoded format.
Now my clarrification is,
Is it possible to set the piote value to CommonsHTTPSender for the transport http through my code?
How could I set the values from code?
Reason is, I don't want to manually edit the axis 1.4's client-config.wsdd
Since this is very critical thing, please please help me.
Thanks in advance.
Regards,
Nishad Ponery -
How to enable adobe reader8 call webservice
i use livecycle to created blank form
and connected to webservice by using wsdl file
i drag and drop textboxs and button to use them to send and recive data from webservice
it's work good on adobe pro 8 good but not work on adobe reader 8
how to enable reader to call webserviceAnd you need to add those Form Export Rights with an Adobe LiveCycle Reader Extensions Server.
-
How to access the SSO enabled webservice
Hi,
I want to access the Oracle OID SSO enabled webservice from webcenter.
Webcenter is enabled with OAM SSO as both are secured in a different SSO I couldn't access that web service.
Can you please provide me the solution for the same.
Thanks.Hai
Please check this link.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/connectivity&
Regards -
HP Color LaserJet MFP M570dw and HP Web Services
Hi,
I have a HP Color LaserJet MFP M570dw printer and have tried to enable the HP Web Services, but without success.
My printer is configured on a fixed ip-address, with a default gateway and of course with static DNS servers (8.8.8.8 and 8.8.4.4).
Every time when I try to enable the Web Services feature I get the error message "Connection error. Check your internet connection.".
My internet connection is working fine and the printer is able to communicate thru the firewall fine too. When I do some tracing I see the printer communicating to the public ip-address "23.21.172.122" but there is no response comming back. So I assume the problem is external and not related to my internal configuration. I have tested this with a fully opened firewall (allowing all communications from my LAN to the Internet) with exactly the same results. There is no answer comming back from the ip "23.21.172.122".
Also I can't find the HP Color LaserJet MFP M570dw printer in the supported HP ePrint printerlist.
The 400-series is supported, the 500-serie is not mentioned.
But since the webinterface of my HP Color LaserJet MFP M570dw printer is giving me the HP Web Services configuration page, I asumed this type would be supported too...
Does anyone have a clue how to get ePrint working on the HP Color LaserJet MFP M570dw printer?
Is there anyone who got the HP Web Services working on a HP Color LaserJet MFP M570dw printer?
Kind regards,
Rene.
This question was solved.
View Solution.Hi Rene,
Have you tried updating its firmware version?
The latest firmware should improve the web services connectivity and may help resolving such an issue:
http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5210913&sp...
Also be sure to follow its steps which may help resolving a connection issue:
• Improvements made for connecting to HP Web Services.
NOTE: After updating from firmware datecode 20121002 to firmware datecode 20121019, if a connection to HP's Web Services cannot be established a Security Reset should be performed. Use the following steps to perform a Security Reset.
1. At the printer's touch screen control panel press the wrench & gear icon (Setup menu) at the top of the touch screen.
2. Using the scroll arrows on the right side, scroll until Network Setup appears then press Network Setup.
3. In the Network Setup menu select Security
4. Using the scroll arrows on the right side, scroll until Reset All Security appears and then press Reset All Security. Allow the reset to complete before attempting to connect to HP's Web Services.
Shlomi
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
HP Laserjet Pro MFP M126nw printer installation error
computer display following error msg during installation of LaserJet Pro MFP M126nw printer. I havea system with intel core 2 Duo with 2 GB Ram, my Os is Window & Ultimate 32Bit.
please solve this issue as soon as possible.Hi narin01,
I understand you are unable to install the printer software. I can help you.
Uninstall the software using the CD:
Touch the Windows Key and the E key to access the computer window. Right click on the CD for the printer, left click open in a new window, double click on uninstall.
Do a msconfig to turn off any startup programs that might be interfering with the installation.
Click on start, in the search box type in run, press the enter key, then type in msconfig, click OK.
Click the Services tab. Click to select the Hide All Microsoft Services check box. Click Disable All, and then click OK. Then click on the start up tab at the top. Click on disable all.
Reboot the computer.
Temporarily turn off any Antivirus software.
Then run the installation again. Right click on the install and select Run as Administrator.
How is the printer connected? (USB/Ethernet/Wireless)
What operating system are you using? How to Find the Windows Edition and Version on Your Computer.
Please provide in detail the results if you are still having issues.
Have a nice day!
Thank You.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP -
Mac address of HP LaserJet Pro MFP M126nw
Hi People,
Recently bought HP LaserJet Pro MFP M126nw wireless printer and tried to connect to WIfi. but my Wifi is Mac authenticated and I need to configure the mac address of the printer into the network. But I dont know how to get mac address of the printer.
Need you help pls.......its urgent.
Thanks....
This question was solved.
View Solution.Hi @Satishkumarsah ,
I would be happy to help you be able to get the Mac Address for the printer.
The configuration page lists current network summary and the Mac Address. To print a configuration page, do the following:
LED control panel:
1. From the product control panel, press and hold the Cancel button for 10 seconds.
2. Release the Cancel button.
LCD control panel:
1. From the product control panel, press the Setup button.
2. Open the Reports menu.
3. Use the arrow keys to select Config Report and then press the OK button to begin printing the report.
Hope this helps.
Have a nice day!
Thank You.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP -
Manual for HP LaserJet MFP M476
I'm trying to find the HP LaserJet MFP M476 manual of instructions (I am trying to learn how to duplex and print envelopes). Can someone offer me a link to the manual for this printer?
This question was solved.
View Solution.The M476 User Guide manual can be found at http://h20628.www2.hp.com/km-ext/kmcsdirect/emr_na-c03820385-4.pdf
Unfortunately, in common with the guides for many of the current generation of LaserJet printers, the manual offers only very basic instructions on loading paper trays.
It doesn't mention anything about whether or not special considerations apply to loading 'sided' paper (such as Letterhead, or Prepunched), and whether or not these are different for Simplex and Duplex print jobs.
The only reference to envelopes appears to be :
"Do not print envelopes, labels, or unsupported sizes of paper from tray 2. Print these types of
paper only from tray 1." -
Wireless Connection Problem with Laserjet Pro MFP M126nw (HELP) :(
I have Laserjet Pro MFP M126nw just bought it last day.
Everthing working fine but i can't able to connect it to my wireless router via WPS PushButton or PIN tried both many times but failed.
I also reset my Router even changed the security level to
· WEP key encryption using either Auto or Open authentication
· WPA and
· WPA2
Tried many times but it says connection failed on the LCD Display.
I have Linksys WRT120N wireless router.
Please help its urgent!Hi @AjayKareer,
I understand that you are unable to setup the printer on the wireless network. I can help you with this.
Make sure the network name doesn't have any spaces or special characters. The printer won't recognize it.
Restore the printer defaults.
On the printer control panel, press the Setup button.
Press the Right Arrow, to select the Network Setup, and then press OK.
Press the Right Arrow, to select the Restore Defaults, and then press OK.
I have provided a document with some steps for setting the printer up on the network.
Installing the Printer Software on a Wireless or Wired (Ethernet) Network.
Configure the wireless by a Ethernet connection if the issue persists.
Print a configuration page to get the printer's IP address.
Printing a Configuration Report.
Then type the IP address into Internet Explorer's address bar to bring up the printer's web page.
Select the networking tab, wireless on the left hand side.
Fill out all your network information, select infrastructure, select your network name, put in the password and type of Encryption if you have this setup or Open for no password. Apply settings.
Then disconnect the Ethernet cable.
Then wait a minute to see if you get a wireless light on the printer, print the configuration page and check the IP address again. Then type the IP address into Internet Explorer's address bar to bring up the printer's web page. That way you will know that the printer is now networked.
Then run the installation.
What operating system are you using? How to Find the Windows Edition and Version on Your Computer.
If you need further assistance, just let me know.
Have a nice day!
Thank You.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP -
HP Color LaserJet MFP M476dn - Impossibly slow ethernet
Win7 - 64 bit on typical small office network setup (Comcast internet, Linksys Router, half computers on wifi, half wired).
Upgraded from terrible old Brother multi-function printer.
We print some files from remote desktop (using redirected printers.. as in, the remote desktop session has the ability to print through our computers to our local printer).
Sometimes the files are large (10-20mb).. and the Brother printer sends it right over in about 1 second.
New HP Color LaserJet MFP M476dn goes as slow as you can imagine.. I can sit a watch the printing dialog box and watch it 256kb........512kb........768kb.......... out of 15mb.
I have tried a bunch of combinations of different drivers (PCL5 etc), link speeds on the printer, RAW processor, Port types, and so on, but can't find the right combination..
I should mention that we are using the exact same ethernet cord as the old Brother printer. Also, the HP is set to a Static IP.
Please help!
Thanks,
EricI had this exact problem. I've had the printer for about a month and it was very fast at first. I really like the printer, especially the duplex ability. Over the past week or so it became excruciatingly slow. I just finished downloading the new firmware and drivers but before installing them something made me check the Ethernet cable which is plugged into my Airport Extreme 802.11n Gigabit router. It was loose and partially pulled out so I plugged it back in all the way and the printer went back to printing the way it is supposed to.
You might want to give this a try. Perhaps try another Ethernet cable or direct connection via USB if that doesn't work.
Frank -
HP LaserJet MFP M476dw paper size mismatch when copying or scanning from ADF
We have HP Color LaserJet MFP M476dw that has an issue when copying or scanning from the ADF.
Put a single A4 sheet in the ADF and choose copy, with all settings correct & no resizing, and the output copy is moved down the page (increased top marging by a couple of inches).
My initial thoughts were a paper size issue (e.g. treating A4 as Letter or vice versa) but all settings look correct. I have even done a reset and started over and the problem remains.
If I take the original and place it on the flatbed and copy from there with all the same settings then it works fine.
There is a similar issue when scanning from the ADF. Again, scanning from the flatbed works fine.
I've tried all I can think of. Does anyone have any further suggestions? Could it be a fault in the ADF?
Here's the full device settings info:
Device Configuration
[Shop for Supplies][Support]
Product Information
Product Name:
HP Color LaserJet MFP M476dw
Formatter Number:
YF10C9X
Serial Number:
CNB7G2H6T9
Service ID:
24113
Firmware Datecode:
20131122
Disable Fax:
No
Telecom Version:
05-031-001
Location:
UK
ADF Installed:
Yes
Max Monochrome Print Quality:
600x8
Max Color Print Quality:
ImageREt 3600
Controller Number:
72
Duplexer Version:
0
Device Description:
HP Color LaserJet MFP M476dw
Language:
English
Default Settings:
Self-managed
Asset Number:
Your Company Name:
Contact Person:
Device Location:
Geo Location:
Product Security:
Off
Wired HW Address:
fc:15:b4:78:28:46
Wireless HW Address:
54:35:30:2f:d7:fc
Network In Use:
Wired
Host Name:
NPI782846
IPv4 Address:
192.168.9.18
IPv6 Address:
FE80::FE15:B4FF:FE78:2846
Total Memory:
256 MBytes
Available Memory:
117.7 MBytes
Installed Personalities and Options
PCL6
(20040201)
AirPrint
PCL
(20040201)
PDF
(20040201)
PS
(20040201)
USB Flash Drive:
Empty
Impressions
Total Impressions:
10684
Monochrome Impressions:
4799
Color Impressions:
5885
Total Equivalent Impressions (A4/Letter):
10684.0
Monochrome Equivalent Impressions (A4/Letter):
4799.0
Color Equivalent Impressions (A4/Letter):
5885.0
Duplex Sheets:
1223
Jam Events:
0
Mispick Events:
4
Photo Color Impressions:
0
Photo Monochrome Impressions:
0
USB Flash Drive Insertions:
0
Images Scanned to USB Flash Drive:
0
Copy Flatbed Images Scanned:
373
Copy ADF Images Scanned:
409
Copy Monochrome Impressions:
1122
Copy Color Impressions:
102
ADF Images Scanned to Host:
0
Flatbed Images Scanned to Host:
0
Images Scanned to E-mail:
0
Images Scanned to Network Folder:
0
Fax ADF Images Scanned:
23
Fax Flatbed Images Scanned:
1
Fax Impressions:
18
Images Sent from PC:
0
ADF Images Scanned:
1149
Flatbed Images Scanned:
779
Scanner Jam Events:
8
Paper Settings
Default Paper Size:
A4
Default Paper Type:
Plain
Tray 1 Size:
A4
Tray 1 Type:
Letterhead
Tray 2 Size:
A4
Tray 2 Type:
Plain
Paper Out Action:
Wait Forever
Manual Feed:
Off
Duplex:
Off
Bind:
Long Edge
Print
Auto Continue:
Off
Number of Copies:
1
Courier Font:
Regular
Orientation:
Portrait
Monochrome RET:
On
Wide A4:
No
Monochrome Resolution:
600
Monochrome Bits per Pixel:
8
Color Resolution:
600
Color Bits per Pixel:
32
IO Timeout:
120 Seconds
Jam Recovery:
Auto
Personality:
Auto
Print PS Errors:
Off
USB Flash Drive
Print Documents:
Number of Copies:
1
Paper Size:
A4
Paper Type:
Plain
Fit to Page:
On
Collation:
Off
Output Color:
Color
Print Photos:
Image Size:
10 x 15 cm
Paper Size:
A4
Paper Type:
Plain
Lighter/Darker:
<-----*----->
Number of Copies:
1
Output Color:
Color
Scan Settings:
Scan Resolution:
150
Scan File Type:
PDF
Scan Paper Size:
A4
Flatbed Scanner:
Single Page
Document Feeder:
1-Sided
File Name Prefix:
scan
Output Color:
Color
Copy
Optimize:
Auto Select
Lighter/Darker:
<-----*----->
Paper Size:
A4
Paper Type:
Plain
Collation:
On
Number of Copies:
1
Reduce/Enlarge:
Original=100%
Draft Mode:
Off
Tray Select:
Auto Select
Two-Sided:
1-Sided to 1-Sided
Multi-Page Copy:
Off
Fax
Your Company Name:
HP Fax
Answer Mode:
Automatic
Rings to Answer:
2
Distinctive Ring:
All Rings
Dial Prefix:
Off
Fax Resolution:
Fine
Lighter/Darker:
<-----*----->
Fit to Page:
On
Glass Size:
A4
Dialing Mode:
Tone
Redial if Busy:
On
Redial if No Answer:
Off
Redial if Comm. Error:
On
Detect Dial Tone:
Off
Billing Codes:
Off
Extension Phone:
On
Stamp Faxes:
Off
Private Receive:
Off
Confirm Fax Number:
Off
Allow Fax Reprint:
Yes
Print Duplex:
Off
Fax/Tel Ring Time:
20
Fax Speed:
Fast (V.34)
Error Correction:
On
Forward Fax:
Off
Block Junk Faxes:
Off
Phone Line Volume:
Medium
Alarm Volume:
Medium
Ring Volume:
Medium
Key-Press Volume:
Medium
Fax Confirmation:
Never
Fax Error Report:
Never
Include First Page:
On
Auto Log Print:
On
Print T.30 Trace:
Never
Paper Types
Plain:
Normal
HP Matte 90g:
Normal2
HP Matte 105g:
Heavy
HP Matte 120g:
Card stock
HP Matte 150g:
Extra Heavy
HP Matte 200g:
Extra Heavy
HP Glossy 120g:
Glossy
HP Glossy 150g:
Glossy
HP Tri Glossy 150g:
Glossy
HP Glossy 200g:
Heavy Glossy
Light 60-74g:
Light
HP EcoSMART Lite:
Extra Light
Intermediate:
Normal2
Mid-Weight 96-110g:
Heavy
Heavy 111-130g:
Card stock
Extra Heavy 131-175g:
Extra Heavy
Hvy Glossy 111-130g:
Light Glossy
X-Hvy Glossy 131-175g:
Glossy
Card Glossy 176-220g:
Heavy Glossy
Color Transparency:
Transparency
Labels:
Label
Letterhead:
Normal
Envelope:
Envelope
Heavy Envelope:
Heavy Envelope
Preprinted:
Normal
Prepunched:
Normal
Colored:
Normal
Bond:
Heavy
Recycled:
Normal
Rough:
Heavy
Heavy Rough:
Heavy
HP Tough Paper:
Tough Paper
Opaque Film:
Tough Paper
Energy Settings
Sleep/Auto Off After:
30 Minutes
Wake on These Events
USB Job
Yes
LAN Job
Yes
Wireless Job
Yes
Control Panel
Yes
Fax Ring
Yes
Shut Down After:
Never
LaserJet Updates Settings
Check Automatically
Yes
Prompt Before Install
Yes
Allow Downgrade
Yes
Allow Updates
Yes
Miscellaneous
Extended print modes modified:
No
Very Low Setting (Black Cartridge):
Prompt
Very Low Setting (Color Cartridges):
Prompt
Low Threshold (Black Cartridge):
5%
Low Threshold (Cyan Cartridge):
3%
Low Threshold (Magenta Cartridge):
3%
Low Threshold (Yellow Cartridge):
3%
Store Usage Data:
On Supplies
USB Connection:
No
Font Source:
I (Internal)
Font Number:
23
Font Pitch:
10.00
Font Point Size:
12.00
Symbol Set:
PC-8
Form Length:
64 Lines
Append CR to LF:
NoTo get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums.
I hope this helps!
R a i n b o w 7000I work on behalf of HP
Click the “Kudos Thumbs Up" at the bottom of this post to say
“Thanks” for helping!
Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution! -
How to enable a partner application for Single Sign-On?
Can someone please advise me on how to enable my existing J2EE web application for the Oracle Single Sign-On?
My requirement is i want to provide the single sign-on authentication service to my J2EE web application. For this, I would like to make my application as a partner application similar like the OracleAS Portal.
I am using Oracle 10g ( OralceAS, Oracle Infra, OID ...)
I found the following service/APIs which Oracle provides. I am not sure which one is suitable for me.
1. mod_osso ( Static)
--- In this case, I have to make a entry in mod_osso.config file to protect the URL. should I have to register the URL again through single sign on admin page ("Administer Partner Application") after make a entry in config file?
2. mod_osso ( Dynamic directive)
-- in this case, I have to modify the code by providing the directives like 401, 499.. etc. So i don't prefer this as i don't want to touch my app.
--If I go with this option, should i have to register the URL with Single sign on server through SSO admin page ( as mentioned in the above step#1) ?
3. SSO SDK
- Since it was deprecated and need java coding, i am prefer this option.
-- however, if i go with this option, i will develop code by using SDK. in this case i need to register the URL in SSO server through admin page.. am i right?
Note:- OSSO server integrated with Active Directory for the authentication.
Thanks,
-Senthilsharon38_74 wrote:
they said that our internal application needs to send a "login request" to etran via SSL with the user's information encoded in base 64 format. etran captures the HTTP header containing user authentication and authorization information, and parses the required information from the HTTP header.
My question is that how I set user information in HTTP header? From my understanding, once I am able to set the user information in HTTP header, it is in base 64 format?Your application need to act like a proxy. You can invoke a HTTP request programmatically using java.net.URLConnection. You can set request headers using URLConnection#setRequestProperty(). Also see the API docs: [http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html]. You only need to know the header field name where to set the Base64-encoded value in. You need to Base64-encode the value yourself. -
How to enable excel downloading in ALV grid report.
Hi all,
How to enable excal downing in ALV grid report?
Thanks in Advance.
Siva Sankar.hi
check the following code
Example of a Simple ALV Grid Report
REPORT ZTUFI091 .
*& Report ZDEMO_ALVGRID *
*& Example of a simple ALV Grid Report *
*& The basic requirement for this demo is to display a number of *
*& fields from the EKKO table. *
*REPORT zdemo_alvgrid .
TABLES: ekko.
type-pools: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
is_variant = z_template
tables
t_outtab = it_ekko
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select ebeln ebelp statu aedat matnr menge meins netpr peinh
up to 10 rows
from ekpo
into table it_ekko.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table it_ekko lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform.
FORM USER_COMMAND *
--> R_UCOMM *
--> RS_SELFIELD *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*& Form BUILD_EVENTS
Build events table
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[].
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " BUILD_EVENTS
*& Form BUILD_PRINT_PARAMS
Setup print parameters
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
*& Form END_OF_PAGE
form END_OF_PAGE.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
endform.
*& Form END_OF_LIST
form END_OF_LIST.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
skip.
write:/40 'Page:', sy-pagno .
endform.
hope it will help you
regards
sreelatha gullapalli
Maybe you are looking for
-
How many users can login via one Skype account
Dear you, i am planning for my group which will use one Skype account so how many people can login with the same Skype account ? thanks for your seeing and help... Nguyen
-
Lync's Capability to act as a Chat based Tool
We are using OCS 2007 R2 for a client. We want to use it Chat based help desk tool. The functionality which we are looking for is user logs in to his client based application and starts a chat based session with company's helpdesk. He gets the choice
-
IPhone 3G went into recovery mode after installing iTunes 9.0 and 3.1 OS
Hi there, I recently had to waste about 2hrs time, to get a not working 3.1 OS update fixed on my iPhone 3G. This is not the kind of hassle I would expect from Apple! I am using a MacBook with OSX 10.5.6 and an iMac with SnowLeopard and iTunes 9.0. W
-
Mac OS 8.0 + 8.6?
Hello, So, I have a Power Mac G4 Mirror Drive Doors 2003 model with 1.25 ghz dual processors and 2MB L3 Cache per processor. For nostalgic reasons, I would like to see if there is a way to run through emulation, naturally, Mac OS 8 or 8.6. I guess I
-
Radeon X1900 XT replacements?
I have a first-generation Mac Pro (MacPro1,1) with Tiger, and an ATI Radeon X1900 XT. For reasons that I'm sure are clear to anyone familiar with the X1900 or its reviews, I'm looking to get it replaced. What are my options? I know Apple sells the NV