Web Service problem: HTTP/1.1 401 Unauthorized
Hmm, I had a working set-up with Wireless Toolkit client communicating with Sun One Application Server 8 Web Service using 2004Q4 version of J2EE SDK. I just upgraded to 2005Q1 version, and noticed that the web service fails to work anymore.
I took a peek into the SOAP calls, and noticed that Appserver is now returning error message "HTTP/1.1 401 Unauthorized" with content of '0' instead of the SOAP envelope with correct response.
My web service doesn't use any authentication, confidentiality and integrity is set to 0, and there are no roles defined. I can access the web server root and WSDL file just nicely, the problem comes when the midlet connects to the server. It didn't exist with the previous version, everything worked fine there.
What might be the cause of this change in behavior? It seems like it's forcing me to authenticate but I don't want to and have no idea what kind of credentials it would then be asking for.
Ah, a bit testing and I figured it out myself. For some reason, to use the endpoint without authenticating, transport-guarantee & login-config should be left unset intead of 'none' which I used to have there. Mighty peculiar behavior - but it works now.
Similar Messages
-
Authenticating web services -- get Invalid Response Code:(401) Unauthorized
Hi,
ich have implemented a websirve in dynpro java (thanks for all the guys who wrote guides for that), but i still have a problem. i have to set username and password for authorization.
i have already tested follwoing code:
reqMo.wdSetInvocationModifier(
new IWDWSInvocationModifier() {
public void doModifyInvocation(Object port) {
// Creating the SOAP Header node.
HTTPControlInterface http = HTTPControlFactory.getInterface(port);
http.setHTTPProxyUserPass("xxxxx","xxxxxx");
public void doModifyAfterInvocation() {}
but i get same message as follows:
Exception on execution of web service with WSDL
URL 'http://server:port/special/wsdl_report_gen.wsdl' with operation '_-xxxx_-generateReport' in
interface '{urn:sap-com:document:sap:soap:functions:mc-style}XXXX_REPORT_GEN':
Invalid Response Code: (401) Unauthorized. The requested URL
was:"http://server:port/sap/bc/srt/rfc/sap/XXXX_report_gen/111/XXXX_report_gen/XXXX_report_gen";
nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid
Response Code: (401) Unauthorized. The requested URL
was:"http://server:port/sap/bc/srt/rfc/sap/XXXX_report_gen/111/XXXX_report_gen/XXXX_report_gen"
any ideas?
Edited by: Dennis Ahaus on Dec 10, 2008 11:40 AMHi Dennis Ahaus,
If you are using Adaptive webservice model, you can provide the credentials as below.
wdContext.currentXXXXElement().modelObject().setInvokerProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY,"username");
// wdContext.currentXXXXElement().modelObject().setInvokerProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY,"password");
Regards,
VJR. -
SSRS Web Service: works over wire, but 401 Unauthorized from server.
I'm trying to port a program from an older system to a new SSRS 2014 installation, and am having trouble with authorization.
The program uses the SSRS Web Service to get reports from the report server. At present, I can make the web service call from my development machine to the server, and the server responds correctly with the appropriate report. The problem is that I need
the program (making the report request) to run on the same machine as SSRS. When I deploy and run the program from the server (with the exact same credentials that worked over the wire), I get a 401 Unauthorized response.
I've been struggling with this all week, and have gotten nowhere. I'm sure there's something (probably something small) that I missed, but I just can't figure out what it could be. Would really appreciate any suggestions.Hi sbinder1,
According to your description, you have a problem which call web services to use report. It works on development environment. When it runs on report server, it get the 401 error even using same credential. Right?
In Reporting Services, the default authentication type is Windows Integrated authentication. Since we are not clear about your program and the authentication type. If this is an asp.net application with NTLM and you don't bind any credential in the
code, it may have "double hop" issue so that it will connect report with anonymous credential. In this scenario, please configure the Kerberos authentication for Reporting Services. Please refer to the links below:
The Kerberos Double Hop Problem
Enabling Kerberos Authentication for Reporting Services
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Invoking web service with HTTP authentication using OdiInvokeWebService
I did all configurations in OdiInvokeWebService Advanced Editor. When I press "Invoke web service" there are no errors. But when I try to execute this step there is an error:
java.lang.IllegalArgumentException: Bad password format. Make sure that it's an encrypted password.
Text of the command:
OdiInvokeWebService "-URL=http://sapk02:8080/sap/bc/srt/rfc/sap/ZODI_FILE_SER?sap-client=800&wsdl=1.1" "-PORT_TYPE=ZODI_FILE_SER" "-OPERATION=ZODI_FILE" "-HTTP_USER=user" "-HTTP_PASS=_321321_"
*<?xml version = '1.0' encoding = 'UTF8'?>*
*<ZODI_FILERequest>*
*<ZODI_FILE>*
*<FILE>/tmp/temp1.txt</FILE>*
*</ZODI_FILE>*
*</ZODI_FILERequest>*
When I fill HTTP password edit manually and try to execute there is another error:
*com.sunopsis.wsinvocation.SnpsWSInvocationException: AxisFault*
*faultCode: {http://xml.apache.org/axis/}HTTP*
*faultSubcode:*
*faultString: (401)Unauthorized*
Text of the command:
*OdiInvokeWebService "-URL=http://sapk02:8080/sap/bc/srt/rfc/sap/ZODI_FILE_SER?sap-client=800&wsdl=1.1" "-PORT_TYPE=ZODI_FILE_SER" "-OPERATION=ZODI_FILE" "-HTTP_USER=user" "-HTTP_PASS=*aIyHMmFSmTzVm1V08nTf"
*<?xml version = '1.0' encoding = 'UTF8'?>*
*<ZODI_FILERequest>*
*<ZODI_FILE>*
*<FILE>/tmp/temp1.txt</FILE>*
*</ZODI_FILE>*
*</ZODI_FILERequest>*
ODI Version 11.1.1.3.0I've gotten past the original error by importing the security certificate of the Web service into my keystore/truststore. I'm also running the process on SOA 10.1.3.1.0. Now when I invoke the Web service from the BPEL process I get this error:
exception on JaxRpc invoke: HTTP transport error:
javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
javax.xml.soap.SOAPException: Bad response: 403 Forbidden
I've tried passing the credentials every way I can -- partner link properties, Oracle Web Services Manager, whatever -- and still get the same error. I would expect to see a 401 error for problems with credentials, not a 403.
Any suggestions?
Thanks for your time.
Paul Camann -
Trex Indexing giving HTTP Status Code 401:Unauthorized error
Dear All,
We have configured TREX search on KM repository of our EP
production server and trying to search using the same our KM repository.
The TREX is installed on the a separate server.
When we try to Index production repository the documents are failing in
the Preparation failed status with return code 6401 and error message
HTTP Status Code 401: Unauthorized.
I also applied SAP-Note 650521 and checked id index_service user and
found that its active and not locked but still issue didnu2019t get
resolved. Moreover i have gone thru most of the previous post regarding this topic but didt help.
I even checked the URL Generator service too which is fine.
On one test system also where SPNego is configured we are getting same
401 error. On this system we disabled SPnego and Indexing started working
fine. When we reverted back the SPNego configuration for confirmation of
our observation we found that it again started to give 401 error.
Any help in this regard will be appreciated.
Regards,
Srinath Pillai
Edited by: Srinath Pillai on Sep 3, 2009 8:59 AMDear
Open System Administration--> System Configuration> Knowledge Management--> Content Management> Global Services (Mode : Advanced)> Index Management Service--> Check for Crawling Service User it has to be index_service
If still you have problem than do let me know where is your Repository located are the documents are stored on Portal Server itself or it is stored on some external server...
What kind of repository you use CM Repository(Mode:DB,DBFS,FSDB) , File System Repository....e.t.c....
Regards
Akshit -
Received HTTP response code 401 : Unauthorized
Hi Experts!
I know there are lots of posts regarding Received HTTP response code 401 : Unauthorized, and I read a lot of them.
Unfortunately I got not the solution to my problem.
I have following scenario: async; oneway; xml via DataPower (SOAP) to SAP PI to Service Consumer
When sending a message it is led over the DataPower to the PI, but it is not processed through.
It enters the MP and it is successfully put into the queue. You can see the details below.
15.02.2012 15:12:34.611 Information MP: entering1
15.02.2012 15:12:34.614 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
15.02.2012 15:12:34.616 Information SOAP: request message entering the adapter with user PI**
15.02.2012 15:12:34.620 Information SOAP: request message leaving the adapter (send)
15.02.2012 15:12:34.620 Information The application tries to send an XI message asynchronously using connection SOAP_http://sap.com/xi/XI/System.
15.02.2012 15:12:34.624 Information Trying to put the message into the send queue.
15.02.2012 15:12:34.676 Information SOAP: call completed
15.02.2012 15:12:34.676 Information SOAP: completed the processing
15.02.2012 15:12:34.676 Information Message successfully put into the queue.
15.02.2012 15:12:34.676 Information The application sent the message asynchronously using connection SOAP_http://sap.com/xi/XI/System. Returning to application.
15.02.2012 15:12:34.678 Information MP: leaving
15.02.2012 15:12:34.682 Information The message was successfully retrieved from the send queue.
15.02.2012 15:12:34.700 Information The message status was set to DLNG.
15.02.2012 15:12:34.922 Error Transmitting the message to endpoint https://<sid>.XXX:port/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 401 : Unauthorized.
15.02.2012 15:12:34.940 Information The message status was set to WAIT.
15.02.2012 15:12:34.941 Information The asynchronous message was successfully scheduled to be delivered at Wed Feb 15 15:17:34 CET 2012.
I can't say, why I get the 401-response.
From PI Message Monitoring: Monitor Messages I get following informations:
Message-ID MSG-ID
Richtung OUTBOUND
Message-Headers content-length=14391
http=POST
content-type=multipart/related; boundary=SAP_MSG-ID_END; type="text/xml"; start="<soap-MSG-ID[at]sap.com>"
Message-Typ Send
Verbindungsname SOAP_http://sap.com/xi/XI/System
Credential SAPPasswordCredential(PIAFUSER):password=********:sapclient=009:saplang=en:sapsysid=<SID>
Fehlerkategorie XI_J2EE_ADAPTER_XI_HANDLER
Fehlercode SEND_CONSUMER_ERROR
Statusdetails Messaging: allgemeiner Fehler
Quality-of-Service EO
Empfängerkomponente
Referenz-ID
Senderkomponente SENDER_COMP
Sequenz-ID
Serialisierungskontext
Status systemError
Einplanungszeit 2012-02-15 13:49:38.579
Start Time Wed Feb 15 13:34:37 CET 2012
Transport HTTPS
Gültig bis
Protokoll XI
Persistenz bis 2012-02-16 13:34:37.373
Endzeitpunkt Wed Feb 15 13:49:39 CET 2012
Anwendungskomponente
Softwarekomponente
Service-Definition
Wurde bearbeitet false
Any clues?
Many thanks in advance
HolgerHi Ravi,
it's the Java stack's port.
Hi Venkata,
1. Check whether service user maintained in the SM59 destination is with Roles of std. user PIAPPLUSER, PIISUSER
The Problem is, that the message is not processed in the PI. I don't see them at SXMB_MONI.
Today I see them on the RWB at the message-monitoring, but only because they are set after the 3rd try to send them to NDLV.
I can see the messages, after they are triggered, in the comm-channel-monitoring by selecting the appropriate channel.
2. Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
Checked the PIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
3.May be wrong password for user PIISUSER.
There was a pwd-change in january, but the passwords are all correctly replaced.
Thank you for your help!
Holger -
Can't re-add printer after removing from eprint center - 'Web Services Problem'
I have an HP Photosmart Premium C310 series printer (Model Number CN503B) which I have been using with ePrint for about 18 months. Aside from intermittent issues it has worked, I use a chromebook most of the time so rely on the ePrint option via Google Cloud Print.
Last week it stopped working, with every job in the list showing as cancelled. Following advice on the forum I removed the email address of the printer from the eprint center. I thought it would then be simple to add the printer back. However, I have been unable to connect the printer to the web service so I cannot create the code I need to add the printer back.
STEPS TO REPRODUCE:
1. Factory reset printer settings
2. Factory reset network settings
3. Restart printer and Reboot router
3. Settings -> Network -> Wireless Setup Wizard
4. Choose correct SSID, enter password for WPA
5. ‘Connected to Network’
6. Settings -> Web -> Enable Web Services
7. ‘Accept terms’ screen -> Accept
8. ‘Checking for product updates’ screen shows briefly then returns to 'accept terms' screen
9. Next it makes a ping sound and shows ‘Web Services Problem’ ‘Problem connecting to Web Services Server’, it then pings again a few seconds later (which ties in with what I see in the network logs as a second attempt)
10. Log on to printer via web interface and set IP address of printer to manual IP outside DHCP range (as advice on other threads in this forum). Check DNS setting valid (same as gateway server which all other devices on network are also using successfully as DNS)
11. Repeat steps 6 and 7 - still same error message
I consider myself technically savvy and have followed all advice I can find on this forum including the following:
1. reverting to printer and network defaults
2. rebooting router
3. assigning static IP address to printer outside of DHCP range of router
4. connecting to printer via web interface and setting DNS to variously: same as gateway, google DNS (8.8.8.8), ISP DNS
5. adjusting firewall settings on router to explicitly allow and log outbound connection on the HP ports (already had a rule allowing all outbound connections)
As mentioned, the printer worked fine with ePrint previously so I suspect the ePrint server is rejecting a request from my printer for some reason, maybe because there is old / corrupt data on the server regarding my specific printer.
I’m logging outbound traffic from the printer and here are what the router logs show me (printer IP replaced with 192.168.x.x below, even though it is not public )
Thu, 2013-04-11 09:13:42 - TCP Packet - Source:192.168.x.x, 36475 Destination:15.201.202.81,80 - [HTTP rule match]
Thu, 2013-04-11 09:13:43 - TCP Packet - Source:192.168.x.x, 51463 Destination:15.201.224.79,443 - [HTTPS rule match]
Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 53044 Destination:15.201.224.79,443 - [HTTPS rule match]
Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 51463 Destination:15.201.224.79,443 - [HTTPS rule match]
Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 53044 Destination:15.201.224.79,443 - [HTTPS rule match]
Thu, 2013-04-11 09:13:51 - TCP Packet - Source:192.168.x.x, 64270 Destination:15.201.224.79,443 - [HTTPS rule match]
Looks like both are HP sites: first is 'g4t2674.houston.hp.com' and the second secure one is ‘registration-pro-site2eprint.houston.hp.com’ which sound likely to be correct. That suggests the DNS is working but that the registration server doesn’t like the request for some reason.
I had the printer registered for Google Cloud Print but I have now deleted that also and it doesn’t seem to have made any difference (assume it just formats and forwards to the HP ePrint email anyway).
One hack that sheds some further light is to switch off wifi on the printer and then switch on ePrint. Eprint gives an error but stays set as 'on'. When I then switch wifi back on I can then at least check for product updates (it tells me I have the latest product updates). However, web services are still a 'no go'. Network traffic for that product update exchange looks like this:
Thu, 2013-04-11 10:14:51 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x ,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
So clearly the printer can communicate to those servers well enough to find it has the latest firmware.
I realise this is a lot of information but hopefully some of it is helpful for troubleshooting.
Thank you in advance for any help!The issue disappeared this weekend. I didn't change anything so it must have been something server side. I notice others with the same issue have also seen it resolved.
Thanks to all those who contributed and tried to help out. Although disappointed I went for a long time without ePrint I'm glad that action was apparently taken to resolve in the end. -
PL/SQL Web Service problem in Oracle10g
Hi everybody
I try to publish PL/SQL Web Service using JDeveloper 9.0.4.0 and Oracle10g.
But when I deploy the Web Service using 'http-web-site', error messages are:
oracle.oc4j.admin.internal.DeployerException: Unknown site: http-web-site
Active sites are:
file:/D:/oracle/DS/j2ee/home/config/default-web-site.xml
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:131)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.bindWebApp(DefaultApplicationServerAdministrator.java:364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Exit status of OC4J admin tool (-bindWebApp): 17
Use the following context root(s) to test your web application(s):
http://huan:????/CSE5200-PLSQLWS-context-root
Note: JDeveloper was unable to determine the HTTP port number of the remote server for the above URL(s).
Elapsed time for deployment: 2 minutes, 19 seconds
When I change it to 'default-web-set', the following information is shown:
---- Deployment started. ---- 2004-8-31 8:50:08
Target platform is Standalone OC4J (WSConnection).
Wrote WAR file to D:\oracle\DS\jdev\mywork\CSE5200\PLSQLWS\WebServices.war
Wrote EAR file to D:\oracle\DS\jdev\mywork\CSE5200\PLSQLWS\CSE5200-PLSQLWS-WS.ear
Invoking OC4J admin tool...
D:\oracle\DS\jdk\jre\bin\javaw.exe -jar D:\oracle\DS\j2ee\home\admin.jar ormi://huan/ admin **** -deploy -file D:\oracle\DS\jdev\mywork\CSE5200\PLSQLWS\CSE5200-PLSQLWS-WS.ear -deploymentName CSE5200-PLSQLWS-WS
Notification ==> Application Deployer for CSE5200-PLSQLWS-WS STARTS [ 2004-08-31T08:50:32.487EST ]
Notification ==> Undeploy previous deployment
Notification ==> Copy the archive to D:\oracle\DS\j2ee\home\applications\CSE5200-PLSQLWS-WS.ear
Notification ==> Unpack CSE5200-PLSQLWS-WS.ear begins...
Notification ==> Unpack CSE5200-PLSQLWS-WS.ear ends...
Notification ==> Initialize CSE5200-PLSQLWS-WS.ear begins...
Notification ==> Initialize CSE5200-PLSQLWS-WS.ear ends...
Notification ==> Initialize WebServices begins...
Notification ==> Initialize WebServices ends...
Notification ==> Application Deployer for CSE5200-PLSQLWS-WS COMPLETES [ 2004-08-31T08:50:45.766EST ]
Exit status of OC4J admin tool (-deploy): 0
D:\oracle\DS\jdk\jre\bin\javaw.exe -jar D:\oracle\DS\j2ee\home\admin.jar ormi://huan/ admin **** -bindWebApp CSE5200-PLSQLWS-WS WebServices default-web-site /CSE5200-PLSQLWS-context-root
Exit status of OC4J admin tool (-bindWebApp): 0
Use the following context root(s) to test your web application(s):
http://huan:8890/CSE5200-PLSQLWS-context-root
Elapsed time for deployment: 53 seconds
---- Deployment finished. ---- 2004-8-31 8:51:01
And the Web Service still can not work. I did this before with JDeveloper 9.0.3 with Oracle9i and succeeded. Could anybody tell me how to resolve this problem. Thanks a lot.Thanks Frank.
In my function package i create xml use dbms_xmldom. I save created xml into clob and return this clob in function.
Now I want create web service that return my clob(xml).
I try use JDevelper with PL/SQL Web Service Wizard.
But I get wrong result (see in my first post).
My Example xml in clob
<test>"testvalue"</test>
I want get responce
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
X-Powered-By: Servlet/2.5 JSP/2.1
SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
Date: Thu, 28 Oct 2010 08:23:31 GMT
X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
Content-Length: 279812
X-HTTPAnalyzer-RuleName: Pass through :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<env:Header/>
<env:Body>
<m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
<result><test>"testvalue"</test>
</result>
</m:udoFDicnomnsXmlWsResponse>
</env:Body>
</env:Envelope>
But I get
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
X-Powered-By: Servlet/2.5 JSP/2.1
SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
Date: Thu, 28 Oct 2010 08:23:31 GMT
X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
Content-Length: 279812
X-HTTPAnalyzer-RuleName: Pass through :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<env:Header/>
<env:Body>
<m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
<result>& lt;test>&quot;testvalue&quot;& lt;/test>
</result>
</m:udoFDicnomnsXmlWsResponse>
</env:Body>
</env:Envelope>
Can you advice something?
Edited by: user10707438 on 28.10.2010 1:14
Edited by: user10707438 on 28.10.2010 1:27 -
Web Service Problem! URLs are basically broken.
We recently updated our SQL Server 2012 SSRS implimentation from 11.0.3339 (SP1 CU2) to 11.0.3381 (SP1 CU6). We are on Server 2008 R2 SP1. I am pretty certain that this is related to the Cumulative update since I have 6 seperate
and entire clusters doing the same exact thing but I can't find a fix on CU7.
Two symptoms started popping up pointing to a problem with the SSRS Web service.
Symptom 1
1. Before the change, our emailed SSRS subscriptions were sent out with a valid link, now they error out.
Reporting Services Error
An error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-96-130358835578081507. Most likely, the HTTP request contains an unsupported verb or invalid syntax. (rsHttpRuntimeError) Get Online Help
Unable to validate data.
SQL Server Reporting Services
2. Before the change you could drill down our SSRS URL through the web service.
http://servername/reportserver/folder/report and then when you click on a report name, it would display the report, like you'd expect for the web service. Now you get this error:
Reporting Services Error
An error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-27-130358853340658138. Most likely, the HTTP request contains an unsupported verb or invalid syntax. (rsHttpRuntimeError) Get Online Help
Unable to validate data.
SQL Server Reporting Services
Can anyone else reproduce it or better yet do you know of a fix?
Thanks,
KeithHi Keith,
The issue may be due to Federal Information Processing Standard (FIPS) was enabled on SSRS server. Please refer to the following steps to fix the issue:
Use Notepad to open the web.config file of Report Server and Report Manager. In SSRS 2012, the default location is: C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer
(Note: Please backup the file before modify it.)
Add the following <machineKey> section in the <system.web> section:
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" decryption="3DES"/>
Reference: http://support.microsoft.com/kb/911722/en-us
Hope this helps.
Regards,
Alisa Tang
If you have any feedback on our support, please click
here.
Alisa Tang
TechNet Community Support -
Error calling external web service over HTTPS
Hi everyone
I'm trying to call an external web service over HTTPS, and continually get the following error:
com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Peer sent alert: Alert Fatal: handshake failure
I haven't tried doing this before, so not quite sure where to start. I have a client certificate that must be used to access the remote web service, and I think the problem is associating the client cert with the web service call.
Has anyone else tried this before? Any suggestions of where to look?
I've had a brief look at Key Storage in NWA, but it's not something I'm familiar with - so not sure if it's even the right place to be looking.
Some help on this would be great!
Thanks
StuartThanks Aleksandar
Here's the output from the trace. Unfortunately the SAP forums don't allow attachments, so it may be difficult to read. Please let me know if you see anything that may help.
Thanks
Stuart
Time Severity User Thread Location Message
09:18:23:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:23:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=com.sap.engine.services.dbpool.cci.CommonConnectionHandle@fa1b67
09:18:24:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:24:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=com.sap.engine.services.dbpool.cci.CommonConnectionHandle@4c8af
09:18:24:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:24:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=com.sap.engine.services.dbpool.cci.CommonConnectionHandle@b6981b
09:18:25:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:25:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=[email protected]
09:18:25:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:25:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=[email protected]
09:18:26:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:26:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=[email protected]
09:18:26:203 Debug Administrator HTTP Worker [0] ~es.espbase.client.jaxws.cts.CTSProvider [com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider] 'nonProxyHosts' are configured '10.|127.|192.168.*'.
09:18:26:203 Debug Administrator HTTP Worker [0] ~es.espbase.client.jaxws.cts.CTSProvider [com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider] 'nonProxyHosts' default value is '10.|127.|192.168.*'.
09:18:26:203 Debug Administrator HTTP Worker [0] ~es.espbase.client.jaxws.cts.CTSProvider Loadin mapping file from location :[c:/mapping.txt]
09:18:26:203 Debug Administrator HTTP Worker [0] ~es.espbase.client.jaxws.cts.CTSProvider Additional file for CTS configuration can not be found [c:\mapping.txt (The system cannot find the file specified)].
09:18:26:203 Debug Administrator HTTP Worker [0] ~es.espbase.client.jaxws.cts.CTSProvider >>>>>>>>> ERROR: Could not find mapping for service QName=vipSoapInterfaceService, class=class com.verisign._2006._08.vipservice.VipSoapInterfaceService
09:18:26:203 Debug Administrator HTTP Worker [0] ~es.espbase.client.jaxws.cts.CTSProvider com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider: Creating client instance with WSDL URL [https://pilot-vipservices-auth.verisign.com:443/prov/soap/val/soap] (vipSoapInterfaceService) <com.verisign._2006._08.vipservice.VipSoapInterfaceService>
09:18:26:203 Debug Administrator HTTP Worker [0] ~es.espbase.client.jaxws.cts.CTSProvider com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider: Using SAP JAX-WS Implemetation to create service delegate.
09:18:26:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:26:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=com.sap.engine.services.dbpool.cci.CommonConnectionHandle@5586b0
09:18:26:687 Path Administrator HTTP Worker [0] ~s.espbase.wsdl.exceptions.WSDLException Exception : Peer sent alert: Alert Fatal: handshake failure
java.lang.Exception
at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1230)
at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:147)
at com.sap.exception.BaseException.<init>(BaseException.java:89)
at com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException.<init>(WSDLException.java:34)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:140)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:91)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:80)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.loadWSDLDefinitions(SAPServiceDelegate.java:201)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.initWSDL(SAPServiceDelegate.java:159)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.<init>(SAPServiceDelegate.java:113)
at com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider.createDelegate(CTSProvider.java:170)
at com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider.createServiceDelegate(CTSProvider.java:151)
at javax.xml.ws.Service.<init>(Service.java:57)
at com.verisign._2006._08.vipservice.VipSoapInterfaceService.<init>(VipSoapInterfaceService.java:41)
at JEE_jsp_result_6740550_1225116575421_1225116585468._jspService(JEE_jsp_result_6740550_1225116575421_1225116585468.java:64)
at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:433)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
Caused by: org.w3c.www.protocol.http.HttpException: Peer sent alert: Alert Fatal: handshake failure
iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
at iaik.security.ssl.r.f(Unknown Source)
at iaik.security.ssl.x.b(Unknown Source)
at iaik.security.ssl.x.a(Unknown Source)
at iaik.security.ssl.r.d(Unknown Source)
at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source)
at iaik.security.ssl.SSLTransport.getOutputStream(Unknown Source)
at iaik.security.ssl.SSLSocket.getOutputStream(Unknown Source)
at org.w3c.www.protocol.http.g.markUsed(Unknown Source)
at org.w3c.www.protocol.http.HttpBasicServer.getConnection(Unknown Source)
at org.w3c.www.protocol.http.HttpBasicServer.runRequest(Unknown Source)
at org.w3c.www.protocol.http.HttpManager.runRequest(Unknown Source)
at org.w3c.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at org.w3c.www.protocol.http.HttpURLConnection.a(Unknown Source)
at org.w3c.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(URL.java:1007)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
at com.sap.engine.lib.xml.parser.Parser.parse_DTDValidation(Parser.java:282)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:293)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:146)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:132)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:91)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:80)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.loadWSDLDefinitions(SAPServiceDelegate.java:201)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.initWSDL(SAPServiceDelegate.java:159)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.<init>(SAPServiceDelegate.java:113)
at com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider.createDelegate(CTSProvider.java:170)
at com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider.createServiceDelegate(CTSProvider.java:151)
at javax.xml.ws.Service.<init>(Service.java:57)
at com.verisign._2006._08.vipservice.VipSoapInterfaceService.<init>(VipSoapInterfaceService.java:41)
at JEE_jsp_result_6740550_1225116575421_1225116585468._jspService(JEE_jsp_result_6740550_1225116575421_1225116585468.java:64)
at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:433)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:240)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
09:18:27:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:27:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=com.sap.engine.services.dbpool.cci.CommonConnectionHandle@20ba3c
09:18:27:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:27:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=[email protected]
09:18:28:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:28:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=com.sap.engine.services.dbpool.cci.CommonConnectionHandle@26e3bf
09:18:28:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:28:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=[email protected]
09:18:29:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:29:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=com.sap.engine.services.dbpool.cci.CommonConnectionHandle@f827f6
09:18:29:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:29:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=com.sap.engine.services.dbpool.cci.CommonConnectionHandle@a8646a
09:18:30:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:30:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=[email protected]
09:18:30:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:30:687 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=com.sap.engine.services.dbpool.cci.CommonConnectionHandle@c449f1
09:18:31:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out About to get connection from DS
09:18:31:187 Info caf_gp_svcuser Thread[Timer-8,5,ApplicationThreadGroup] System.out DS connection=[email protected]
09:18:31:593 Info Administrator HTTP Worker [3] System.out SessionImpl::getContext():[ B E G I N ].timerId=15
09:18:31:593 Info Administrator HTTP Worker [3] System.out SessionImpl::getContext():[ E N D ].timerId=[id:#15, elapsed: 0 ms.] -
How to invoke a web service using https
Hi,
I have a few security related questions surrounding BPEL process manager.
1. Does the BPEL engine have the capability to invoke a web service using https (HTTP over SSL)? Does it automatically do that if partner link URI starts with https:// ?
2. If not, what needs to be done to enable accessing a https based web service?
3. I need to write a web service that accepts a message and updates certain information in the database. The web service will be deployed in an OC4J instance in Oracle App Server. We want to allow the web service to be accessed from BPEL only by users registered in the database. What is the recommended way to pass username and password to a webservice if service is invoked from BPEL process manager? Note that specifying username/password in bpel.xml is not an option.
Thanks,
Pranav1. Does the BPEL engine have the capability to invoke a web service using https (HTTP over SSL)? Does it automatically do that if partner link URI starts with https:// ?
We currently don't have support for HTTP over SSl. We are working on it to include this functionality in near future.
2. If not, what needs to be done to enable accessing a https based web service?
I am not sure it is possible with current product offering. I will confirm it after discussing with our concerned development group. There is some work going to integrate with Oblix security mechanism [recently acquired by Oracle].
3. I need to write a web service that accepts a message and updates certain information in the database. The web service will be deployed in an OC4J instance in Oracle App Server. We want to allow the web service to be accessed from BPEL only by users registered in the database. What is the recommended way to pass username and password to a webservice if service is invoked from BPEL process manager? Note that specifying username/password in bpel.xml is not an option.
This will be easier to do if we can use Oblix along with BPEL PM. Could you please let us know more about your application so that we can provide you the customized solution till it's part of the product. You can send this query to [email protected] so that our product management team can give you more detailed roadmap regarding this.
HTH.
Thanks,
Rakesh -
ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http
I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
when browsed through some of the messages they point to setting Oracle Wallet Manager.
I am trying to connect
Any idea on how to resolve this issue ?
your input is appreciated.
Thanks
RaviDuplicate post ... please ignore.
-
Urgent web service problem. can not find url of WSDL
Hi all,
I met a web service problem recently.
1 I have set up a web service and reside it on Java System Application server9.0. But there's a bug of this web server, which will stop after the user log off the server. I have installed the Application server as a windows service. It suppose to run all the time. I don't know why the server stop after I log off.
2 For that reason, I tried to migrant my web service from the java application server to Tomcat5.5. I deployed my web service to folder webApps. But I don't know the WSDL url of the web service, which is the web reference for my frent-end c#.net application.
Anybody can give me some idea?
Many thanksNobody knows?
Please help me -
Help needed to resolve Received HTTP response code 401 : Unauthorized
2011-04-08 11:37:48 Error Transmitting the message to endpoint http:---/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized
while i was executing file to file scenario. the error occoured.
Edited by: subbuk76 on Apr 8, 2011 8:12 AMAs the error indicates, the username/PWD you are using in file adapter to write the file (FTP) at target location is incorrect and hence the error. Please check and let us know.
3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
Description: The request requires user authentication
Possible Tips:
u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
u2022 If the error is in Adapter Engine
u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
u2022 May be wrong password for user XIISUSER
u2022 May be wrong password for user XIAFUSER
u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
Also, for HTTP errors in future do refer this blog:
/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
It will help you -
Any OOB Web Service or HTTP adapter in OIM for Recon?
Is there any OOB, Web Service or HTTP adapter available in OIM using which, User account data can be reconciled from a SOA service?
Ya web service is available. You can go through Design Console Guide chapter 12 for more. If you need any help for that just let me know.
Depends on the OIM Installation, you have to run the following commans:
For windows-
OIM_HOME_Dir\setup\spml_AppServerName.cmd appserver_admin_password oim_db_user_password
For unix:
OIM_HOME_Dir/setup/spml_AppServerName.sh appserver_admin_password oim_db_user_password
These are for non-clustered environment.
If you want to create your won WS, then
Create a dummy RO in OIM and your favorite java web service package (i.e. Apache Axis2) and create a small server app (i.e follow the example in the quick start (qs) guide in Axis2). Deploy the server side app on any app server that you happen to have handy (or follow the instructions Axis2 qs guide). Deploy the client side as provisioning process for your dummy object.
Edited by: Struggler
Maybe you are looking for
-
How to insert data from different internal table into a data base table
hi all, I want to insert a particular field in an internal table to a field in a data base table.Note that the fields in the internal table and database table are not of the same name since i need to insert data from different internal table
-
What is the T.code in SAP R/3 for SAP console applications
sequence picking in Hall 52. Batch number 0017137168 was assigned to 2 associates. One associate was assigned to the picks and the other associate confirmed the TO'S This is requirement by client What is the T.code in SAP R/3 for SAP console applic
-
Hi, What is the difference between the foll infoobjects in 2lis_02_itm,2lis_02_scl ? validity period start actual start period posting period document created on requested delivery date goods issue date thanks in advance
-
I have AE CS3. When I first got it I could put texts on the screen and put an animate in AND an animate out effect to the text for title screens for my Premiere projects. Now for some reason I can only put one effect to the same set of texts. As long
-
Hi All, I have an ECC 6 running on SQL 2005, Windows Server 2003 R2, I want to restore the same DB to another ECC 6 server, and connect it to the restored SQL DB. for that purpose I prepared the new machine with new ECC 6 installation and then i rest