Missing Web Service Input Parameters

Hi,
I am creating a form on web services. The source of the webservice is BEPL.
When I register the webservice, I see the in and the out parameters.
Operations      
Operation Name     process
Input Parameters
Operation     Parameter Name     Parameter Type
process     Data_source     string
     Data_URI     string
     Token     string
But when I continue to create a form on the service, the next screen shows this message:
* Item Finder
Web Service Input Parameters      
no data found
Any idea what may be going on here?
Thanks
-SJ

Hello,
Are you sure it's a public webservice or that you put in the right username/password?
Also if you call the webservice just from an url, does that work for you?
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/

Similar Messages

  • Can XMLBeans validate Web Services Input Parameters in Weblogic8.1?

    Hi,
    I am very new to XMLBeans and Web Services. From my understanding, schemas can be used to validate an xml document.
    However, I would like to find out:
    1. Can I validate my web service inputs againest the generated XMLBeans objects/schema, in Weblogic 8.1?
    2. How do I validate my input parameters from the web service? My input parameters include enumerations of valid values and also numeric values.
    Fyi, the XMLBeans objects were generated from the schema which i created, and my web service is using these XMLBeans objects.
    Great Thanks!

    This is crazy! Someone must have come across this problem
    before.
    I've simplified my question and used a much simplier method
    from the web service, here goes!
    ::: Here's my code :::
    <cfscript>
    webservice = CreateObject("webservice","dummy?wsdl");
    webservice.doBuildQuoteForItinerary("123456,"en_US","","1113");
    </cfscript>
    ::: Here's the error :::
    Could not perform web service invocation
    "doBuildQuoteForItinerary".
    Here is the fault returned when invoking the web service
    operation:<br> <pre>AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode: faultString:
    com.raileurope.web.ngserver.InternalErrorException:
    java.lang.NullPointerException faultActor: faultNode: faultDetail:
    http://xml.apache.org/axis/}hostname:dummy
    </pre>
    There must be something wrong with how I'm passing in the
    parameters. Is it the null string??!?!?
    Any help would be great!

  • Can XMLBeans validate Web Services Input Parameters?

    Hi,
    I am very new to XMLBeans and Web Services. From my understanding, schemas can be used to validate an xml document.
    However, I would like to find out:
    1. Can I validate my web service inputs againest the generated XMLBeans objects/schema?
    2. How do I validate my input parameters from the web service? My input parameters include enumerations of valid values and also numeric values.
    Fyi, the XMLBeans objects were generated from the schema which i created, and my web service is referencing/using these XMLBeans objects to package the results to the calling class/method.
    Great Thanks!

    This is crazy! Someone must have come across this problem
    before.
    I've simplified my question and used a much simplier method
    from the web service, here goes!
    ::: Here's my code :::
    <cfscript>
    webservice = CreateObject("webservice","dummy?wsdl");
    webservice.doBuildQuoteForItinerary("123456,"en_US","","1113");
    </cfscript>
    ::: Here's the error :::
    Could not perform web service invocation
    "doBuildQuoteForItinerary".
    Here is the fault returned when invoking the web service
    operation:<br> <pre>AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode: faultString:
    com.raileurope.web.ngserver.InternalErrorException:
    java.lang.NullPointerException faultActor: faultNode: faultDetail:
    http://xml.apache.org/axis/}hostname:dummy
    </pre>
    There must be something wrong with how I'm passing in the
    parameters. Is it the null string??!?!?
    Any help would be great!

  • EJB Web Service Interface parameters name changed

    Hi, all,
    I create a simple Session EJB 3.0 with Web Service interface in Jdeveloper 10.1.3.4. and I deployed it into the embedded OC4J server.
    The question is I found that the web service operator parameters is changed to "String_1" (actually the parameter in EJB method is String ss). And I found the WSDL file is also String_1.
    How to create the real parameter name in WSDL from EJB Web Service interface? Any help on that?
    Best Regards,
    Bill

    if you do a lookup for the name "java:comp/env/ejb/queryProc" in the servlet, the deployment descriptor of your web-archive must contain an ejb-reference with the ref-name 'ejb/queryProc'.

  • 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.

  • Oracle PL/SQL Web service - dynamic parameters... possible?

    Oracle 11.2.0.3 - newbie on web services!
    Currently we have a pl/sql web service taking in 2 static parameters and returning a varchar2 response.
    I was asked today if it's possible for a web service to take in a dynamic set of parameters and return a corresponding set of results. It's as if I need to pass the web service a table with two columns and return a table of one column.
    For example:
                        Input                          Output
              1 2                             3
              3 4                             7
              5 6                            11output being in XML of course. It is possible?
    p.s. I posted this in OC4J also - no response hence the re-post !

    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 - Complex Parameters

    Hi, I'm trying to get a specific Web Service working by
    calling the appropriate parameters and I can't seem to get it
    working properly in Flex.. I have this Web Service working just
    fine in Microsoft's InfoPath product. When I call the Web Service
    and trace I notice the parameters returned are in the wrong order
    and the complex parameter doesn't show the sub tags (MS Infopath
    does). Also, the parameters I leave empty return with "[Object
    Object]" (MS Infopath doesn't do this). So it looks like flex isn't
    doing something right with my Webservice. Here's what I am
    passing.. If I'm doing something wrong please let me know.. Any
    ideas or opinions are greatly appreciated!
    <mx:request>
    <Infoprovider></Infoprovider>
    <Parameter>
    <item>
    <Name></Name>
    <Value></Value>
    </item>
    </Parameter>
    <Query>ZG_PUR_104E</Query>
    <ViewId></ViewId>
    </mx:request>

    Me to, and i use Axis for web services (and WebSphere
    WebServices).
    And, if you use bind from text input you get [object Object]
    in general case
    <mx:request>
    <value>{entry1.text}</value>
    </mx:request>
    <mx:TextInput x="23" y="101" text="" id="entry1"/>
    if you enter any text at textinput and delete it you DONT get
    "[object Object]" at web service....
    if you dont enter text you get "[object Object]" at web
    service...
    if you use variable or other elements its the same.
    Any help?
    TIA

  • Start GP Process from VC using Web Service with parameters

    Hi,
    II´m trying to instantiate a GP process from a Vc iView using a Web Service; I always used Instantiation via URL but using this method I don´t have any "return" data from GP saying "Ok - The process started succesfully".
    The questions are:
    1) Is possible to start a GP process via Web Services through a VC Flash iview? If so, is posible to send input parameters to the process via the web service?
    2) Does the web service returns any message with the status of the process? ( something like: "the process started succesfully")
    Best regards,
    Marco.

    1) Is possible to start a GP process via Web Services through a VC Flash iview? If so, is posible to send input parameters to the process via the web service?
    A: Yes. You can send input parameters to the service through WS.
    2) Does the web service returns any message with the status of the process? ( something like: "the process started succesfully")
    A: Yes. The return message can be added to the WS. It depends on how do designed the WS.
    -Ashutosh

  • Exporting to Microsoft Excel from a DataView Web Part consuming a Web Service with Parameters

    In Sharepoint Designer, I've developed a page displaying a DataView Web Part which consumes an XML Web Service with three parameters.  These parameters are passed in from a simple Form Web Part containing three input fields.  I am able to provide default values for the web service so the dataview is initially populated, and when I enter in new parameters, the web service goes back, grabs the requested data and displays in the dataview nice and slick.
    The problem I'm having is this: In Internet Explorer 7, when I right-click on the DataView Web Part and select Export to Microsoft Excel, Excel opens up, says "ExternalData_1: Getting Data..." and returns the data from the web service which applies to the default parameter values each and every time, regardless of whether I have changed the parameters on the web page, and contrary to what the DataView Web Part displays on the screen.
    Has anyone else run into this, and is there a solution to the problem?
    Best regards,
    Mark Christie

    Hi Bullish35,
     It's possible to provide single export button and export your 4 dataview webparts. Here's the modified code.
    <Script Language="Javascript">
    function isIE() // Function to Determine IE or Not
    return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
    function exportToExcel() // Function to Export the Table Data to Excel.
    var isIEBrowser = isIE();
    if(isIEBrowser== false)
    alert('Please use Internet Explorer for Excel Export Functionality.');
    return false;
    else
    var strTableID1 = "detailsTable1", strTableID2 = "detailsTable2", strTableID3 = "detailsTable3", strTableID4 = "detailsTable4";
    var objExcel = new ActiveXObject("Excel.Application");
    var objWorkBook = objExcel.Workbooks.Add;
    var objWorkSheet = objWorkBook.Worksheets(1);
    var detailsTable = document.getElementById(strTableID1);
    var intRowIndexGlobal= 0;
    for (var intRowIndex=0;intRowIndex<detailsTable1.rows.length;intRowIndex++)
    for (var intColumnIndex=0;intColumnIndex<detailsTable1.rows(intRowIndex).cells.length;intColumnIndex++)
    if(intColumnIndex != 3)
    objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable1.rows(intRowIndex).cells(intColumnIndex).innerText;
    intRowIndexGlobal++;
    for (var intRowIndex=0;intRowIndex<detailsTable2.rows.length;intRowIndex++)
    for (var intColumnIndex=0;intColumnIndex<detailsTable2.rows(intRowIndex).cells.length;intColumnIndex++)
    if(intColumnIndex != 3)
    objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable2.rows(intRowIndex).cells(intColumnIndex).innerText;
    intRowIndexGlobal++;
    for (var intRowIndex=0;intRowIndex<detailsTable3.rows.length;intRowIndex++)
    for (var intColumnIndex=0;intColumnIndex<detailsTable3.rows(intRowIndex).cells.length;intColumnIndex++)
    if(intColumnIndex != 3)
    objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable3.rows(intRowIndex).cells(intColumnIndex).innerText;
    intRowIndexGlobal++;
    for (var intRowIndex=0;intRowIndex<detailsTable4.rows.length;intRowIndex++)
    for (var intColumnIndex=0;intColumnIndex<detailsTable4.rows(intRowIndex).cells.length;intColumnIndex++)
    if(intColumnIndex != 3)
    objWorkSheet.Cells(intRowIndexGlobal+1,intColumnIndex+1) = detailsTable4.rows(intRowIndex).cells(intColumnIndex).innerText;
    intRowIndexGlobal++;
    objExcel.Visible = true;
    objExcel.UserControl = true;
    </Script>
    I haven't tested this. But it should work! :)Regards,
    Venkatesh R
    /* My Code Runs in Visual Studio 2010 */
    http://geekswithblogs.net/venkatx5/

  • 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

  • Consume SAP Web service with parameters in Forms using JS

    Hi All
    I am trying to execute a call to a webservice using javascript from my adobe form .
    I can get this working by creating a DataConnection and mapping input fields on the form to the Request structure (XFA method) .
    But when I use JS, i cannot get it working while using paramters.
    Here is my sample code.
    var cUrl = http://XXXXXXX:XXXX.........;
    var service = SOAP.connect(cUrl);
    var inputVal = {IvMatnr:MATNR.rawValue, Ivlgort:LGORT.rawValue, IvWerks:WERKS.rawValue};
    var result = service.ZppTestGetBatchNumbers(inputVal);
    //xfa.host.messageBox("Success");
    txtResult.rawValue = result;
    xfa.connectionSet.<DataConnectionName>.execute(0);
    Any help would be greatly appreciated
    Regards,
    ArMen

    Hi,
    Instead of using parameters, I am now using hidden text fields on the foem which I have bound to the web service call.
    This is a work around that is working fine for me..
    Cheers..

  • Web Service Job Parameters with Job Actions

    I have a set of web service jobs for which I am supplying input parameters. This works fine when defined against a single particular job but i have a need to insert this job based upon a job event and pull some information off of the job the had the event condition occur (i.e. Completed Abnormally). When defining the Job Action to launch the job, the default and override parameter fields are not editable. Has anyone had any luck with this? I didn't notice anything in the documentation but I could have just overlooked this. Any help would be appreciated.
    Thanks,
    kyle

    Me to, and i use Axis for web services (and WebSphere
    WebServices).
    And, if you use bind from text input you get [object Object]
    in general case
    <mx:request>
    <value>{entry1.text}</value>
    </mx:request>
    <mx:TextInput x="23" y="101" text="" id="entry1"/>
    if you enter any text at textinput and delete it you DONT get
    "[object Object]" at web service....
    if you dont enter text you get "[object Object]" at web
    service...
    if you use variable or other elements its the same.
    Any help?
    TIA

  • Web Services and Parameters - Problem

    I have 2 web services I set up. One takes no parameters and
    works fine. The
    other takes arguments and it tells me the method cannot be
    found. What am I
    missing? What is the magic bullet to invoke a web service
    that takes
    arguments and have it work? I have all the web service's
    arguments set to
    'required="yes"' and I set up another 'no argument function'
    in the
    SearchProperty.cfc to make sure it also works and it did
    fine, so I know the
    web service exists and is accessible.
    I tried both createObject in my contoller and cfinvoke. Both
    work fine for
    the web service that takes no arguments and neither work for
    the one that
    does.
    Here is my controller blocks (please excuse the Model-Glue)
    This works fine
    <!---Get All Cities For Search Engine--->
    <cffunction name="getCities" access="public"
    returntype="void"
    output="false" hint="I displays all the cities for the front
    page">
    <cfargument name="event" type="ModelGlue.Core.Event"
    required="yes">
    <cfset Cities = createObject("webservice",
    http://74.86.90.210/realitorToolBox/model/webservices/CityGateway.cfc?wsdl")/>
    <cfset allCities = Cities.getCities() />
    <cfset arguments.event.setValue("getAllCities",
    allCities)/>
    </cffunction>
    This cannot be found:
    <!---Search Residentual Properties--->
    <cffunction name="SearchProperties" access="public"
    returntype="void"
    output="false" hint="I displays all the cities for the front
    page">
    <cfargument name="event" type="ModelGlue.Core.Event"
    required="yes">
    <cfset userID = 555555>
    <cfset bedrooms =
    arguments.event.getValue("bedrooms")/>
    <cfset bathrooms =
    arguments.event.getValue("bathrooms")/>
    <cfset footage = arguments.event.getValue("footage")/>
    <cfset minprice =
    arguments.event.getValue("minprice")/>
    <cfset maxprice =
    arguments.event.getValue("maxprice")/>
    <cfset basement =
    arguments.event.getValue("basement")/>
    <cfset garage = arguments.event.getValue("garage")/>
    <cfset CITIES = arguments.event.getValue("CITIES")/>
    <cfset Search = createObject("webservice",
    http://74.86.90.210/realitorToolBox/model/webservices/SearchProperty.cfc?wsdl")/>
    <cfset searchAll = Search.SearchProperty(#userID#,
    #bedrooms#,
    #bathrooms#, #footage#, #minprice#, #maxprice#, #basement#,
    #garage#,
    #CITIES#) />
    <cfset arguments.event.setValue("Results",
    searchAll)/>
    </cffunction>
    Any ideas? My client is getting anxious and I hope to offer
    this service to
    other developers to use for their client's site.

    Ok, I will make this simplier. Couple questions.
    Is it possible to use cfargument in a web service?
    I looked at the samples out there and they all just have
    queries that take a
    form variable (#form.name#) since it was being passed by a
    form.
    Is it possible to have one web service function invoke
    another function in
    the same cfc?
    If you have one function that calls another to first validate
    the user and
    then invoke another to get the search results, do all have to
    be remote or
    can you have the search be private since you dont want it
    invoked remotely.
    I.E.
    <cffunction name="search" access="remote"
    returntype="query">
    <cfset authenticate = authenticateUser(#username#)>
    <cfif authenticate EQ 'yes'>
    <cfset myResults = searchProperty(#mlsnumber#)>
    </cfif>
    <cfreturn my Results>
    </cffunction>
    I tried a simple city search and tried to pass a variable
    argument.
    <cfinvoke
    webservice="
    http://74.86.90.210/realitorToolBox/model/webservices/CityGateway.cfc?wsdl"
    method="findCity" city = "clinton" returnvariable="aQuery"/>to:
    <cffunction name="findCity" access="remote"
    returntype="query"> <cfquery name="getCities"
    datasource="MLSListings"> Select city FROM residential WHERE
    city = '#city#' </cfquery> <cfreturn getCities>
    </cffunction>And I still get a function cannot be found, even
    though I used the cfcexplorer to verify that it does exist on the
    remote server.Any ideas?

  • 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 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

Maybe you are looking for

  • How can I remove all the music from my iPhone?

    I want to remove all the music from my iPhone 5 (Current iOS) and then load a completely new set of songs from my Mac (Current OS). How do I do that ?  Even when I define a specific new playlist and tell it to apply only that it still does not remove

  • Moving average price in case of project stock

    Hi, How to check the moving average price of a material in case of project stock? T code or table will help.. Regards,

  • "Old" update rule from ODS not working

    Hi Gurus, I need to set up the "old" fashioned update rule to load data from an ODS1 to another ODS2. The thing is that I need to set up an update rule because I need to implement a Return Table Routine that is not supported (as far as I know) by the

  • BLOG "previous" and "next" buttons out of order?

    I have posted several blogs (some have future dates for upcoming events- I don't know if that messes thing up?) I am having trouble figuring out why the "next" and "previous" buttons are not going in order by posted date (past, present.. future WHATE

  • WDContextMenuHandler.dll crashes Explorer.exe

    After updating to the latest WDSmartware on my laptop running Windows 7 x64  the Explorer.exe process crashes once in a while with the following error in the event log. Any suggestions as how I can fix this? Error: (03/30/2015 08:51:38 AM) (Source: A