ACS Configuration Web Services: query problem
I don't know if this is the correct place to ask, I couldn't find a specific ACS category.
I am trying to do a query, according to chapter 4 in the ACS 5.3 Secure Access Control System 5.3
My URL is:
https://myurl/Rest/Identity/IdentityGroup/op/query
doing a PUT request
have a header of Content-Type: application/xml
and my payload is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:query xmlns:ns2="query.rest.mgmt.acs.nm.cisco.com">
<criteria xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:SimpleFilter">
<simpleFilter>
<propertyName>identityGroup</propertyName>
<operation>EQUALS</operation>
<value>AllGroups:Migrated_Group:NetworkEngineer</value>
</simpleFilter>
</criteria>
<numberofItemsInPage>100</numberofItemsInPage>
<startPageNumber>1</startPageNumber>
</ns2:query>
I get back:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:restResult xmlns:ns2="common.rest.mgmt.acs.nm.cisco.com"><errorCode>61000</errorCode><httpCode>400</httpCode><moreErrInfo>XML Parsing Error: Unable to create an instance of com.cisco.nm.acs.mgmt.rest.query.AbstractFilter. </moreErrInfo><operationType>NOT_AVAILABLE</operationType><resourceType>NOT_AVAILABLE</resourceType><status>BAD_REQUEST</status></ns2:restResult>
and a 400 Bad Request.
Can you tell me what I am doing wrong?
All I want to do is get a list of users who belong to that group?
Jerry
I learned that a simple filter does not need the ... bracketiing, so this would work:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:SimpleFilter">
identityGroup
EQUALS
AllGroups:Migrated_Group:NetworkEngineer
100
1
- See more at: https://supportforums.cisco.com/message/3863518#sthash.PpJTEbyv.dpuf
Similar Messages
-
How to configuration web service in bw that I can open query in explore ?
Hi
Can anyone tell me how to configuration web service that when I click " luanch in web browser "in BEX Anaylzer , Display Query on the web in BEx query Designer open rsplan modeling on web ,what parameter will be configuration ,give me step to step to configuration
thanks very muchconfigure a messager service and some paramers
thanks very much! -
hello colleagues,
In the phase Connect Diagnostics dont show the Agent available in SLD, but when go to SLD i have the agents,
Error,
Connect Diagnostics Agent
The table does not contain any data
Agent availables in all SLD
SOAP:1.007 SRT: Unupported xstream found: ("HTTP Code 401 : Unauthorized")
Web service invocation problem on host hostname and port 8000 protocol : http logical port name : LP_WS_SMDAGENT_MONITORING
ThanksOK, then pls follow below steps;
- Go to step 'Create Users' in solman_setup System Preparation scenario and make sure the user SM_INTERN_WS has a green status. Use the 'Test Login' button to make sure the user is not locked and has correct credentials maintained in solman_setup
- Immediately after checking the user status, navigate to Configure Connectivity->Enable Web Services and execute again the 'Create Logical Ports' automatic activity, in order to propagate the correct credentials to the Logical Port definitions.
- If the above operation is not successful, repeat the two steps above, providing a different user Id in 'Create Users' step, eg SM_INTERN_W1. This will prevent situations where the user gets locked by Logical Ports using an obsolete password.
Let me know the results.
Regards,
Vivek -
How to configure Web service using transaction SOAMANAGER?
Hi SDN,
I have followed this article to configure using transation SOAMANAGER.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20b723f8-a422-2c10-aca5-fe64eeda1ff2&overridelayout=true
but I have some issues about looking for ECC_PURCHASEORDER003QR in default_host/sap/bc/srt/xip/sap of above article.
I can not configure Web service and go to steps further.
The system is ECC 6.0 release 7.
How can be done?
Thanks,
Luu,Hi,
> but I have some issues about looking for ECC_PURCHASEORDER003QR
You mean you can't see this service in sicf or you have trouble locating this service in SICF. Can you specify what exactly your problem is?
Please check if you are on correct Ehp (Enhancement pack) required for this service. This service available with Ehp4.
To check enhancement pack goto System->status and check component information i.e. SAP_APPL release is 603 in my system which means I am on Ehp3.
Regards,
Gourav -
Siebel CRM Web services query limit 100 rows
Hi everyone,
A have an little problem here.
I need get accounts, contacts and oportunitys from Siebel CRM in clound using SIEBEL web service query methods BUT this web service allow me only 100 rows per query and I need more because at this moment I am using ODI interfaces for load XML response file into database tables and ODI don´t have an loop and so on...
My question is:
Is possible eliminate this limitation in administrative painel or something like?
Thanks in advice..
José Rodrigo
Edited by: user7286844 on 27/09/2011 14:07What version of Siebel are you using? There was a bug in some versions when session management was used but it worked okay in other scenarios, e.g., when the user id and password were passed in the URL. This bug (id 12-1KXYCJ7 and 12-1KXYCJ7) has been fixed (more than once by the look of it). I have not noticed the same in 8.1.1.1.
-
Can a web service query a database at set intervals?
Can someone verify if this is feasible?
I need to display live data via browsers . I would like to have the query to the database executed server side and have the web service provide the data to the browsers.
Here is what I propose :
I would like to have a web service run on a web server for an intranet.
Have the web service query a database every 20 seconds and update the data into a table or an array variable.
On the browser side I want the browser to refresh every 20 seconds with the updated data from the web service.
Any other recommendations would be greatly appreciated.
Thank you.
Chris W.Hi ChrisTW1,
Thank you for posting in MSDN forum.
Based on your issue, I suggest you can try to use the JS to call the web service to set the intervals. For more information about how to use the JS to call the web service to set the intervals, please see:
http://www.codeproject.com/Tips/647322/Calling-ASP-NET-Webservice-using-JavaScript-on-Reg
In addition, since
this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. If you have any issues about the set the
intervals for the web service, I suggest you can post this issue directly to the WCF forum:https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf, maybe
you will get more help.
Hope it help you!
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to use and configure web services in sap
Hi,
Experts,
could you please tell me, how to configure web services in sap.
As one of my client using handheld software for inventory, where in whatever tansaction happens in the depot it has to update in sap.through non sap software please help me out with necessary configuration.
Thanks
Edited by: Ahmed quadry on Jun 9, 2009 2:25 PMHi Ahmed,
Kindly find the below link will helps you to create web service in SAP
http://wiki.open-esb.java.net/Wiki.jsp?page=BAPIWEBSERVICE
Also find the below documents will helps you to create web services in SAP
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/06adbf03-0a01-0010-f386-d8e45561a3c4
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3004a2d2-0653-2a10-779c-f5562b3fac39
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/bb0764f2-0b01-0010-bd85-c7849b40561e
Regards
Venkata Rao .G -
Configuring Web Services for Oracle XML DB
Hi all...
I think I need some help one this subject....
We have a 10G Release 2 Oracle single instance ( not RAC) install on a Linux Redhat v5.3 64 bit server. Are developers are user Visual Studio .Net and wnat to send xml files to a web service so that the xml file (containing data) can call a PL/SQL package (to be written) which will take the data out of the xml input file and insert rows into a prefined table within the instance. Now they have browsed the web and have come upon the following links...
http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb_web_services.htm
http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb22pro.htm#i1026724
Currently, within the database I looked at the schema XDB and have unlocked the account and connected as the user XDB. There are some 680 objects in the following groups...
SQL> select object_type, count(*) from dba_objects where owner='XDB' group by object_type;
OBJECT_TYPE COUNT(*)
SEQUENCE 2
PROCEDURE 5
OPERATOR 8
LOB 334
LIBRARY 12
PACKAGE 20
PACKAGE BODY 17
XML SCHEMA 25
TYPE BODY 5
TRIGGER 12
TABLE 36
INDEX 51
FUNCTION 5
INDEXTYPE 2
VIEW 2
TYPE 144
16 rows selected.
Now in the links above it mentions that the xdbconfig.xml needs to be altered etc. However, I have searched the entire $ORACLE_HOME and there is no file definition of that description.
From a DBA prospective...what do I have to install on the Linux server? I assume from the Oracle Database 10g Companion Products I need to lay down Oracle HTTP Server in a new Oracle home as the first step...or not? Does the HTML DB need to be installed as well?
And for Configuring Web Services for Oracle XML DB...what else has to be installed? And from what product line?
Thanks in Advance....
Cheers
RoegrHi Marco...
First of all ...thanks for the reply.
I followed the link and the infor in that web page. However, there were a few things that did not work....
1. The http://localhost:8080/ as is brought up a web page withe the heading as
==========
ORACLE DATABASE 10g EXPRESS EDITION LICENSE AGREEMENT..
==========
The other browser test ftp://localhost:2100/
did not find any page?
2. Then I went onto running (as the sysdba) the pl/sql to enable the ORAWSV Entry Service
however it error out. So I did a describe on DBMS_XDB and the function deleteServlet does not appear
then I had a look and this link to > http://www.liberidu.com/blog/?p=471
was for 11G and the other link > http://docs.oracle.com/cd/B28359_01/appdev.111/b28369.pdf
was for 11G.
However, we are on 10G
=================
SQL> select * from V$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
==================
So is there must be other sql for 10G?
Cheers
Rog -
Configure Web Services Security in PI 7.1
Hi,
I'm getting an error message when using the XI adapter to send encrypted data. I am using SAP PI 7.1 EHP1 SP3.
*Communication error Proxy calls are not permitted on sender or receiver side on the IS (client)
Error during message security handling in outbound channel: Security profile 'Sign and Encrypt Message' *
According to my research I need to get my basis team to configure Web Services Security. I've found the Netweaver 04 configuration guide but I don't think this is relevant. The following help has information on web services security but little or no information.
http://help.sap.com/saphelp_nwpi711/helpdata/en/44/bc872fc60b7006e10000000a155369/frameset.htm
Is anyone able to point me towards the right document?>
Park Saeiam wrote:
> Hi
>
> May be that partner you define Integration System not Application system in Business system. try define to application system.
>
> Thanks
> Park
or try use Business services instead. -
Hi all,
can anyone help me with question on how to configure web services so that it'll be able to run all projects on the web made with JDeveloper suit. Actually it's a great product, works pretty stable in my case(I didn't see any bugs so far). I can even run all jsp and xml files through JDev facilities, but I could not find any information on how it is supposed to work on it's own. There must be something like service that will fire up JVM to work with servlets and jsp. Can I do it with JRun server? PLease help me...The servlet's and JSP's that you develop (and debug) from within JDeveloper will work in any web server supporting servlets and JSP's, respectively.
For example, you could use the servlet engine support in:[list][*]Oracle IAS 1.x[*]Apache JServ[*]Oracle8i 8.1.7 ("Oracle Servlet Engine" - OSE)[*]JRun, with any of the web server listeners that it supports[*]Jakarta Tomcat[*]ServletExec from NewAtlanta[*]etc.[list]
Most of the above support JSP's as well. -
SOAP web service: query parameter?
Hi guys,
I'm a newbie when it comes to web services and I've hit a problem that I didn't expect. I've exposed several SOAP services using the JAX-WS and WebLogic which are working fine. I've tried implementing an access key security mechanism such as Amazon does by adding a filter in front of the service's handling servlet to check for an access key sent as an HTTP query parameter. So basically, the service that was exposed at the following URL:
http://localhost/company/service
must now be accessed using the following URL:
http://localhost/company/service?accessKey=123
The filter checks the accessKey parameter and short-circuits the request if the wrong access key is sent.
While this approach works well with JAX-RS web services, it doesn't seem to be working as well with JAX-WS web services: adding the parameter makes WebLogic return a 404 error instead of processing the request. I'm convinced I've seen web services being called with query parameters and that this can be done, but I don't see how. Any ideas anyone?
Cheers!It seems that the servlet generated by Workshop doesn't handle extra parameters too well. I've managed to get it working by tweaking the filter so that it lets WSDL retrieval requests pass through but still filters the other requests. Everything is working fine.
-
Error while configuring Web service Navigator
Hi Every one,
I installed the "NW Sneak preview" 640 with SP11. I created the a Web service for the Java Bean and deployed it. But i am not able to see the deployed Web service in the "Web service Navigator". When i tried to configure it, i am getting the following error
<b>Error connecting to server "http://<localhost>:50000"
(http://<localhost>:50000/inspection.wsdl)
com.sap.engine.webservice.javarpc.exceptions.invalid response code.
Invaild Response code (404) Not found.</b>
When i am clicking the SQL Trace, UDDI client, and Web service Navigator of "http://localhost:50000/index.html" page i am getting a 404 error.
Can any one tell me how to solve this problem?
Thank you
BhaskarHi Bhaskar,
Slim edition has some apps deactivated. You can deploy them with Visual Admin in the deployment service.
regards,
Flavio Lazanha -
Web Service connect problem, Please Help!!!
I developed a web service end point following the pattern of adventure as Purchase Order End Point Bean,
WSDL is correctly generated for both Server anc Client End:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="DownloadWSService" targetNamespace="urn:DownloadWSService" xmlns:tns="urn:DownloadWSService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types/>
<message name="DownloadWSInterface_downloadWorkAssignments">
<part name="String_1" type="xsd:string"/></message>
<message name="DownloadWSInterface_downloadWorkAssignmentsResponse">
<part name="result" type="xsd:boolean"/></message>
<portType name="DownloadWSInterface">
<operation name="downloadWorkAssignments" parameterOrder="String_1">
<input message="tns:DownloadWSInterface_downloadWorkAssignments"/>
<output message="tns:DownloadWSInterface_downloadWorkAssignmentsResponse"/></operation></portType>
<binding name="DownloadWSInterfaceBinding" type="tns:DownloadWSInterface">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="downloadWorkAssignments">
<soap:operation soapAction=""/>
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></output></operation></binding>
<service name="DownloadWSService">
<port name="DownloadWSInterfacePort" binding="tns:DownloadWSInterfaceBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
and I deployed both server and client end of this web service on Sun One Application 7 (Developer version) successfully, in the application server log, I can see the info :
[#|2004-04-16T15:08:20.865+1000|INFO|j2ee-appserver1.4|javax.enterprise.system.t
ools.deployment|_ThreadID=12;|DPL5306:EJB Web Service Endpoint [DownloadWSInterf
acePort] listening at address [http://localhost:8080/webservice/DownloadWSBean]|#
But when I try to call it on the client side, I got the error and here is the log:
2004-04-16 15:48:28,477 WEB DEBUG [http8080-Processor4] - Port Info is http://localhost:8080/webservice/DownloadWSBean
calling download ws endpoint java.rmi.RemoteException: HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean; nested exception is:
HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean
Could anyone help and point to me a right direction, I have been hunting the problem for days and couldnt find a clue.
Thanks a lot in advance!Hi, I finally solved this problem, the JDNI entry value is not configured properly for the session bean that's built for the service end point.
Changed JNDI value, and use that value in the service locator to look up the session bean home, it worked. -
hi all,
I am publishling the BC4J Component(Application module) as a webservice. The particular web service method will be as follows. The method is returning the element object.
public Element getEmp(String searchString,String selectedItem, int pageNoInput)
return (Element)hits.writeXML(1,Row.XML_OPT_LIMIT_RANGE);
I am securing the web service by the instructions which are given in the following link
http://www.oracle.com/technology/products/jdev/howtos/1013/wssecure/10gwssecurity_howto.html
Then i am creating the proxy client. when i run the proxy client it gives me the following exception
javax.xml.rpc.soap.SOAPFaultException: SOAP must understand error: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:553)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:390)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at aptuitclient.runtime.ReviewProtocolAppModuleServiceSoapHttp_Stub.getEmp(ReviewProtocolAppModuleServiceSoapHttp_Stub.java:91)
at bc4jaswebservice.server.webservice.ReviewProtocolAppModuleServiceSoapHttpPortClient.getEmp(ReviewProtocolAppModuleServiceSoapHttpPortClient.java:58)
at bc4jaswebservice.server.webservice.ReviewProtocolAppModuleServiceSoapHttpPortClient.main(ReviewProtocolAppModuleServiceSoapHttpPortClient.java:44)
When i am removing the security for the web service it is giving the Element object.
The Problem is when i am securing the web service it is giving the above said exception.
Please help me regarding this... this is very urgent...
rgds
ParameswaranHello,
When you are using WS-Security you need to secure the client too. So in your case the client is the ADF Data Control.
The way you should configure your data control is documented here:
- Web Services Security and ADF Data Control
Regards
Tugdual Grall -
Web Service Destination Problem
Hi,
I want to try out this simple example of using a Web service in Visual Composer (http://help.sap.com/saphelp_nwce711/helpdata/en/0d/a467e29b3f4b0db27cec840066e5b1/frameset.htm).
After I have created a destination in the NetWeaver Administrator, I tried to search for Web services in the "Search" panel and I got this error message "Could not complete search. Check log for more information".
It was a surprise to me, because it requires just a simple configuration (copy and paste the WSDL URL (http://www.webservicex.net/CurrencyConvertor.asmx?WSDL), but it did not work out.
I wonder where is the problem and could anyone tell me how can I find out the log information? I suppose it is in the NetWeaver Administrator, right?
Thanks.
Regards,
Joon MengHi,
finally I have located the log for the error in the log viewer.
There are two entries:
1.
SystemHandler: search in system: CurrencyConverter ,function expression : * ,object expression: null failed. Reason: Could not retrieve metadata
2.
(VC-DevServer)(error in search WebServicesProvider/CurrencyConverter)<Localization failed: ResourceBundle='com.sap.ds.core.exceptions.DevserverMessages', ID='SystemHandler#search: Could not find the functions metadata', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key SystemHandler#search: Could not find the functions metadata
There is firewall in my corporate network. Could this be the source of the problem?
Anyone has idea about this?
Thanks in advance.
Regards,
Joon Meng
Edited by: Joon Meng Goh on Sep 2, 2009 10:03 AM
Edited by: Joon Meng Goh on Sep 2, 2009 11:18 AM
Maybe you are looking for
-
My wife and I both have iCloud accounts and would like to share photo's etc. Can any one please advise if this is possible and how to do it? I have a Macbook-pro and Ipad, my wife has a much loved ipad.
-
Boot Camp & Windows 7 -- "Standard VGA Graphics Adapter" (This is wrong.)
Hello, I am hoping I can find some help here, I have purged the internet looking for a solution, all to no avail. Heres the situation: I have a 15" mac book pro unibody. 500 gb hdd 4 gb ram 9600m gt graphics Anyways, I decided to install windows 7 on
-
I am developing a system for web in jsp + oracle and am with the following problem. It would like to allow that an user registered in cadastre in the data base effects logon only one time to the system, or either, when the user will be connected in t
-
Negative values in AIAB, AIBU
Hi, I am tying to post negative values in transactin AIAB & AIBU. System is giving error mesage negative equilance values not allowed. How can I allow negative values. The asset on which negative values are posting , have already configured for negat
-
IWEB - web.me -site name contains duplicate entries in the name
After having link problems in my site, I deleted all entries and republished by selecting "Publish Entire Site". The site was rebuilt, but instead of the site name being http://web.me.com/membername/Welcome.html it is http://web.me.com/membername/htt