Passing parameters between server and client side

Dear All
I writing a server-side web service and using wsdl to expose its methods for a 'client' to use.
However, i need to make sre the clients creates a soap header? How can i tell the client it must create a soap header?
Also can someone tel me how i pass a value from the server-side to the client-side and also get a vlue from the client soap message
Many thanks

In your wsdl you would have the header as part of the input for example, see the operation below:
<wsdl:operation name="foo">
<soap:operation soapAction="http://www.foobar.com/foo" style="document"/>
  <wsdl:input>
   <soap:body use="literal"/>
   <soap:header message="tns:FooSoapHeader" part="MySoapHeader" use="literal"/>
  </wsdl:input>
  <wsdl:output>
   <soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

Similar Messages

  • Difference between SERVER and CLIENT side conflicts?

    Some sync conflicts (ApplyChangeFailed event) are generated on the server side (WCF service in my case) and some are generated on the client side ... what triggers the conflict
    to be generated on one side or the other?

    the ApplyChangeFailed is fired by the provider that's applying the change.
    When you upload, it fires on the destination/remote provider.
    when you download, it's your local provider applying the change.

  • Data streaming between server and client does not complete

    Using an ad-hoc app, data streaming between server
    and client does not complete as it supposed to be.
    The process runs well in solaris 5.8, however under 5.9
    we have found the characters stream buffer length limitation
    is around 900 to 950 characters (by default we are using 3072
    characters).
    Example:
    - We are transfering HTML file, which will be displayed
    in the App client, with buffer=3072, the HTML only displayed / transfered
    as xxxxxxxx characters, but with buffer=900 the HTML is displayed properly,
    in this case, the only problem that we have is the file transfer will
    eventually longer than usual.
    - There is another case, where we have to transfer information (data) as stream
    to the client. A long data stream will not appear at all in the client.
    Any ideas why the change between 5.8 and 5.9 woudl cause problems?
    The current app-driver that we are using is compiled using Solaris 5.6,
    if possible we would like to have use of a later version, which is compiled using Solaris 5.9, do you think this will probably solve our problem?
    Thanks
    Paul

    Does this have anything to do with Java RMI? or with Java come to think of it?

  • Serialize the object between Server and Client?

    Hello friends,
    What is the important to Serialize the object between server and client?
    Thanks
    tamilvanan

    in which context ??
    Anyways,checkout the below link and try to understand how do we convert Serializable Object's State to in Stream and send it over network.
    http://java.sun.com/j2se/1.4.2/docs/guide/serialization/examples/index.html
    Hope that might help :)
    REGARDS,
    RaHuL

  • Bandwidth between server and client

    HI
    What is the minimum bandwidth can be allocated between server and client?

    Hi,
    Your question has no standard answer. The minimum bandwidth is variable to each specific system. It depends on many other factors too.
    Thanks,
    Gordon

  • Speed between server and client when using FML

    I using FML between server and client, the server access oracle using only 5 ms, but when tranfer back to client, it about 100ms long. I tuned my hp-ux 11 kernel and tuxedo config file, but useless, Why?

    Hi Tumecan,
    Your expected information available here, check.
    Frontend Network Load - Network Integration Guide (BC-NET) - SAP Library
    few related SAP Notes:
    164102 - Network load between application server and front end
    500235 - Network Diagnosis with NIPING
    62418 - Network Load of SAPGUI Frontend Communication
    679918 - The front-end network time
    578118 - Long response times on the SAP GUI
    161053 - Using SAP GUI in WAN
    Regards,
    V Srinivasan

  • How to pass parameters between main and sub vi during parallel execution using the VI server technique?

    Hello All,
    I am working with the following example (from previous postings on this
    board) that demonstrates how to run a sub vi in parallel with the main
    vi.  I'd like to pass parameters between the main and sub such as
    the control (delay) and indicator (value) parameters of my subvi
    example.  Does any one know how to do this?  Parallel
    execution is important for me, I cannot just paste the subvi icon into
    my main diagram (two nested while loops...)
    Many thanks,
    Luis
    Message Edited by cascao on 08-16-2005 08:42 PM
    Message Edited by cascao on 08-16-2005 08:42 PM
    Attachments:
    VI_Server_technique.vi ‏32 KB
    SubVI_1.vi ‏19 KB

    cascao wrote:
    Hello All,
    I am working with the following example (from previous postings on this
    board) that demonstrates how to run a sub vi in parallel with the main
    vi.  I'd like to pass parameters between the main and sub such as
    the control (delay) and indicator (value) parameters of my subvi
    example.  Does any one know how to do this?  Parallel
    execution is important for me, I cannot just paste the subvi icon into
    my main diagram (two nested while loops...)
    Many thanks,
    Luis
    Luis, you can use the VI Server methods 'Set Control Value' and 'Get Control Value', as demonstrated in the attached examples.
    -Franz
    Attachments:
    VI Server.zip ‏26 KB

  • Time sync between server and client

    Hi guys,
    I have written a chess server and client. My next step is to implement a clock which will be used in timed games, however, I am not sure of the best solution. I can't think of a reliable method to keep the client's time in sync with the servers because the event latency varies between individual events and clients.
    My first idea was to send a 'tick' event every second but I dont think this the best solution. I have seen many applet based clients which have timers, such as Yahoo chess.
    I know this question is a little vague, I can give more detail if needed.
    Thanks,
    Alex

    To prevent client-side cheating, the server should keep the
    "official" clock. Every so often (perhaps when a move gets made?),
    notify both clients of the official time. Clients count seconds from
    that official time.
    This is a suboptimal solution because it leaves clients vulnerable
    to network lag. I can't think of any other solution that doesn't give
    clients some responsibility for tracking time, though, and that's a
    big security hole.
    If you're willing to open that hole, have each client report back to
    the server the elapsed local time from when they recieved the
    last move to when they made their move. Then update the other
    client's clock accordingly.

  • Connection between server and client using thread

    hi
    i am new to java..i hav done a program to connect a server and client...but i hav not used threads in it..
    so please tel me how to use threads and connect server and client..i tried it out not getin...i am havin thread exception...my program is as shown below
    SERVER PRG:
    import java.io.*;
    import java.net.*;
    public class Server{
    String clientsen;
    String serversen;
    public void go(){
    try{
         ServerSocket serverSock=new ServerSocket(6789);
         while(true) {
         Socket sock=serverSock.accept();
         BufferedReader inFromClient=new BufferedReader(new InputStreamReader(sock.getInputStream()));
         BufferedReader inFromuser=new BufferedReader(new InputStreamReader(System.in));
         DataOutputStream outToClient=new DataOutputStream(sock.getOutputStream());
         clientsen=inFromClient.readLine();
         System.out.println("From Client: "+clientsen);
         System.out.println("Reply mess to Client");
         serversen=inFromuser.readLine();
         outToClient.writeBytes(serversen+'\n');
    } catch(IOException ex) {
         ex.printStackTrace();
    public static void main(String[] args) {
         Server s = new Server();
         s.go();
         CLIENT PRG
    import java.lang.*;
    import java.util.*;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.*;
    import java.lang.Thread;
    import java.applet.Applet;
    class Client1
    public static void main(String argv[]) throws Exception
              String Sen;
              String modsen;
              BufferedReader inFromUser=new BufferedReader(new InputStreamReader(System.in));
    Socket clientSocket=new Socket("192.168.1.2",6789);
              DataOutputStream outToServer=new DataOutputStream(clientSocket.getOutputStream());
              BufferedReader inFromServer=new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
              System.out.println("Enter the mess to be sent to server");
              Sen=inFromUser.readLine();
              outToServer.writeBytes(Sen + '\n');
              modsen=inFromServer.readLine();
              System.out.println("FROM SERVER: " +modsen);
              clientSocket.close();
    please send me the solution code for my problem...

    sorry for inconvenience...
    SERVER PROGRAM
      *import java.io.*;*
    *import java.net.*;*
    *public class MyRunnable implements Runnable*
       *public void run() {*
       *go();*
    *public void go(){*
    *try {*
        *String serversen;*
       *ServerSocket  welcomeSocket=new ServerSocket(6789);*
       *while(true)*
    *Socket connectionSocket=welcomeSocket.accept();*
    *//BufferedReader inFromClient=new BufferedReader(new //InputStreamReader(connectionSocket.getInputStream()));*
    *System.out.println("enter the mess to be sent to client");*
    *BufferedReader inFromuser=new BufferedReader(new InputStreamReader(System.in));*
    *DataOutputStream outToClient=new DataOutputStream(connectionSocket.getOutputStream());*
    *//clientsen=inFromClient.readLine();*
    *//System.out.println("From Client: "+clientsen);*
    *//System.out.println("Reply mess to Client");*
    *serversen=inFromuser.readLine();*
    *outToClient.writeBytes(serversen+'\n');*
    *} catch(IOException ex) {*
    *        ex.printStackTrace();*
    *class Server1{*
    *public static void main(String argv[]) throws Exception*
         *Runnable threadJob=new MyRunnable();*
    *Thread myThread=new Thread(threadJob);*
    *myThread.start();*
    *}*CLIENT PROGRAM
    import java.io.*;
    import java.net.*;
    class Client2
    public static void main(String argv[]) throws Exception
              //String Sen;
              String modsen;
              //BufferedReader inFromUser=new BufferedReader(new InputStreamReader(System.in));
    Socket clientSocket=new Socket("192.168.1.2",6789);
              //DataOutputStream outToServer=new DataOutputStream(clientSocket.getOutputStream());
              BufferedReader inFromServer=new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
              //System.out.println("Enter the mess to be sent to server");
              //Sen=inFromUser.readLine();
         //     outToServer.writeBytes(Sen + '\n');
              modsen=inFromServer.readLine();
              System.out.println("FROM SERVER: " +modsen);
              clientSocket.close();
    this is the code which i hav used using thread but i am gwetin error..ts is the error
    Exception in thread "main" java.lang.NoSuchMethodError : Main

  • Transfer files between server and clients

    Hi all
    i use oracle forms 11g r2 webutil
    i have some questions :
    1- How i can choose picture from client side and save it on server ( in folder ) ?
    2- How i can print the picture from client side?
    Thanks

    Hello,
    For transfering files, configure the Webutil library, then use its AS_To_Client() and Client_To_AS() methods.
    Francois

  • Passing parameters between WDA and Iview URL.

    Hi,
    I've a Iview type URL and I want to passing parameters through of code of my WDA. I Know to call a Iview for code  but I don't know passing parameters. I used this method for call the iview:
    CALL METHOD l_portal_manager->navigate_absolute
    EXPORTING
    navigation_target = path
    navigation_mode = if_wd_portal_integration=>co_show_external.
    (path = roles//....idiview).
    Thanks.

    Look at this thread..
    Re: Get URL Parameter Starting With underscore '_' (_sapwiid)
    <i>*Reward each useful answer</i>
    Raja T

  • Difference between Server and Client Installation of ODI

    Hi All,
    i am new to ODI, recently i try to install ODI it has three Option 1.Complete 2. Client 3. Server
    i installed Server after installation it contains only Agent. and i tried Client option end of the installation i saw all the ODI components including Agent. i am bit confusion about when do i need to use ODI Server and when do i need to use ODI Client and what is the purpose of both
    Thanks
    Knidhi
    Edited by: knidhi on Oct 6, 2009 2:38 PM
    Edited by: knidhi on Oct 6, 2009 2:38 PM

    Hi,
    Trying to help :-
    What roll ODI Server play in the entire ODI ArchiTechture?
    ODI Server will act as a cenratilsed system for all your ODI clients
    You can call this ODI server as an execution server for all your ODI clients .
    When this is needed ?
    (some real time examples to explain the need)
    If there is team need to work on a cenratlised application ...
    say MachineDev1 (developer1) , MachineDev2 (developer2) .. and MachnAnlayst1 (An1), MachnAnlayst2 (An2) need to work on an single application
    The developer1 will create projects based upon his machine ,
    The developer2 will create projects based upon his machine ,
    and the analysts/operators will try to execute the application from their machines with their machine agents.
    the application will reffer the paths for temperory/supporting files/folders on the agent machines which they are running ...
    this will be a difficult task, if you dont have a similar folder sturcture in all of your machines ..
    In order to avoid this conflict you need a centralised system for running your jobs from different machines
    say SVR (from your example). put all the supporting files/folders in this system while developing projects each develpoer need to consider this server as an execution server.
    so if any execution comes from any clients with this agent, it will reffer to the machine SVR folders and you can have a centralaised enviorment to work for different machines.
    Regards,
    Rathish

  • Passing parameters between JSP and Servlet

    The scenario is as follows:
    There is a JSP page that sends a string as a hidden parameter to a servlet:
    <input type="hidden" name=<%= Book.NAME %> value=<%= book.getName() %> >
    In the servlet there is a print statement that checks the parameter value:
    System.out.println("Book name: "+request.getParameter(Book.NAME));
    The problem is as follows: if the name of the book consists of more than one word
    such as "Servlets and JSP", the print statement will print only Servlet.
    If the JSP page passes a string directly as shown here:
    <input type="hidden" name="Test" value="Test String" >
    The servlet will print the complete string: Test String
    The same problem appears if the string is passed between two JSP pages.
    Any help is greatly appreciated.
    Regards,
    Basil Mahdi

    You might want to try
    <input type="hidden" name="<%= Book.NAME %>" value="<%=URLEncode.encode(book.getName(), "UTF-8")%>" >This will take care of any wierd un-url friendly charcters that might appear in the book titles such as the ' or " which may be the problem.

  • Passing Parameters between Portal and Forms 6i

    Hi,I'm new in Oracle Portal and I have a problem. I have a Portal's report and I need to pass a value from this report to Form 6i to perform the query. This form is a porlet including in the Portal page.
    please help me

    Hi, Im trying to do that you said, but doesn't work :-(, my code is something like this, in the portlet.xml(jboss portal 2.6) :
    <portlet-preferences>
    <preference>
    <name>stockSymbols</name>
    <value>BEAS</value>
    </preference>
    <preference>
    <name>refreshInterval</name>
    <value>600</value>
    </preference>
    </portlet-preferences>
    in the consumer(bea wlp 8.1 sp5), i dont see any portlet preference in the palette window, im doing something wrong?...thanks for your help.

  • XL Reporter Problem:  Version Mismatch between server and client

    When I start SAP Business One, I get the following message:
    "The new version of Add-on is installed.  Upgrade the Add-on in the current Common DB."
    The version of the XL Reporter add on shown in the Add-On Administration is 881316, but the version of the add-on in the Add-On Manager screen is 881 316 00 08 (equates the verions of SBO installed).
    Does anyone have any advice on how to correct?   Do I need to reinstall SAP Business One on the server?
    Regards
    Jeffrey Patch

    Hi,
    Check this link :
    https://websmp202.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000827312009E
    Check Application Error/Limitation > Reason 6 in the link.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for

  • How can i delete my itunes account as i think im being hacked, almost every day itunes are taking accessive amounts of money from my account!

    Dear Apple support, how can i delete my itunes account as i think im being hacked!! over the past few months a lot of money seems to be taken from my account ranging from as little as £1 to £60... i cant take any more. Can i delete the account? Can u

  • ITunes crashes after launch?

    Hi everyone, Recently, I have downloaded and successfully installed the newest version of ITunes (ITunes 10.5) on Windows 7 x64Bit. Inversely, the program immediately crashes and fails to respond as soon as launched. A few seconds after the launch, 

  • Problem in Master Detail form

    Hello I am new to Form Developer and the question I am asking may be very simple for experienced programmers but as I said I am new to forms development so I am finding it a bit hard. I have got the following three tables in database. 1. Student (rol

  • Why wont my iPhone 4 pick up any phone on bluetooth

    When I try to search for devices using bluetooth, I cant pick up any iphone or any phone, while the other person with bluetooth has it turned on, it just keeps searching. What do you think the problem is, and is there anything i can do? Everything el

  • Why does my fan keep running

    The Fan on my Imac is constantly running, even after a restart and a shutdown it comes back one one Imac is powered up.