Using interfaces as input or output parameters in web service

hello
I searched the web looking for a clear answer wether my web service
can return or receive an interface (when using rpc), but i haven't got one.
My web application methods were designed to return interfaces, so now
i'm having a problem creating web services from those methods.
Do i have to change my application to fit the web services spec?
Amir

Hello,
If your backend components use non-built-in data types as parameters or
return values, you must create the Java code of the data type and then
create or generate the serialization class that converts the data
between XML and Java. See:
http://edocs.bea.com/wls/docs81/webserv/implement.html#1068229
The supported Java non-built-in data types are listed here:
http://edocs.bea.com/wls/docs81/webserv/assemble.html#1068595
If you have a short example would be helpful to see what you are
building.
Regards,
Bruce
WL wrote:
>
hello
I searched the web looking for a clear answer wether my web service
can return or receive an interface (when using rpc), but i haven't got one.
My web application methods were designed to return interfaces, so now
i'm having a problem creating web services from those methods.
Do i have to change my application to fit the web services spec?
Amir

Similar Messages

  • How to view multiple output parameters from web services

    I have used the Labview tool to create a .NET assembly from a WSDL file.
    In the WSDL file the service has been defined to return 2 output parameters.
    In Labview, when I invoke the method for this service the first output parameter ends up as the return value of the method.  I can create an indicator for this and it gets updated properly when I run the VIS to use the web service..  The indicator is an integer value but recognizes the type defined within the WSDL file. 
    The second output parameter shows up as an output value.  When I right click on it and create an indicator for it I get a .NET icon on the front panel rather than an integer value. 
    How can I view the value for this second output parameter after running the web service?
    Is there a difference in how multiple output parameters handled in newer versions of Labview (I am using verison 7.1)?

    scrooge wrote:
    You can try this link .
    the link is dead... or i dont have access..

  • TS4055 How do I use my MacBook Air to access the Amazon Web Service?

    How do I use my MacBook Air to access AWS (Amazon web Service)?  The information provided to me by Apple Care seems to be about allowing outside access to my MacBook.

    Sorry, but does this relate to Apple Remote Desktop, Apple's software for managing networked Macs, in some way? If so, how are you using ARD in relation to Amazon's services?

  • I have on;y one audio port can i use it for input and output at the same time?

    i have the new macbook pro 13 in and i want to connect aguitar as input and output on an amp but i have only one audio port

    You can't use the jack as an input and output simultaneously. The solution is to look for a USB or Firewire interface to get your guitar sound into the computer.

  • How to bind complex input/output types in web service data control

    Hi,
    I have created data control using external web service for simple input & output data type and its working fine.
    But I don't know how it can be done for complex data types.
    My external Web services have complex input & output types. Such as java object which contains another java object again it contains another java object or arry or java collection etc.
    Each my service has one complex input data type and for this no user input is require so how I can do it without using any component for it.
    I want to bind my page components with this input & output type.
    What is the best approach to do this and how to bind screen component.
    Regards,
    Devang

    Hi,
    Thanks frank.
    I already check this link before posting this so if you have any other link then kindly reply.
    Regards,
    Devang

  • Strange behaviour when passing many input parameters to web service

    Hello!!!
    I developed a web service with 52 input parameters using tomcat+axis!
    While testing it in my development enviroment everything was working fine
    (LAN consisted of three windows 2000 server machines!!!)
    When i deployed it in my customer enviroment (VPN with 200 isdn connections) i get a very strange error:
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (0)null
    faultActor:
    faultNode:
    faultDetail:
    {}string: return code: 0
    (0)null
    when i used tcptracer in order to understand what is going on,
    I realised that the error occurs when the http request is more than 1350 bytes.
    Can someone explain this behaviour?
    thanks in advance!
    sarantos

    Hi Sarantos,
    I think, there is nothing wrong in the axis engine nor the http request limits as you said. I tried the same passing a 60 kb String as an argument to an operation , getting the results perfectly.
    So problem could be with the method capacity size of your implementation. (I think default it is 64kb)
    bye
    Charlie

  • Transaction Output when invoked Web Service

    Hi all,
    I have developed a transaction which has an output parameter of type list, derived from the classic ERP BAPI Flight Get List
    When I invoke the transaction as web service from a SOAP test tool I get a SOAP response like:
    <MyTestOutput>
    [[string:FRA], [string:TYO], [string:FCO],  [string:KIX]]
    </MyTestOutput>
    So the output xml element is just one, containing the whole list.
    I don't like this because the web service consumer must parse that element to get all the result items.
    What I would like is a more xml-like output structure, such as:
    <MyTestOutput>[string:FRA]</MyTestOutput>
    <MyTestOutput>[string:TYO]</MyTestOutput>
    <MyTestOutput>[string:FCO]</MyTestOutput>
    <MyTestOutput>[string:KIX]</MyTestOutput>
    Is there a simple way to achieve that?
    In the help/guides I have studied there's no hint about how to do so.
    Thanks, regards
    Vincenzo

    Hi Vincenzo,
    I reopened your thread. 
    Instead of making your output parameter type of List, create an output parameter of type xml.  If you look at most of the transactions available as downloads, you will see numerous examples of the types of structures the xml will accomodate.  And you will not have to convert the outputs back to xml for further processing.
    If you use a repeater to build your xml, you can accomplish the structure you desire.  Alternatively, you can build an MII Document and the format will be
    <Rowsets>
    <Rowset>
    <Row>
    <your Fieldname>
    data1
    </your Fieldname>
    </Row>
    <Row>
    <your Fieldname>
    data2
    </your Fieldname>
    </Row>
    <Row>
    <your Fieldname>
    data3
    </your Fieldname>
    </Row>
    <Row>
    <your Fieldname>
    data4
    </your Fieldname>
    </Row>
    </Rowset>
    </Rowsets>
    Regards,
    Mike
    Edited by: Michael Appleby on Sep 20, 2011 1:29 PM

  • Using Client Side Extensions (SWF) to call external Web Service

    Hi,
    I'm using .swf files to extend my CRMOD application, and one of my requirements is to be able to show information on a custom applet using the Client Side Extensions. This information is coming from an external system, so i'm trying to call this external web service using .swf.
    When i create my swf application and i run it locally, i can access the web service and receive the results into my browser, but when i do the same call from the custom web applet in CRMOD i don't get any results.
    Can someone tell me if this is possible? And if so, how to do it?
    Best Regards,
    NF

    Post Author: luke
    CA Forum: Data Integration
    Yes. I  have figured out the way to do it.
    Luke.

  • Use installshield to create setup file from mvc web service

    I need help from gurus :)
    I have an mvc web service and I need to create a setup package with installshield but I don't know how to do it.
    I want create setup to install at another machine (under IIS)
    Can someone help me please?
    Thanks in advance.

    Hello,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because you want to use InstallShield which we don't provide support, I suggest you to consult your issue on InstallShield forums for better support.
    Thanks,
    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.

  • Use other application server to run Oracle generated web services

    Hi all,
    I am currently running an Oracle 9i database and application server (OC4J) and use WebservicesAssembler (JPublisher) to expose PL/SQL packages as web services to an external PDA application.
    Is it possible to run the EAR files (the assembled web service) generated in this way on another type of application server? This question because I need to use Resin in a live environment.
    If this is not possible, would there be a way to work around it? I mean by manually programming the web service against the PL/SQL package. And if so, has anybody tried that out before?
    Are there other alternatives?
    Thanks in advance for your help!
    Regards,
    Stijn Lambert

    Hello,
    Which version of OracleAS/Web Service stack are you using?
    If you are using a version prior to 10.1.3 the Web Service stack is proprietary and not portable.
    JAX-RPC used in 10.1.3 is more portable but you have to be very careful about the way you create your deployment descriptor.
    In a general manner you can always create pure JDBC/JPublisher clients and expose them using the Web Service that you want.
    Regards
    Tugdual Grall

  • Issue using Flash IDE with Mac OS and Windows Web Service using NTLM authentication?

    I have an existing application that I developed on a Windows machine using CS5.  It uses a local intranet web service written in .NET using NTLM authentication.  The web service does multiple things such as read data from an SQL database, provide the user's username, and test for write/read access to a local company fileshare.  When my company upgraded, I went to a Mac with Flash CC which is great.  However, Mac's don't handle HTTP Authorization Challenge Blocks like Windows machines.  In Safari, Chrome, etc. it will pop up a little username and password box and proceed on without issue.  The issue is in Flash development.  When running the exact same application in Flash testing all script access fails with HTTP Status 401 errors.  I have searched the AS3 documentation, but the only thing built in to handle http challenge requests is in AIR not Flash.  The server admin's and I have tried all method's of cross domain policy files and access changes with no luck at all.  Does anyone have a solution to this issue?

    Did you check Apple Support Boot Camp article?
    iMac displays a black screen during installation of Windows 7
    http://www.apple.com/support/bootcamp/
    Installation Guide
    Instructions for all features and settings.
    Boot Camp FAQGet answers to commonly asked Boot Camp questions.
    Windows 7 FAQAnswers to commonly asked Windows 7 questions.

  • Please Help - How to pass Table objects as input and output parameters using VC++

    Please help me by giving a sample code to call the procedure
    GetClassInstanceProperties from a VC++ application using
    Oracle Objects for OLE
    CREATE OR REPLACE TYPE TY_INST_ID_PROP_PAIR AS OBJECT
    (INST_ID CHAR(38), PROP_ID CHAR(38), VALUE XMLTYPE);
    CREATE OR REPLACE PACKAGE DBMS_PROPERTYSTORE
    AUTHID CURRENT_USER
    AS
         --Used to return the ids from the functions
         TYPE tt_UUIDs IS TABLE OF char(38) index by binary_integer;
         TYPE tt_inst_id_prop_pairs is table of ty_inst_id_prop_pair index by binary_integer;
         PROCEDURE GetClassInstanceProperties(ClassId IN char, Prop_Ids in TT_UUIDs,
    Inst_Id_Prop_Pairs out TT_Inst_Id_Prop_Pair);
    END DBMS_PROPERTYSTORE;
    CREATE OR REPLACE PACKAGE BODY DBMS_PROPERTYSTORE AS
         PROCEDURE GetClassInstanceProperties
              ClassId IN char,
              Prop_Ids in TT_UUIDs,
              Inst_Id_Prop_Pairs out TT_INST_ID_PROP_PAIR
         AS
         BEGIN
              --Return the instanceid,propertyid and values for a certain class
              --only return those properties that in the user supplied Prop_ids table
              FOR I in Prop_Ids.FIRST..Prop_Ids.LAST loop
                   select TY_Inst_Id_Prop_Pair(i.Inst_Id,p.Prop_Id,p.Value) into Inst_Id_Prop_Pairs(I)
                        from TBL_Instance i, table(Prop_Pairs) p
                        where I.Cls_Id.Cls_Id=ClassID
                        and p.Prop_Id = Prop_Ids(I);
              END LOOP;
         EXCEPTION
              WHEN NO_DATA_FOUND THEN
                   raise_application_error(-20100, 'No data found');
              WHEN OTHERS THEN
                   raise_application_error(-20200, SQLERRM);
         END GetClassInstanceProperties;
    END DBMS_PROPERTYSTORE;

    HI
    Go to the lay out of your screen and doublr click on the table control fields, you can get the Properties/Attribute of the screen or table control Fields
    Assing a Group GRP1 for all the fields i n the table control.
    in PBO
    if ok_code = 'INPUT'.
    LOOP AT SCREEN.
    IF screen-grp1 = 'GRP1'.
    screen-input = 1.
    modify screen.
    endif.
    ENDLOOP.
    elseif ok_code = 'OUTPUT'.
    LOOP AT SCREEN.
    if screen-grp1 = 'GRP1'.
    screen-input = 0.
    modify screen.
    endif.
    endloop.
    endif.
    Regards
    Ramchander Rao.K
    Edited by: Ramchander Krishnamraju on Aug 8, 2009 5:27 AM

  • I need to find a more complicate​d example, specifical​ly using arrays as inputs and outputs, to Code Interface Nodes.

    I am a beginner in C programming and I cannot understand how to use the structures that LabVIEW creates for its arrays in C. Can anyone point me to a good example?

    Check the following answer that I posted recently to a similar question.
    http://exchange.ni.com/servlet/ProcessRequest?RHIV​EID=101&RPAGEID=135&HOID=5065000000080000006D1E000​0
    Good luck!
    Vargas
    www.vartortech.com

  • SP8T switches control using labview (1 input 64 outputs)

    Hi there,
    I have a board with 1 input port and 64 Output ports and want to test it using VNA.
    I could not find any switch with 1 input and 64 outputs. 
    So going to buy 9 of SP8T switches. 1st switch will work as main and will connect to next 8 switches to make 64 outputs.  (PLEASE SEE ATTACED .png FILE FOR BETTER UNDERSTANDING)
    Before I buy these switches, can anyone help me that what other stuff I need to buy as someone said I need to buy Controller that will control these all switches.
    and
    If i need to buy controller, what about the LabVIEW program. Is it going to be any driver and Express VI to control these switches.
    Thanks
    Rana
    Attachments:
    switches diagram.png ‏17 KB

    Hi Faheem,
    Thanks for posting your question. As mentioned, we'll need more information on the switches and even about the application. We have dedicated sales engineers who would be able to recommend a controller further to a discussion of what it is you are looking to achieve. I'll have one of our sales engineers contact you for further assistance.
    Regards,
    Soloman
    Application Engineer (CLAD)

  • How can I substitute characters in a string when the same characters are used in both input and output strings

    Hi Numbers users,
    I am trying to get Numbers 2.3 on OS X (10.9.1) to convert  cells containing variable length strings composed of 6 letters, A, B, C, a, b, c into a second string containing the same 6 lettersusing the rule A to c, B to b, and C to a and vice versa, so for example cell A1 might contain string "AcBbCaaB" and I want Numbers to convert this into "cAbBaCCb" in cell B1. I have tried to use the SUBSTITUTE function (nested) without success so far as I end up with the letters either all uppercase or all lowercase. I understand why this is happening and maybe it isn't possible using SUBSTITUTE. Does anyone know if there is another function I can use to do this?
    Thanks, Hugh.

    you can use this method:
    Add a new table, called "Translator", show as the bottom table:
    Enter the data in columns B anc C as shown
    cell A1 contains:
    "=CODE(B1)"
    select cell A1 and fill down
    For the table on top enter your code in column A.  The converted code will be in column B.  Make sure there are enough columns (I went out to column AD):
    B2=R2&S2&T2&U2&V2&W2&X2&Y2&Z2&AA2&AB2&AC2&AD2
    C2=LEN(A2)
    D2=MID($A2, COLUMN()−2, 1)
    select D2, copy,
    select cells D2 thru P2, paste
    R2=IFERROR(VLOOKUP(CODE(D2), Translator::$A:$C, 3, 0), "")
    select R2, copy,
    select cells R2 thru AD2, paste
    select B2 thru AD2 and fill down as needed
    You can hide columns C thru AD

Maybe you are looking for

  • Printer is not working properly after I updated OS

    My printer is not working after I updated my OS software. It will only print out pages as a mirror image. All the programs are not printing properly. Could really use some help fixing this issue.

  • Selection screen: Radio button

    HI, I want to create a report with the selection screen. In the selection screen. there are two radio button under which there are two fields in each of it.  Like Below Radio Button 1 Field 1 Field 2 Radio Button 2 Field 3 Field 4 if the User select

  • Field OBJNRZ in Tables FMIFIIT and FMIOI

    Hi all, I need fill the field OBJNRZ in tables Tables FMIFIIT and FMIOI but I dont know if the User exit EXIT_SAPLFMRI_001 and EXIT_SAPLFMRI_001 need abap code for to be filled (OBJNRZ) or only is needed activate this user exit. Regards, Alberto

  • Problem with a process chain transport

    Hi all,   I have a problem with a process chain transport, I transport it but when I see the changes in testing environment I don’t see it, I did it four times but nothing happen and I don’t have errors.   Can anybody tell me how to transport a proce

  • Premiere CC 2014 Yosemite Macbook Pro Open CL Problems

    Hi, After getting a brand new Macbook Pro i.7.  Installed Premiere Pro CC 2014 but its been pretty much unusable when editing.   Even when not playing,  menus have a latency as if all memory is used and CPU is maxed out...but its not.   I tried Apple