Inheritance for webservice parameters
Folks,
please pardon if this topic has been covered before, but my search has not found much on this specifically.
I am working on webservices using weblogic 9.1. Starting with an annotated Java bean, using jwsc/jws tasks to generate EJB, etc. All this is being done using ant scripts outside of the workbench.
I am running into a problem when I try to expose complex types with inheritance as web method parameters. If I have a base class A and classes B and C extend A, when I define webservice method to take A as an argument schema in WSDL does not include declarations for B and C.
If I create 2 separate methods for B and C, then I get correct WSDL.
I get the same behaviour if subclassing is involved with member variables of complex types.
Has anyone solved this problem before?
Thanks in advance for any tips.
Hi,
following link could be helpful for webservice ( OCI) Parameters and configuration..
SAP Supplier Relationship Management - SAP SRM Open Catalog Interface (B2B-OCI) [original link is broken]
Thanks
siva prasad.s
Similar Messages
-
Parameter validation failed. It is not possible to provide valid values for all parameters
I'm trying to test passing in parameter values from the URL. I have RS 2008 . I created an ultrasimple report based on a stored procedure output. There is no validation, No available values, No default values.
I'm trying to run the report like this:
/Reports/Pages/Report.aspx?ItemPath=%2fProduction%2fDBA+Reports%2fTest&iTest=1
I get:
Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError)
the one int parameter is iTestId
The RS log file says the following:
processing!ReportServer_0-54!9138!01/25/2013-09:22:51:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not possible to provide valid values for all parameters., ;
Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not possible to provide valid values for all parameters.
What am I missing?Hi F-ram,
From your description, you want to pass multiple parameters via URL, right? To pass multiple parameters through URL, we can use an ampersand (&) to separate them. For example, I have a report with two parameters p1 and p2. The report is deployed in a
folder on the Report Server. When I navigate to the report on the Report Server, I can see the report URL is http://localhost/ReportServer_SQL2008NEW/Pages/ReportViewer.aspx?%2fFolder%2fReport&rs:Command=Render.
If I need to pass parameters through URL, I can just add &p1=value1&p2=value2 at the end of the URL and the entire URL would be http://localhost/ReportServer_SQL2008NEW/Pages/ReportViewer.aspx?%2fFolder%2fReport&rs:Command=Render&p1=value1&p2=value2
If you have any questions, please feel free to ask.
Regards,
Charlie Liao
Charlie Liao
TechNet Community Support -
I need a reference for the parameters in Firefox about:config.
I need a reference for the parameters in Firefox about:config.
I can't find it on the Web.*http://kb.mozillazine.org/about%3Aconfig_entries
*http://kb.mozillazine.org/Category:Preferences
There is also info in the Firefox preferences files (open via the location bar):
*resource:///defaults/pref/firefox.js
* resource:///greprefs.js -
Does XML approach for passing parameters in the query make the query slow?
Hi,
I am using XML approach for passing parameters in a query. This is running very slow but when I pass comma separated values in parameter, it runs very fast.
So it concludes that we should not use XML approach for passing parameters. Please confirm me that Am I right or wrong?
I have also googled to clear my doubt but not get solution till now. please help me.
Regards,
Sachin914014 wrote:
Hi,
I am using XML approach for passing parameters in a query. This is running very slow but when I pass comma separated values in parameter, it runs very fast.
So it concludes that we should not use XML approach for passing parameters. Please confirm me that Am I right or wrong?
I have also googled to clear my doubt but not get solution till now. please help me.
Regards,
SachinShow us what you are doing, create a simple yet complete example we can run on our Oracle instances.
Then we will know exactly what you mean, and can comment appropriately.
Cheers, -
How to find the search help for the parameters stmt in a report
hi
how to find the search help for the parameters stmt in a report , that is using which addition to the parameters statementI am not sure if I understood the question,but if you meant how to attach a search help to parameter for which a default search help is not available,you can do that by using addition "Matchcode Object"
Parameter: a type i matchcode object 'Search Help Name'
Search Help name should be in single quotes.
Regards,
Anubhav.
P.S: Award Points if useful. -
APP-FND-01702 An assignment does not exit for these parameters
Hi,
I am facing this below error in AP,AR,CM,GL Modules. If any one knows the solution plz revert back ASAP,
I encountered the error message when I created an invoice in AP module:
APP-FND-01702:An assignment does not exist for these parameters and one is mandatory.
Cause:The profile option Sequential Numbering is defined to have
sequential numbering always used. The current set of parameters does not have a sequence assigned.
Acction: Go to the Assign Sequqnces screen and assign a sequenct to the current set of parameters.
Regards,
senthilHi Senthil,
this is an issue with the configuration only, when the profile option is Always used system is referring to your Sequential numbering configuration, which seems to be not right / incomplete...Hence verify whether you have defined assignment for all the categories in the modules and re-test the same again ....
You can change the profile option value to Partially used, which will not throw an error, it would only give you a warning ..
Regards,
Ivruksha -
Filter Information for two parameters in Query Designer
Hi Gurus !!
I have a problem for filter information for two parameters in Query Designer,
the first parameter correspond a Ejercise-Period, the second parameter correspond
a Compensation Date of document, both parmeters must have date less than or equal to
to the parameter date input for screen (mm.aaaa).
Internally the Report must filter countable information for Countable Date <= Parameter Input and
Compensation Date of document <= Parameter Input.
If i assign two filter parameter in Query Designer, not could realise this.
Exist any simple form to realise this ??
Wait for yours responses.
Thank You.Hi shanthi bhaskar,
Thanks a lot for your answer.
I have one doubt about it: with this solution that you propoused the user will be able to select the values for plant?.
I mean, the user make the selection of the value for Zone, then he wants to see the in plan´s variable the values that corresponds with this Zone for make a new selection of plan.
What happens if I need this dependency also in another variable like time variable?
Thanks a lot -
Only 'EQ' and 'I' allowed for selection parameters
Hi!
We are generating the list of POs with open GR thru ME2M with selection parameters of WE101 and WE107, however, we encountered an error which states "Only 'EQ' and 'I' allowed for selection parameters."
What shall we do?Hi,
This error will have nothing to do with the selection parameter setting but the variant you are defining for your ME2M transaction. Can you therefore provide detailed info on how you set it up in your system?
Cheers,
HT -
No value for given parameters error when using command parameters in RDC.
I am trying to create a report using RDC with a parameter in the query, but I keep getting "No value for given parameters" error. Here is the code I use:
Dim creport As CRAXDDRT.Report
Dim appn As CRAXDDRT.Application
Dim datcmd1 As New ADODB.Command
Dim adocn As New ADODB.Connection
Dim sqltext As String
Dim x As CRAXDDRT.ParameterFieldDefinition
Set appn = New CRAXDDRT.Application
Set creport = appn.NewReport
Set x = creport.ParameterFields.Add("test", 2)
x.AddCurrentValue 0
sqltext = "SELECT Name FROM TestTable WHERE ID={?test}"
Set adocn = New ADODB.Connection
adocn.Open "Provider=SQLOLEDB;Data Source=myDB;UID=xxx;PWD=xxx;"
Set datcmd1 = New ADODB.Command
Set datcmd1.ActiveConnection = adocn
datcmd1.CommandText = sqltext
creport.Database.AddADOCommand adocn, datcmd1
creport.SaveAs "test", crDefaultFileFormat
Set datcmd1 = Nothing
Set adocn = Nothing
Set creport = Nothing
Set appn = NothingHello, Paul;
If you add your database connection to the command object and put fields on your report without the parameter, do you get the report you expect?
These are version 8/8.5 samples but the code is the same:
[Note 1|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
[Note 2|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
Once you have added the database connection follow that with the parameter code.
[Note 3|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
[Note 4|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
If you add the parameter and put the field on the report, can you pass the value successfully?
Elaine -
WCF- ( Windows communication Foundation ) New standard for webservice
Dear Friends,
Could anybody tell me whether we can call a WCF service from SAP PI?
WCF (Windows communication Foundation) can be considered as a new standard for webservice.
Take care,
Karthik..kas of now only file with wsdl extention is supported,
-
OSB: HTTP digest authentication for WebServices
Hi,
How do I configure HTTP digest authentication for WebServices offered by the OSB (Proxy Services with WS as transport)?
Best regards
DimoDid you figure out how to do it.?
-
Specific features for webservice scenario
Hi All,
Do we have any specific features which are used for webserice scenario in XI compared to other platforms (ORACLE, Microsoft, IBM)?
Regards
SaraHi Sara,
In ID you can generate WSDL used for Webservice communication in Tools -> Define Webservice.
Regards,
Sreenivas -
Configure a SSRS Data Alert once for all parameters
Hi,
while BOL mention "[...] If the report is parameterized, you might need to run the report using different parameter values to ensure the data that that you are interested in appears in the report. After the report is open, you click the
New Data Alert option on the Actions menu on the report toolbar to open Data Alert Designer [...]"
is it possible, or is there a work around, to configure a data alert that lists all parameter members?
i.e. I've a report with a parameter that is "Customer" that contains more or less 1000 names. How can I create a single data alert for each Customer? --> i.e if the customer has a payment delay greater than n days?
Thanks in advance, DavideHi Davide,
Per my understanding that you want to create only one Data Alert for all the parameters in the lists, right?
As you know that if the report is parameterized ,only after the report is open then you can click the New Data Alert option on the Actions menu on the report toolbar to open Data Alert Designer and create the Data alert.
So by design you need to first select the parameter to filter the report and then create the “New Data Alert” . When you choose a data feed, the data from the feed displays in a table with rows and columns in the alert data pane of Data Alert Designer which
is the filtered tables data based on this parameter, that means the current version not support to set only one Data Alert for all parameters at once through the setting of the “New Data Alert” , The parameter values you chose to run the report are saved
in the alert definition and will be used when report is rerun as a step in processing the alert definition. To use different parameter values, you must create a new alert definition.
I recommend you that submit this suggestion at
https://connect.microsoft.com/SQLServer/
If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the level of service provided.
More details information about the date alert for your reference:
http://msdn.microsoft.com/en-us/windows/gg492254(v=sql.100).aspx
http://msdn.microsoft.com/en-us/library/gg492251.aspx
Thank you for your understanding.
Regards
Vicky Liu -
Blocks in standalone applications which can be double clicked for changing parameters
Can we have blocks in standalone applications which can be double clicked for changing parameters.
something like an options/configure button which opens another window and helps us to change tha parameters of that particular
block.Well, you will need to program your application that way. Maybe I am not understanding this correctly but what parameters do you want to change in your standalone application?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies -
What value should be for below parameters
Dear all,
Please suggest what value should be for below parameters in Win 2003 ,ecc6 and oracle 10g and 16 gb ram.
Parameters Description Current value
fixcontrol Bug fix control parameter
For information about the recommended settings for parameter FIXCONTROL, version of Oracle release 10.2.0.4 a number of values must be set.
Parameters Description Current value
max_dump_file_size Maximum size of the optimizer trace file UNLIMITED
optimizer_index_caching Adjust the usage of nested loops 0
optimizer_index_cost_adj Percentage of the calculated index costs 100
parallel_max_servers Parallel Query: Maximum number of parallel execution servers 150
PARALLEL_MAX_SERVERS.
Parameters Description Current value
parallel_threads_per_cpu Number of parallel execution processes/threads per CPU 2
shared_pool_reserved_size Part of Shared Pool for large statements 128676003
pushjoin_union_view Enable pushing join predicate inside a union all view
Regards,
KumarHello Kumar,
The following should be the recommended parameters for your case. Always take a backup of initSID.ora and spfileSID.ora file before making the changes.
fixcontrol Bug fix control parameter
*._fix_control='5705630:ON','5765456:3','6221403:ON','6329318:ON','6399597:ON','6430500:ON','6440977:ON','6626018:ON','6670551:ON','6972291:ON','7325597:ON','7692248:ON','7891471:ON'
max_dump_file_size = 20000
optimizer_index_caching Adjust the usage of nested loops 0
optimizer_index_caching (do not set)
optimizer_index_cost_adj Percentage of the calculated index costs 100
optimizer_index_cost_adj = 20
parallel_max_servers=20
parallel_threads_per_cpu = 1
shared_pool_reserved_size
CPUs Shared_Pool_Size
4 500M
6 1G
10 1G
32 2G
64 2G
128 3G
Resize db_cache depending on your needs. For your case, I would recommend at least 2GB of RAM for db_cache
pushjoin_union_view
pushjoin_union_view = false
Set this as true if 6917874 fix is implemented.
In addition Oracle processes should be calculated as follows
Oracle Processes =
{ ABAP WP X 2 +
J2ee Server Processes*MaxConnection + Parallel_Max_Servers + 40 }
Hope I am clear.
Thanks,
Venkatesh Pydi.
Maybe you are looking for
-
Where the table is stored.,temp tablespace is not freed .
I have created one table in oracle 8.1.7 containing 500 mega records . my question is 1. where the table is stored as the size of users.dbf is just 20 mb and is used upto only 2 MB. so it must not be there. 2. the size of tools.dbf in tools tablespce
-
Ps CS6 Problem: unable to prevent uncompressed compatibility image being saved in 32-bpc docs
Ps CS6 OS X 10.6.8 There seems always to be an uncompressed compatibility image in 32-bit PSD and PSB, and in 32-bit layered TIFF. That's regardless of Maximum Compatibility being disabled when saving. If Maximum Compatibility is enabled, there corre
-
Log and Transfer. Red Exclamation Mark part way through ingesting
Hello. I have tried to search through the various previous issues raised re the red exclamation marks but couldn't find a solution to my exact scenario. All seems to be fine ie connect camera (Panasonic SDT750 - recording at HG level, not 1080/50p op
-
Experts, Can you please advise? In CLM system in the Project area, there is a Collaborators collection which contains the following columns: Name, Email, Authorization, etc. When I add a new collaborator by selecting his/her name, the other fields (s
-
I can't download xcode because it says that ihave the wrong version please help