WSI web service parameters

it appears that WSI compliant web services all pass a single parameter, which is an object representing all the parameters. is this correct?

This is correct only for document literal style web services, as in these you can only have a single child element to a SoapBody element.

Similar Messages

  • Exposing a report as RESTful web service - Parameters

    Hi,
    I am creating a RESTful web service by exposing an apex report. It just works fine and it renders the data. However I want to have parameters and values in the web service URL so that the data can be filtered based on the parameter values?
    For example:
    http://127.0.0.1:8080/apex/apex_rest.getReport?app=100&page=15&reportid=rest_example renders correctly for the report query
    select * from (
    select
    "CUSTOMER_ID",
    "CUST_FIRST_NAME",
    "CUST_LAST_NAME",
    "CUST_STREET_ADDRESS1",
    "CUST_STREET_ADDRESS2",
    "CUST_CITY",
    "CUST_STATE",
    "CUST_POSTAL_CODE",
    "PHONE_NUMBER1",
    "PHONE_NUMBER2",
    "CREDIT_LIMIT",
    "CUST_EMAIL"
    from #OWNER#.DEMO_CUSTOMERS )
    where (
    instr(upper("CUST_FIRST_NAME"),upper(nvl(:P15_REPORT_SEARCH,"CUST_FIRST_NAME"))) > 0  or
    instr(upper("CUST_LAST_NAME"),upper(nvl(:P15_REPORT_SEARCH,"CUST_LAST_NAME"))) > 0
    )But I want to filter the result for a particular customer id by getting a value in the URL like this.
    http://127.0.0.1:8080/apex/apex_rest.getReport?app=100&page=15&reportid=rest_example&P15_CUSTOMER_ID=6 and to use the value received thro the URL in the report query
    select * from (
    select
    "CUSTOMER_ID",
    "CUST_FIRST_NAME",
    "CUST_LAST_NAME",
    "CUST_STREET_ADDRESS1",
    "CUST_STREET_ADDRESS2",
    "CUST_CITY",
    "CUST_STATE",
    "CUST_POSTAL_CODE",
    "PHONE_NUMBER1",
    "PHONE_NUMBER2",
    "CREDIT_LIMIT",
    "CUST_EMAIL"
    from #OWNER#.DEMO_CUSTOMERS
    where customer_id = :P15_CUSTOMER_ID)
    where (
    instr(upper("CUST_FIRST_NAME"),upper(nvl(:P15_REPORT_SEARCH,"CUST_FIRST_NAME"))) > 0  or
    instr(upper("CUST_LAST_NAME"),upper(nvl(:P15_REPORT_SEARCH,"CUST_LAST_NAME"))) > 0
    )Is it possible to have it working in this way?
    I am currently testing this in apex 4.2 and Oracle 11g XE. My development environment will be Apex 4.1 and Oracle 11g.
    Thanks in Advance.
    Regards,
    Natarajan
    Edited by: Nattu on Dec 18, 2012 2:09 AM

    It does accept values for the parameters but does not accept value names in the URL.
    The previous thread Restful web service passing character parameters helped me to get it working.
    Thanks.

  • Web Service Parameters Reversed

    I'm trying to run an FMIS aplicattion which calls an web service method with 2 parameters, but an error always occurs.
    We detected that error is caused because FMIS reverses the parameter order when calling that method.
    Look the following example from a call to "getMember(nick, token)" got from administration console:
    getMember(modelo1,07f69efc85a14e678d532e619dd3908e)
    param:token   modelo1
    param:nick   07f69efc85a14e678d532e619dd3908e
    param:parameters   undefined
    I have made lots of testing in a local FMIS and never such trouble but this is happening from any method called from FMIS hosted at INFLUXIS. Does anybody have a hint on how to fix it?
    Thanks,

    Cristian,
    Please post the question in relevant forum
    Thanks
    Bala Duvvuri

  • Web Services Parameters that are Arrays

    I am evaluating HTML DB to see if it would be possible to create a simple application that calls a web service.
    The web service was generated using JDeveloper and wraps up a PL/SQL function that takes an object type with several fields as an input parameter and a table of object types as the output parameter.
    The Web service therefore has an input parameter that is an single object containing several input fields and an output parameter that is an array of objects containing several result fields.
    The HTML DB 'test web service' or 'Create a form from a Web Service' does not recognise these input or output parameters, although the 'Web Service Reference' does list all the input and output parameters.
    I am assumming that there is a coding solution when using these kind of parameters but I cannot find any obvious guidence for this.
    Can anyone help or point me in the right direction?
    Thanks

    I have this same problem...
    Is it a bug?
    It's strange because other web services work fine
    is it because we are using the wrong format or version wsdl?
    anyone have any ideas?

  • Sun Java Studio Enterprise 8 naming Web Service parameters

    I have a Web Service "hello" with operation "sayHello", which has one parameter "String name". When I build the project and look into the WSDL created I see that Studio named this parameter String_1. Why? And how can I make it name it correctly? (I know I can edit the WSDL manually, but...)

    is it possible for windows xp? because when i was downloading it gives two platform - linux and solaries and there is no option for windows at the time of downloading. please help me so that i can download this easily.

  • Web service parameters

    Hi all,
    i'm new with NW portal and web services, so i'll appreciate any help.
    The situation looks like following:
    I have web dynpro application and portal service exposed via web service. Service is used to upload documents (files) to KM repository. The question is how to pass logged in user object instance to web service as parameter or how to get this object in portal service by, lets say, ID?
    In WD app I get instance of com.sap.security.core.imp.UserWrapper with lines:
    WDClientUser.getCurrentUser().getSAPUser();
    I tried to pass String user ID and retrieve user by it in service implementation:
    IUserFactory uf = UMFactory.getUserFactory();
    com.sap.security.api.IUser sapUser = uf.getUser(userID);
    IUser iUser = WPUMFactory.getUserFactory().getEP5User(sapUser);
    IResource newResource = folder.createResource(fileName, null, content);//this produces AccessDeniedException: User <Administrator> is not authenticated
    Looks like, this user is the new instance of UserWrapper and it is not authenticated. Passing user from WD to WS as java.lang.Object gives nothing, as it incomes as null. Some serialization issue, i cannot resolve i guess. Extending types also gave me nothing, as "java.security.Principal is not supported".

    Cristian,
    Please post the question in relevant forum
    Thanks
    Bala Duvvuri

  • How to call web service with parameters?

    Hi
    I'm testing a distributed architecture where parameters are queried from an ODBC database, and a web service called with resulting parameters as input, returning a computed result to the integrated Crystal report. I'm unable to successfully associate the database fields with the web service parameters - the web service is always called with empty parameters. When I call the web service manually from CR by entering parameters, it works as expected. I'm using a sub-report with fields linked to the main report.
    Has anyone done something like this / know how to correctly link database fields with web service parameters?
    Help much appreciated,
    Lance

    An update - I solved this problem as follows:
    In CR Design view, right-click on sub-report object, select 'Change Subreport Links'. In the links dialog, transfer database fields into 'Field(s) to link to' list. Select a field in 'Field(s) to link to' and in 'Subreport parameter field to use' below, map the field to the appropriate web service parameter field in the dropdown.
    Tested with version 11.5.8.826.
    - Lance

  • Drilldown in Web service query_view_data

    Hi experts,
    I´m using web services for accessing query data (query_view_data) and I can request the result set for a query in XML format.
    This XML format is publishing into a non SAP Portal (customer JAVA portal).
    With some effort we can visualize the output result into a table form and generic navigation block (like Web analyzer).
    We can filter values/variable using  Web service parameters (data provider commands from Web API reference):
    Examples
    Filter Data Provider u2019View1u2019 by Country: Germany
    I don´t know I can use it (Drilldown), in the same way Filter command.
    Does anybody know to use Drilldown command into Web Service?
    Is it possible to use in the mentioned landscape (publishing XML format in JAVA portal using web service u2018query_view_datau2019)?
    Thanks in advance
    David
    Edited by: DAVID GALLEGO on Sep 1, 2009 2:05 PM

    Thanks for your appreciate help,
    I execute de FM RRW3_GET_QUERY_VIEW_DATA (se37):
    1.- Without parameters --> Result set OK (comparing E_CELL_DATA to my query/view table). E_CELL_DATA have 93 rows.
    2.- With command FILTER:
                        FILTER_IOBJNM                  0EMPLGROUP
                        FILTER_VALUE                   20511
    Result set OK (comparing to E_CELL_DATA  my query/view table). E_CELL_DATA have 3 rows.
    3.- With command REMOVE FILTER:
                        CMD                                   REMOVE_FILTER
                        IOBJNM                              0EMPLGROUP
    Result set NO OK (comparing to E_CELL_DATA  my query/view table). E_CELL_DATA have 3 rows, when expected 93 rows.
    I get the same as step 2, not the result of step 1.
    Can you see anything wrong?
    Thanks
    David

  • PL/SQL Web Service.  Out Parameters are included in Request.

    I am using JDEVELOPER 11.1.1.3.0. I generated a web service from PL/SQL successfully.
    When the web service is generated and deployed (Deployed to the IntegratedWeblogicServer) it wants the output parameters to be included with the request.
    Here is an example of my wsdl.
    <wsdl:message name="AMP_WS_getCustomerDetails">
    <wsdl:part name="pGuid" type="xsd:string"/>
    <wsdl:part name="pCustName_out" type="xsd:string"/>
    <wsdl:part name="pCustomerId_out" type="xsd:decimal"/>
    <wsdl:part name="pStatus_out" type="xsd:decimal"/>
    <wsdl:part name="pMessage_out" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="AMP_WS_getCustomerDetailsResponse">
    <wsdl:part name="pCustName_out" type="xsd:string"/>
    <wsdl:part name="pCustomerId_out" type="xsd:decimal"/>
    <wsdl:part name="pStatus_out" type="xsd:decimal"/>
    <wsdl:part name="pMessage_out" type="xsd:string"/>
    </wsdl:message>
    In the AMP_WS_getCustomerDetails I am not expecting pCustName_out, pCustomerId_out, pStatus_out, or pMessage_out to be included. They are out parameters in the pl/sql.
    Has anyone else run into this?
    Thanks for any help.

    Parameters relate to procedures. Web Services require XML messages.
    Where are the parameters coming from? You cannot pass a dynamic number of parameters into a procedure, but you can pass a structured type as a parameter which can contain multiple values, whether that is an array/collection type or an XML document itself.
    Just package up the values into the XML and pass it to the web service.
    If this doesn't answer your question, please post more information, with some example data and code. Read the FAQ: {message:id=9360002}

  • PL/SQL Web Service Optional Parameters

    I have created a PL/SQL web service and deployed successfully using Jdeveloper 10.1.3.5. The database is 9.2.0.8.
    When the web service request is made, all is well if all parameters are passed.
    I have been told that the request might come with some but not necessarily all of the parameters expected by the PL/SQL procedure.
    Is it possible when deploying through JDeveloper to indicate that all parameters might not be present?
    This is my first web service. Thanks in advance for your assistance.

    Parameters relate to procedures. Web Services require XML messages.
    Where are the parameters coming from? You cannot pass a dynamic number of parameters into a procedure, but you can pass a structured type as a parameter which can contain multiple values, whether that is an array/collection type or an XML document itself.
    Just package up the values into the XML and pass it to the web service.
    If this doesn't answer your question, please post more information, with some example data and code. Read the FAQ: {message:id=9360002}

  • Web service appears to be ignoring values for destination and parameters.

    I'm on my long trek trying to get a report to export programatically from CRS2008 to a pdf in a folder.  The good news is I'm almost done.  The bad news is I can't seem to figure out where I'm going wrong.  I've cobbled together some code and it works (doesn't die).  The only problem is whatever I set the destination to be it always gets overridden by the defaults in the report.  The same goes for the parameters.
    Any help would be greatly appreciated,
    J
    code is below.
        protected void TestSub2()
            // Document path
            string crPath = "path://InfoObjects/Root Folder/WWE Reports/rtodbc3" + "@SI_SCHEDULEINFO,SI_PROCESSINFO";
            // Enterprise Web Services URL and Login Credentials.
            string boSessionURL = "http://192.168.1.100:8080/dswsbobje/services/Session";
            string boCMSName = "myorgani-1cf481";
            string boAuthType = "secEnterprise";
            string boUsername = "Administrator";
            string boPassword = "Password";
            Session boSession = null;
            try
                // Logon to Enterprise
                EnterpriseCredential boCredential = new EnterpriseCredential();
                boCredential.Domain = boCMSName;
                boCredential.AuthType = boAuthType;
                boCredential.Login = boUsername;
                boCredential.Password = boPassword;
                boSession = new Session(new BusinessObjects.DSWS.Connection(boSessionURL));
                boSession.Login(boCredential);
                // Retrieve Document CUID
                BIPlatform biPlatform
                    = BIPlatform.GetInstance(boSession, boSession.GetAssociatedServicesURL("BIPlatform")[0]);
                GetOptions getOpts = new GetOptions();
                getOpts.IncludeSecurity = true;
                ResponseHolder rh = biPlatform.Get(crPath, getOpts);
                InfoObjects reports = rh.InfoObjects;
                if (reports == null)
                    return;
                BusinessObjects.DSWS.BIPlatform.Desktop.CrystalReport myReport = (BusinessObjects.DSWS.BIPlatform.Desktop.CrystalReport)reports.InfoObject[0];
                SchedulingInfo schedulingInfo = myReport.SchedulingInfo;
                if (schedulingInfo == null)
                    schedulingInfo = new SchedulingInfo();
                //start put in parameters
                ReportProcessingInfo procInfo = myReport.PluginProcessingInterface;
                ReportParameter[] repParams = procInfo.ReportParameters;
                CurrentValues oCurrentValues = new CurrentValues();
                BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue[] oPromptValue = new BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue[1];
                oPromptValue[0] = new BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue();
                oPromptValue[0].Data = "2";
                oCurrentValues.CurrentValue = oPromptValue;
                repParams[0].CurrentValues = oCurrentValues;
                // end put in parameters
                //start put in for scheduling parameters...
                Destination[] oDestination = new Destination[1];
                oDestination[0] = new Destination();
                oDestination[0].Name = "CrystalEnterprise.DiskUnmanaged";
                BusinessObjects.DSWS.BIPlatform.Dest.DiskUnmanagedScheduleOptions diskOptions = new BusinessObjects.DSWS.BIPlatform.Dest.DiskUnmanagedScheduleOptions();
                String[] destinationFile = new String[1];
                destinationFile[0] = "C:\\" + myReport.Name + ".rpt";
                diskOptions.DestinationFiles = destinationFile;
                schedulingInfo.Destinations = oDestination;
                //end put in for scheduling parameters...
                schedulingInfo.RightNow = true;
                schedulingInfo.ScheduleType = ScheduleTypeEnum.ONCE;
                BusinessObjects.DSWS.BIPlatform.Desktop.ReportProcessingInfo reportProcessingInfo = new ReportProcessingInfo();
                BusinessObjects.DSWS.BIPlatform.Desktop.CrystalReportFormatOptions crystalReportFormatOptions;
                crystalReportFormatOptions = new CrystalReportFormatOptions();
                crystalReportFormatOptions.Format = ReportFormatEnum.PDF;
                crystalReportFormatOptions.FormatSpecified = true;
                reportProcessingInfo.ReportFormatOptions = crystalReportFormatOptions;
                myReport.PluginProcessingInterface = reportProcessingInfo;
                myReport.SchedulingInfo = schedulingInfo;
                reports.InfoObject[0] = myReport;
                biPlatform.Schedule(reports);
                Response.Write("hey it worked!");
            catch (DSWSException ex)
            { Console.WriteLine(ex); }
            finally
                if (boSession != null)
                    boSession.Logout();

    I've based my stuff on the samples.  Unfortunately when I try and run them I get other errors.  For instance when I get to the line
    Dim rh As ResponseHolder = bipService.Get("path://InfoObjects/Root Folder/WWE Reports/" + REPORT_STRING + "@SI_SCHEDULEINFO, SI_PROCESSINFO", oGetOptions)
    and the path string is:
    "path://InfoObjects/Root Folder/WWE Reports/rtodbc3@SI_SCHEDULEINFO, SI_PROCESSINFO"
    I get
    {"Get exception (Error: WBP 99999)"}
        CallStackTrace: "   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at BusinessObjects.DSWS.BIPlatform.ConsumerBIPlatform.Get(String SessionID, String Path, GetOptions Options)
       at BusinessObjects.DSWS.BIPlatform.BIPlatform.Get(String pathURI, GetOptions options)"
        CauseDetail: Nothing
        CauseException: "SoapException"
        CauseID: Nothing
        CauseMessage: "The [action] cannot be processed at the receiver."
        Data: {System.Collections.ListDictionaryInternal}
        HelpLink: Nothing
        ID: "http://biplatform.dsws.businessobjects.com/2007/06/01/Get"
        InnerException: Nothing
        Message: "Get exception (Error: WBP 99999)"
        Operation: "http://biplatform.dsws.businessobjects.com/2007/06/01/Get"
        Source: "DSWS Web Service Consumer"
        StackTrace: "   at BusinessObjects.DSWS.BIPlatform.BIPlatform.Get(String pathURI, GetOptions options)
       at _Default.Schedule() in C:\Storage\Software\CR2008\wssdk_net_samples_12\Schedule_VB\Schedule_VB\Default.aspx.vb:line 89"
        TargetSite: {System.Reflection.RuntimeMethodInfo}
        WebServiceID: ""
    J

  • Web service operation ... with parameters {} cannot be found

    Hi All,
    I am accessing a web service of a web site using ColdFusion.Each time I am calling the web service I am getting the message "Web service operation ... with parameters {} cannot be found".The wsdl file showing the parameter as complex type .So I have passed value to the particular method using structure and xml type each time I gets that error message.I can not post here the wsdl for security reason.
    When I am calling this Web service from .net it is working without any problem. .NET directly creating the objects of the parameter which the method is needed from the wsdl but I don't know whether it is possible in ColdFusion or not.Also I don't know whether the web service in .net or in other language.
    Please suggest something.
    Thanks
    Upen

    Thanks for your response.
    Yes, I have passed all the arguments but it seems the web application is coded in .net and by googling I came to know that if the .net receives a complex type of object then it creates problem when we pass argument from coldfusion.(means type mismatch)
    If you know about it please suggest .

  • Web Service Export Parameters missing when consumed by Visual Studio 2005

    Hi,
    I am using Visual Studio 2005 (2.0 framework) to consume bespoke SAP Web Services (SAP 4.7) however some of the export parameters are missing. I have tested the SAP web services with various XML tools and they all work perfectly.
    Is there anything I can do to enable Visual Studio to genarate the correct proxy?
    Many thanks for any tips.
    Billy

    This isn't going to work as well as I had thought.
    That is correct that the Name and Value fields come back as XmlNode arrays. Each XmlNode array contains two XmlNode objects (or one if you received a null value from the db). One object contains the atrributes and one contains the value. I had planned on going into the ColumnValueType Value field and pulling the text of the 2nd XmlNode object.
    Now here is the problem:
    For every column you select you get a ColumnValueType object. Rather than being contained in some type of "Row" parent object, each column sits in the root of your results. For example, in the query I am using I am asking for the AlertingName and DnOrPattern columns of the NumPlan table. My results come back like this (simplified):
    AlertingName
    John Doe
    DnOrPattern
    1234
    With the data in this format, I can't just do a foreach loop and iterate over the ColumnValueType objects.

  • Web service report parameters

    Hi,
    just wondering is it possible to retrieve more info regarding report parameters using web service, I can only get following:
    multiValuesAllowed
    name
    values
    basically could a call register some other classes than call.setReturnClass(ReportDefinition.class) or call.setReturnClass(ParamNameValue [].class) which gives me the same info.
    The reason why I'm asking is because I'd like to be able to get:
    id / name
    data type
    label
    default value
    value set
    and so on... so I can create my own prompt page in which user could set/select desired values and then run report with those values. Is this making any sense?
    Looking at this document http://oraclebizint.wordpress.com/2007/10/25/oracle-bi-publisher-101331-web-services-first-impressions/ it looks like it is not possible, are there any workarounds.
    At the moment I'm doing this by parsing xdo and that way I can get parameters, value sets and so on, then using api I'm generating reports, but I don't like this approach...
    Any advices and help regarding this are welcome.
    Thanks in advance,
    Tomislav.

    Hi
    I hope you have already found an answer for your question, if not, please check the post Re: Getting null bytes using PublicReportService_v11.wsdl
    I've found and described an issue similar to the one you are facing.
    IHTH
    Please, let me know.
    Marco

  • How to create web services with complex objects as parameters

    Hi,
    Not sure if this is the right place, but...
    I'm using Netbeans 5.5 and trying to learn web services.
    Creating a simple web service with simple parameters like strings and integers is nice and easy. I'm now trying to take the next step, and create a web service with a more complex schema as a parameter.
    I've tried two approaches, and hit dead ends on both:
    (1) Define my complex schema as an xsd file, and then create a WSDL file. Creating the schema and saving it in my EFB project works fine; when I try to create a new WSDL file, the IDE gives me a button to import external schemas - which is where the problem is: the Browse simply won't find my newly created schema file.
    (2) Define a Java class (in this case, it's a fairly simple example containing a single ArrayList), and then use the IDE to generate a web service from Java. The IDE does this fine, but I now have no idea how to consume or test the web service - I don't know where to look for the WSDL that has presumably been generated, and I'm also a bit iffy over what answers to give the WSDL creator about port names etc.
    Ideally, I'd prefer to get approach 1 to work - can someone point me in the direction of a sensible tutorial for these things?
    (Happy to carry on using Netbeans 5.5 or to revert to Sun Studio Enterprise, which I was playing with before.)
    All help appreciated, Thanks

    - For NetBeans related questions, nbusers mailing list is more suited. It is often visited by NetBeans experts.
    http://www.netbeans.org/community/lists/top.html
    ...[email protected]
    The NetBeans users mailing list. General discussion of NetBeans use, this is the place to ask for help and to help others.... (There is a 'Subscribe' button next to the above that you can use to subscribe to the list).
    Can you try posting this question on nbusers list?
    - SJSE 8.1 is based on an older version of NB (NB5.0).
    You should definitely continue with NetBeans, since all development is now being done in NetBeans; all the major JSE modules have been moved to opensource at netbeans.org and are all being developed there. There are as yet no future plans to work on further releases for JSE.
    Please check out http://www.netbeans.org for more details.

Maybe you are looking for