Webservice Header Issue ( Authentication required )
Dears I am developing client application to consume webservice, the webservice developer sent me the wsdl file and the sample SOAP request , all look fine for me
the issue that when I am trying to call the webservice it returns an error message ( Authentication Required ) but I am sending the user name and the password in the header as expected.
here is the Sample SOAP
<soapenv:Envelope xmlns:fax="http://fax.po.ws.apps.oracle.xxdof/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:UsernameToken wsu:Id="UsernameToken-5A2B82D9EE5888AE0414252886487322"><wsse:Username>weblogic</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">weblogic1</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">jMqFQqEM30Yp+t3tP+8meg==</wsse:Nonce><wsu:Created>2015-03-02T09:30:48.732Z</wsu:Created></wsse:UsernameToken></wsse:Security></soapenv:Header>
<soapenv:Body>
<fax:faxStatus>
<!--Optional:-->
<arg0>0</arg0>
<!--Optional:-->
<arg1>0</arg1>
<!--Optional:-->
<arg2>0</arg2>
<!--Optional:-->
<arg3>0</arg3>
<!--Optional:-->
<arg4>0</arg4>
<!--Optional:-->
<arg5>0</arg5>
</fax:faxStatus>
</soapenv:Body>
</soapenv:Envelope>"
and below the request I am sending
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<o:UsernameToken u:Id="uuid-90e0f212-3dc0-4913-96a8-175697d5240d-1" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<o:Username>username</o:Username>
<o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</o:Password>
<o:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">JY+mppXhcmr+Rl/kzURVoYKFKa4=</o:Nonce>
<u:Created>2015-03-18T09:43:26.248Z</u:Created>
</o:UsernameToken>
</o:Security>
</s:Header>
<s:Body>
<faxStatus xmlns="http://fax.po.ws.apps.oracle.xxdof/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<arg0 xmlns="">0</arg0>
<arg1 xmlns="">1</arg1>
<arg2 xmlns="">2</arg2>
<arg3 xmlns="">3</arg3>
<arg4 xmlns="">4</arg4>
<arg5 xmlns="">5</arg5>
</faxStatus>
</s:Body>
</s:Envelope>
Can you please point me what I am missing here
thanks
wasim
Hi,
In the Sample SOAP, the username and password are weblogic and
weblogic1. But the request you are sending are
username
and password which are not the authenticated account.
You need make sure that the username and password you passed are authenticated
account.
Similar Messages
-
Proxy Authentication required(Acess denied)
I created simple java web service (java class with single method it takes two arguments) with SAOP messgae format as document/wrapped using JDeveloper 10.1.3.1.
I created one ESB project in ESB for this same application.
In ESB project i created one Routing service here i givven physical path of WSDL file.
And also i created one SOAP service here i given URL of WSDl file.
After that I register that web service in ESB.Registration was done successfully.
After that I log in to OC4J console, here i able to find my web service under webservices tab.
Now i tested this webservice ,but it is giving some exception proxy Authentication required(Acess denied).
this is Exception
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 407 Proxy Authentication Required ( Access is denied. )
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1460)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1182)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 407 Proxy Authentication Required ( Access is denied. )
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1460)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1182)
... 39 more
</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
can any one help me in this case please.
Any help is highly appreciableI got the same issue : runs fine via web test, doesn't work via generated Jdevelopers proxy class. Both machines are within same local network. Tried setting uid/pwd same as oc4j admin crendentials - didn't work :
WARNING: Unable to connect to URL: http://10.75.0.122:8888/ws_1-context-root/WebService1SoapHttpPort due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 407 Proxy Authentication Required
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 407 Proxy Authentication Required
at ws_1.proxy.runtime.WebService1SoapHttp_Stub.echo(WebService1SoapHttp_Stub.java:94)
at ws_1.WebService1SoapHttpPortClient.echo(WebService1SoapHttpPortClient.java:45)
at ws_1.WebService1SoapHttpPortClient.main(WebService1SoapHttpPortClient.java:33)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 407 Proxy Authentication Required
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:172)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:148)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at ws_1.proxy.runtime.WebService1SoapHttp_Stub.echo(WebService1SoapHttp_Stub.java:78)
Thank you!
V. -
Invalid Response Code: (407) Proxy Authentication Required
Hi all,
I have created a EJB that will access an external webservice to receive data and will display it in a jsp. But when i call it, i get the folllowing error-
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeExcpetion: Invalid Response Code: (407) Proxy
Authentication Required (The ISA Server requires authorization to fulfill the request. Access to the Web Proxy is denied)
I have already set the proxy user name and password in <i>visual admin</i> under <i>destinations</i> and also under <i>Web Services Container->Runtime->Settings</i>. Still i get this error. I checked a couple of threads here, that answer to my problem, but none helped! Am i missing something?
Thanks in advance,
SwarnaHi Swarna
What is the patch level that you are running on?
May be the "auth-scheme" element required by the HTTP specification is missing in the "Proxy-Authorization" HTTP header.
I think that the solution is there in the new support packages or the patch update.
Please check out the latest support packages and apply them.
This should solve your problem.
Regards
Sumit Jain
**Reward with points if useful -
How do I permanently remove "Authentication Required" window that continues to pop up?
I am running Firefox 15.0.1 on Mac OS 10.6.8. A window continues to pop up that reads, "Authentication Required" and "Enter username and password for ftp://ftp.radiogarage.com". This happens every time Firefox is opened and continues to pop up approximately every 30-60 seconds until I close Firefox. How do I permanently remove/delete/get rid of this pop up window? I have clicked on Help > Troubleshooting Information > Reset Firefox but that has not solved the issue. Thank you in advance for your assistance.
It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder
*http://kb.mozillazine.org/Profile_folder_-_Firefox
Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
*http://kb.mozillazine.org/Multiple_profile_files_created -
On Hold (Authentication Required)
Hi All,
I'm having an issue with my clients about printing, everytime they submit a print job to any printer installed on a Windows Server 2008 print server the job will be put on hold in the job queue.
On Hold (Authentication Required)
When you click on "Resume" on the toolbar it ask the user for their credentials. Problem is, this is not save on the client's keychain.
But when you change the name from "Doe,John" to it's login name "jdoe", it logs in just fine.
I guess my questions are:
1. How or What do I do so when the window above popup, client user just need to check the "Remember this password in my keychain" and then click OK button and then credentials will be saved in the keychain.
2. How or What do I need to change that when the window above popup, it'll say "jdoe" instead of "Doe,John".
3. Is there a command that I can type on the Mac OS Server Terminal or a setting I can change on the server that will save this problem of mine.
We have 230 Mac Clients and their's 30 more coming, there must be a way to do it on the terminal or on the server so it affects all the Mac clients that's in the domain.
Additional Info:
User is authenticated thru Active Directory, Users are being managed thru Open Directory.
Active Directory is Windows 2008 64bit, Mac OS X Server 10.6.8
Print Server is Windows 2008
Your Help is greatly appreciated. Thanks.
Mawie3Not a problem at all
Alright, after trying both commands I still get this lovely bit in my console for cups.
I [25/Mar/2008:11:24:00 -0700] [Job 57] Authenticated by "".
Each command generated a line:
I [25/Mar/2008:11:23:12 -0700] New printer "printer" added by "jimmyeatapple".
I [25/Mar/2008:11:26:15 -0700] Printer "printer" modified by "jimmyeatapple".
The printer "printer" it is referencing here, is that in my print list (because I don't see it)? Is it the default schematic for a new printer? Should I add a new printer after having run these commands?
Message was edited by: jimmyeatmud -
Fiori Wave 2 Launchpad HTTP 511 Network Authentication Required
Dear expert,
When I try to call the Fiori launchpad, it returns the code of HTTP 511 Network Authentication Required. BEFORE the login screen shows.
Also error: GET /sap/bc/ui5_ui5/ui2/ushell/shells/abap 401 Unthorized.
However if I maintain the ushell service in SICF on LOGON DATA tab with a specific user A103296.
The homepage(with error "unable to load groups") comes out directly without the login screen.
For "unable to load groups", it says 401 Unauthorized for PAGE_BUILDER_PERS.
However I have both the authorization SAP_UI2_ADMIN_700 and SAP_UI2_USER_700 for A103296.
I suppose there's no need to maintain the logon data for SICF service,right?
On the other hand, Launchpad Admin screen runs smoothly without any issue.
Could you please help on this? Masayuki Sekihara
Thank you very much indeed!
Thanks,
ChloeHi Masa,
The issue is solved.
Because the customer's /bc/ui5_ui5/ui2 service logon ABAP class was changed from /UI2/CL_SRA_LOGIN to /IWFND/CL_COC_SYSTEM_LOGIN.
Change the class back to /UI2/CL_SRA_LOGIN and is able to log on to the launchpad now.
But cannot figure why this error message shows about "authentication".
Thanks,
Chloe -
Webfonts are not loading for certain sites (407 Proxy Authentication Required)
Hello,
I'm running into an issue with CSS web fonts: They often don't load.
This happens in both FF4RC and the latest FF3.6. I'm behind a proxy (an ISA server I believe), and everything is set up correctly (as far as I can tell) in about:config.
Today I tried the [https://mozillademos.org/demos/runfield/demo.html Runfield demo]. Everything except the fonts (using google fonts api) loads and the game runs fine. Other browsers load the page (including fonts) without any problems.
A quick look in Firebug reveals that the proxy is returning "407 Proxy Authentication Required", but only for the font files. Everything else on the page is loaded correctly. Again, other browsers on the same machine (e.g. Chrome, IE9, Opera 11) load the font files without issue.
What's more, if I grab the URL and load it directly, it works fine, downloading the .woff file without issue.
This happens with the Google Fonts API, but I'm also seeing the problem on FontFonter.com and FontDeck.com.
However, Typekit.com works fine and so do the webfonts on this page.
(I've tried restarting Firefox without add-ons and it makes no difference.)
Thanks in advance for any pointers.A-ha! It seems to be a bug! [https://bugzilla.mozilla.org/show_bug.cgi?id=627616 #627616]
-
How to fix SOAP Security Header UsernameToken is required for operation?
hi all,
can somone help me how to resolve the error "javax.xml.ws.soap.SOAPFaultException: SOAP Security Header UsernameToken is required for operation" when i run a client.
i got a WSDL and using wsdl2java i generated the stubs
Here is my client code
public final class LiteratureClient {
public final static QName SERVICE = new QName("http://siebel.com/asi/",
"Literature");
public final static URL WSDL_LOCATION;
private LiteratureClient() {
static {
URL url = null;
try {
url = new URL(
"file:c:\\reprintwsdl\\http___siebel.com_asi__Literature17.WSDL");
} catch (MalformedURLException e) {
System.err
.println("Can not initialize the default wsdl from file:http___siebel.com_asi__Literature17.WSDL");
// e.printStackTrace();
WSDL_LOCATION = url;
public static void main(String args[]) throws Exception {
System.out.println(WSDL_LOCATION);
Literature obj = new Literature(WSDL_LOCATION, SERVICE);
DefaultBindingSpcLiteratureSpcWS port = obj.getDefault();
Client cxfClient = ClientProxy.getClient(port);
cxfClient.getInInterceptors().add(new LoggingInInterceptor());
cxfClient.getOutInterceptors().add(new LoggingOutInterceptor());
cxfClient.getOutInterceptors().add(new SiebelPasswordInterceptor());
com.siebel.xml.literatureio.iterature inputObj = new com.siebel.xml.literatureio.lterature();
inputObj.setDocId("1234");
// Query by ID
LiteratureQueryByIdlInput input = new LiteratureQueryByIdInput();
com.siebel.xml.iteratureio.ListOfliteratureio list = new com.siebel.xml.iteratureio.ListOfliteratureio();
list.getLiterature().add(inputObj);
input.setListOfliteratureio(list);
LiteratureQueryByIdOutput output = obj.getDefault().LiteratureQueryById(input);
This is the interceptor which i added to the client before performing the query operation
public class SiebelPasswordInterceptor extends AbstractPhaseInterceptor<SoapMessage> {
public static final String SECURITY_TAG_NAME = "wsse:Security";
public static final String SECURITY_NAMESPACE = "http://schemas.xmlsoap.org/ws/2002/04/secext";
public static final String USERNAME_TOKEN_TAG_NAME = "wsse:UsernameToken";
public static final String USERNAME_TAG_NAME = "wsse:Username";
public static final String PASSWORD_TAG_NAME = "wsse:Password";
public static final String PASSWORD_TEXT_ATTRIBUTE_NAME = "wsse:PasswordText";
public static final String TYPE_TAG_NAME = "Type";
public static final String SECURITY_NAMESPACE_NAME = "wsse";
public static final String SECURITY = "Security";
public SiebelPasswordInterceptor() {
super(Phase.PREPARE_SEND);
public void handleMessage(SoapMessage message) {
List l = message.getHeaders();
Document d = DOMUtils.createDocument();
Element securityParent = d
.createElementNS(
SECURITY_NAMESPACE,
SECURITY_TAG_NAME);
Element userNameToken = d.createElementNS(
SECURITY_NAMESPACE,
USERNAME_TOKEN_TAG_NAME);
Element userName = d
.createElementNS(
SECURITY_NAMESPACE,
USERNAME_TAG_NAME);
userName.setTextContent(getUsername());
userNameToken.appendChild(userName);
Element pwdText = d
.createElementNS(
SECURITY_NAMESPACE,
PASSWORD_TAG_NAME);
pwdText.setAttribute(TYPE_TAG_NAME, PASSWORD_TEXT_ATTRIBUTE_NAME);
pwdText.setTextContent(getPassword());
userNameToken.appendChild(pwdText);
securityParent.appendChild(userNameToken);
SoapHeader header = new SoapHeader(new QName(
SECURITY_NAMESPACE, SECURITY,
SECURITY_NAMESPACE_NAME), securityParent);
System.out.println(" HEADER "+header.toString());
l.add(header);
protected String getUsername(){
return "test";
protected String getPassword(){
return test";
I did add this interceptor as out interceptor to my client but for some reason the header is not getting added to the request . can someone pls. help me in troubleshooting this issue.
Thank youThe problem is in <form action="http://www.eastsidestudios.com.au/FormProcessv2.aspx?WebFormID=42582&O ID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={mo dule_cid}"
You have to remove http://www.eastsidestudios.com.au from the action URL and make it relative:
<form action="/FormProcessv2.aspx?WebFormID=42582&O ID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={mo dule_cid}"
Cheers,
-mario -
17:06:13 Synchronizer Version 14.0.6123
17:06:13 Synchronizing Mailbox '[email protected]'
17:06:13 Synchronizing Hierarchy
17:06:13 4 folder(s) added to online store
17:06:13 1 folder(s) updated in online store
17:06:13 Synchronizing local changes in folder 'Inbox'
17:06:13 Error synchronizing folder
17:06:13 [80041004-0-0-430]
17:06:13 Error with Send/Receive.
17:06:13 There was an error synchronizing your folder hierarchy. Error : 80041004.
17:06:13 Synchronizing server changes in folder 'Calendar'
17:06:13 Synchronizing server changes in folder 'Contacts'
17:06:13
17:06:13
*Request*
17:06:13 17:06:13:0590
17:06:13 POST
17:06:13 http://
17:06:13 contacts.msn.com
17:06:13 /ABService/ABService.asmx
17:06:13
17:06:13 <ABFindAll xmlns="http://www.msn.com/webservices/AddressBook"> <abId>00000000-0000-0000-0000-000000000000</abId><abView>Full</abView><deltasOnly>false</deltasOnly></ABFindAll>
17:06:13
*Response*
17:06:13 17:06:13:0870
17:06:13 HTTP/1.1 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
Via: 1.1 TMG
Proxy-Authenticate: Negotiate
Proxy-Authenticate: Kerberos
Proxy-Authenticate: NTLM
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 707
17:06:13
17:06:13
17:06:13
17:06:13 Error with Send/Receive.
17:06:13 There was an error synchronizing a contacts folder. Error : 80004005.
17:06:13 Synchronizing server changes in folder 'Drafts'
17:06:13 Synchronizing local changes in folder 'Inbox'
17:06:13 Error synchronizing folder
17:06:13 [80041004-0-0-430]
17:06:13 Synchronizing server changes in folder 'Sent Items'
17:06:13 Synchronizing server changes in folder 'Deleted Items'
17:06:13 Synchronizing server changes in folder 'Junk E-mail'
17:06:13 Done
17:06:13
17:06:13
*Request*
17:06:13 17:06:13:0870
17:06:13 POST
17:06:13 http://
17:06:13 mail.services.live.com
17:06:13 /DeltaSync_v2.0.0/Settings.aspx
17:06:13
17:06:13 <?xml version="1.0" encoding="utf-8"?><Settings xmlns="HMSETTINGS:"><ServiceSettings><SafetySchemaVersion>1</SafetySchemaVersion><SafetyLevelRules><GetVersion/></SafetyLevelRules><SafetyActions><GetVersion/></SafetyActions><Properties><Get/></Properties></ServiceSettings><AccountSettings><Get><Options/><Properties/></Get></AccountSettings></Settings>
17:06:13
*Response*
17:06:13 17:06:13:0870
17:06:13 HTTP/1.1 407 Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
Via: 1.1 TMG
Proxy-Authenticate: Negotiate
Proxy-Authenticate: Kerberos
Proxy-Authenticate: NTLM
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 707
17:06:13
17:06:13Hi,
According to the log, it seems that TMG firewall denied the request and replied with an HTTP 407 response, indicating that proxy authentication was required. This was done because the Forefront TMG firewall did not have any access rules which would allow
the anonymous request. Please check if you have configured related access rules.
When did you recieve this log? Is there anyting wrong? Which authentication method you have used, Kerberos, NTLM or other?
It seems that each time a web proxy client requests a resource through a Forefront TMG firewall that requires NTLM authentication the client is actually denied twice during the transaction before being successfully authenticated and allowed access. When
the Forefront TMG firewall is configured to use Kerberos there is only a single denied request and HTTP 407 response and then contact a domain controller and obtain a Kerberos ticket to present to the TMG firewall to gain access to the resource.
If you configured the TMG clients with a certain proxy name, please make sure you typed the TMG's domain computer name only (not IP address nor alias).
Best regards,
Susie -
UTL_SMTP and SMTP-Error: 530 Authentication required
Hi,
I wanna use the utl_smtp-package and while testing the example of the 9i-documentation, I got the error:
ORA-29279: Permanent SMTP-Error: 530 Authentication required
The only help I found was the sentence in the docu:
530: Must issue a STARTTLS command first. Encryption required for requested authentication mechanism.
What does it mean and how can I avoid this error?
It's true, that my smtp-account of my provider needs an authentication (pop3 before smtp!)
Thanx a lot!
WolfgangHey, Community Girl! I just spent 2 days ripping my hair out over this same issue... The answer was maddeningly simple/stupid. In Outlook... they ASK for your "user name" and "Password" (on the More Settings Tab). What they
actually WANT is your "email address" NOT your "user name", followed by your password. This is easy.. I hope it works the same for you.
In Outlook, go to Tools, Email Accounts, View or Change, click Next. Highlight account information and click change. In the lower right of the page... Click More Settings.
Click the Outgoing Server Tab.
Check the My outgoing server SMTP requires authorization.
Check Log on Using:
User Name: Do NOT type your user name here... type your email address!
Password: Type in your password.
Check the Remember password box. OK
That one small change FIXED 2 days of hair pulling on my part... I hope that does it for you too.
Let me know... I'd be interested if you fixed it. Wish they had actually asked for what they wanted... User Name or Email Address ARE two different things! Good luck!
South Texan, you're a genius! This 530 Authentication error has plagued me for 3 years now; when I call my internet service, they say it's a router firewall issue; when I call them, they say it's not their issue. Changing the User Name field to
my email address instead of my user account name worked!!!!! Thank you!! -
Print status "On Hold (Authentication Required)"?
After upgrading to 10.5.2, I am now unable to print to the networked laser printers in the Windows network at work. I can see the printers on the domain, but when I try to print nothing happens. When I look at the print status it says "On Hold (Authentication Required)". Printing worked just fine on Tuesday before the software update. I provide my network password but nothing changes. Does anyone know how to solve this problem?
Is there any way to get access to the beta release? Apple pushing out an update that breaks my ability to print anything on a windows network is a MAJOR roadblock. Deleting the printer queue didn't work. I spent two hours of my free time at the local Genius bar and we did get the CUPS workaround (setup the printer using CUPS) working, although it's a crappy solution since it can expose my domain password to someone who visits the right dialog. (Within this thread, I post what I and the fellow at the Genius Bar--yay Bell Square!--did to get this to work: http://discussions.apple.com/thread.jspa?messageID=7097469#7097469)
Please tell me that Apple will be adding a test case for this into their regression test suite. I'd hate to see this problem crop up in the future. I like using Apple products but I'm worried because I'm seeing a lot of quality issues in the software: Mail doesn't populate the ICalendar automatically with calendar events despite checking that setting, right clicking on an ICalender item in an email doesn't always give you the option to view in ICalendar, editing ICalendar events doesn't always work (edit option missing) until you close and restart ICalendar, problems with IChat which I won't get into right now.
My sense is that these are bugs in features that probably worked at one time during the software life cycle but degraded (regressed). This is definitely the case for printing since it did work in 10.5.1. This leads me to believe that Apple doesn't have a good handle on quality, and also points to that Apple may not be using good agile development practices which would allow them to do quick deliveries (such as test automation).
I as a consumer then suffer. If Apple would like help implementing better software practices such as test driven development, automated unit testing, automated system testing, then please contact me.
I'd love to help a company I admire. You have great vision. Your products are OK, though could great if the quality was better. I hope Apple is using great software practices behind that, but from what I see, it doesn't. Sometimes, when I'm pull into the Apple franchise to enjoy a hamburger, I end up getting one that was made from squirrel meat because of problems in the kitchen.
Squirrel go down nearly as well as beef.
Lance Kind
<Edited by Moderator> -
Outlook cannot send e-mail. Error: 530 Authentication Required
Hello everyone,
I'm new at this so I'm confused. E-mails are sitting in my out box but I'm not getting any error messages. When i trouble shoot e-mail settings, I get this error message: "Cannot send the message. 530 Authentication Required." I would appreciate any and all help.Hey, Community Girl! I just spent 2 days ripping my hair out over this same issue... The answer was maddeningly simple/stupid. In Outlook... they ASK for your "user name" and "Password" (on the More Settings Tab). What they
actually WANT is your "email address" NOT your "user name", followed by your password. This is easy.. I hope it works the same for you.
In Outlook, go to Tools, Email Accounts, View or Change, click Next. Highlight account information and click change. In the lower right of the page... Click More Settings.
Click the Outgoing Server Tab.
Check the My outgoing server SMTP requires authorization.
Check Log on Using:
User Name: Do NOT type your user name here... type your email address!
Password: Type in your password.
Check the Remember password box. OK
That one small change FIXED 2 days of hair pulling on my part... I hope that does it for you too.
Let me know... I'd be interested if you fixed it. Wish they had actually asked for what they wanted... User Name or Email Address ARE two different things! Good luck!
South Texan, you're a genius! This 530 Authentication error has plagued me for 3 years now; when I call my internet service, they say it's a router firewall issue; when I call them, they say it's not their issue. Changing the User Name field to
my email address instead of my user account name worked!!!!! Thank you!! -
Gmail authentication required. Won't send emails on Mac
Gmail suddenly stopped sending emails from my mac mini. Authentication required pops up. Did an apple update fairly recently. I have checked the outgoing server and it is was set to gmail offline, however no other choices were given. I have tried everything. I am receiving emails without issue. Please help!
Is it POP or IMAP?
The Password/Authentication rejection can confuse people since it's a catch all meaning...
This Password, Username, Authentication method... is not recognized on this Port to this Server.
If WebMail works in a browser, it's not Name or Password, but one of the other ones.
Or Keychain has more than 2 entries for that account one incoming, one outgoing.
The receiving email ports are:
IMAP is port 143
IMAP-SSL is port 993
POP is port 110
POP-SSL is port 995
Outgoing ports are...
SMTP and SMTP-SSL is on ports 25, 587 and 465. Port 587 has to be SSL, and port 465 is enforced TLS-wrapped and is generally used by Outlook users. -
Environment
Integrated authentication web access with Windows infrastructure. TMG is the network proxy solution.
Device
Computer used is a MacBook Pro running OSx 10.9.4 with latest safari updates
Problem
MacBook Pro devices experience continued random 407 Authentication Required errors. Replicated across 6 different Apple computers that access the network.
Troubleshooting
Tried multiple network configs (Auto, Config file, Proxy address) with no resolution but same results. Removing all passwords from Keychain and also have network passwords in Keychain make little difference.
Wireshark analysis reveals MacBook Pro is handling .wpad/.pac files successfully but fails to respond to TMG authentication request. In the logs it appears the MacBook ignores the request for username/password.
Notes
By refreshing a failed page the website will load correctly 9/10 after random dropout has happened
iPad connections work seamlessly as long as end user inputs username/password when prompted.Hi Juan
That does seem like JMS authentication issues, I have had the same in the past, especially when upgrading or copying content between environments. The RequestCenter and ServiceLink configuration is stored in the following files:
\WEB-INF\classes\config\rcjms.properties
\WEB-INF\classes\config\integrationserver.properties
The JBoss username and password are stored in the application-users.properties under \standalone\configuration or \[RequestCenterServer/ServiceLinkeService]\standalone\configuration
depending on your setup, there may be more than one instance of this file depending of if you are running with one JBoss instance or two. The details here are encrypted, to update these configuration files one will have to manually remove all instances of the jmsuser and use the add-user.bat or add-user.sh scripts under \bin to re-create the user, more instructions on this utility can be found in the 9.4.1 (Not R2) installation guides and early as this step was manually done in those versions. -
Too Many Authentication Required Dialogs
Hi,
I'm using Java 1.6.0_u10, at a client site, behind a Microsoft Proxy (Poxy?) Firewall.
when I try any Applets, or Java Web Start Apps, I get way too many "Authentication Required" Dialogs.
How many is too many? well for me 1, really, but I'm giving up after typing my username/password
- and clicking the "save this password in your password list" - (not sure what that's supposed to do,
if not save me from these dialogs) - for the *+6th+ time*. It seems to be once for every resource accessed, even though
they all come from the same domain - or they should.
In the Java Control Panel, I have tried Manual Proxy Settings, with the same settings from Firefox, System settings and Browser settings.
I'm getting a bit fed up.
Question: Does anyone have trouble free experience of Java Web Start (and plug-in) apps/applets behind an authenticating proxy Firewall?
If so, what's your secret?
After 12 years of Java development, I'm not exactly a newbie. I haven't noticed any of this stuff happening with Flash..and Firefox seems to cope. (although Acrobat reader doesn't manage to update itself, and Netbeans 6.5 is repeated getting me locked out of Windows, but that's another story)
I know the firewall is a nuisance, but if Sun really wants to catch up in the RIA market, it just has to... just work.
Rgds, and thanks for reading, rant over,
Matthew.
Edited by: MatthewHarrison on Dec 1, 2008 5:22 AMThat's really odd.
I'm behind a NTLM authenticating MS Proxy server at work and I don't have an issue with Applets or JNLP.
I'm on Java 1.6.11
There a definitely issues with other software, for instance neither Apple's Safari or Google Chrome (both webkit) will work through the proxy server.
But Java does.
Maybe you are looking for
-
How can I go to a previous version of firefox?
I recently just got firefox updated, unfortunately I hate it. I have the newest system and it's way to different for me. How can I go back to the most recent previous system?
-
PR05 - How to activate a Function in the Object Services Toolbox
Hi, How do I activate a function in the Object Services Toolbox? In transaction PR05 (Travel Expense Manager) select any trip and then click on 'Change'. This takes you to the screen for the individual trip. On the top left of the screen is the 'Obje
-
I have made calendars on my Mac desktop without problems. But on my Macbook, I cannot make calendars, only a book or card. The calendar icon is missing. I re installed the disc with 'bundles' on but it still is not there Any ideas please, if Idid not
-
Problems printing a digitally signed PDF
Hi I'm having problems printing a digitally signed PDF on a dell 968 AIO printer. It works fine on the a majority of printers but we have had reports of issues with other models as well as the dell printer. The PDF prints fine when opened in Adobe Re
-
HI All, I am Using replcase function in xml generatig as below Select Replace(" Test & New" ,'&', '&') from dual; it is asking me to enter value (it is consider as subtitute value). How can i handle '&' in replcase function to replace respective valu