Send parameters from java to SSRS 2008 R2

I have java code which has cascading parameters like State and County. If i select State respective county would be displayed in County dropdown. Both will have all option as well. Is there a way to handle it in java? Please let me know

If the report is published in report server then the easiest way is to use URL and display it in an IE browser. We can even send parameters to the URL. Refer
http://msdn.microsoft.com/en-us/library/ms152835.aspx
There is another method that we can access a published report, i.e using
SSRS Web Services.
Otherwise if you are trying to access SSRS report file then you may need to create object or report viewer control(.net framework).
Refer http://msdn.microsoft.com/en-us/library/aa337089.aspx
http://msdn.microsoft.com/en-us/library/ms251671.aspx
Regards, RSingh

Similar Messages

  • How to send parameters from java to perl

    I have a java program which is executing a perl script. I m using
    Runtime.getRuntime().exec method to execute the perl script. Now I have to send some parameters to the perl script from java which will be processed there. can you help me how to do it?

    nitu007 wrote:
    Then there is no solution for this .Not true.
    Actually the perl script was preety big and to convert it to java it will take time.That's no excuse not to do it.
    So i thought i could execute it througn java.You can. CGI is basically a protocol on how to invoke programs and deal with their output; so other programs than web servers can follow it to invoke CGI scripts.
    However, (1) you may find that implementing the CGI protocol from the invoker's side may be a bigger pain than it's worth, and (2) in the long run, you'll end up with a hack that will be a pain to maintain.
    In your case, because the script uses CGI.pm, implementing the full CGI protocol probably won't be necessary. But you'll still be doing some klugery to run the CGI script at all, and you'll be buying yourself pain in the long run. Even if you do run it this way, I'd advise that once you have that working and have some breathing room, you start to work porting the script.

  • Passing parameters from Java to an Oracle proc

    I am passing 3 parameters from Java method to an Oracle function.
    The Java method is called getStatic(String szparams) which invokes oracle function
    getStatic("GB1000");
    Oracle procedure
    SELECT XMLELEMENT("Underlying",
           XMLELEMENT("Code",a.code))
    FROM underlying a
    WHERE xml.extractval(a.xml,'/tables:underlying/tables:isin/text()',xml.getns('NS_TABLES'))=':arg1:' Passing 1 parameter works fine.
    2)Now I need to pass 3 parameters to the same function
    getStatic("GB1000\i\common");
    Oracle procedure
    SELECT
    XMLELEMENT(":arg2::Underlying", XMLATTRIBUTES(a.code "value", ':arg3:' as "xmlns::arg2:", 'http://www.AAA.com/common' as "xmlns:common"),
    XMLELEMENT("common:Code", a.code),
    FROM
      table a
    WHERE
      a.code = ':arg1:'Passing 3 params doesnt work.
    I tried using this way also:
    getStatic("GB1000\\i\\common"); -- still doesnt work.
    Is there a specific format where you can pass 3 parameters to the same method in Java?
    No offence meant,as this may sound silly.
    Thanks,

    Hi Nitin,
    yes, it is possible to pass parameters as URL parameters to the WDA applivcation. In WDA, for the handler method of your windows default Inplug (in standard the method is named HANDLEDEFAULT) define the parameters that you like to receive thru URL. When defining the WDA application, you can also set default parameters to avoid a dump, when parameters are not provided via URL.
    I just tried it out, it works.
    Kind regards
    Andreas

  • How to send SMS from Java program?

    Hello,
    I want to know, how can I send SMS from Java program.I dont have any idea about SMS gateways. Can any one give me Sample code for sending the SMSs from Java Program.
    Thanks,
    -BR

    hi,
    refer javamail concepts
    http://www.google.co.in/search?q=javamail+simple+example&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

  • Passing parameters from java jdbc to pl/sql

    I’m calling stored procedures from java jdbc… but looking for nicer interfaces in terms of passing data. Has anyone come up with a good way to pass data from java jdbc to pl/sql without passing a million parameters? I’m thinking here of some type of structure like pl/sql rowtype or table index type or something else. Has anyone tried to create typed objects in oracle databases and access them from java?
    Thanks, Patrick Caldwell

    Hi Patrick,
    Yes, I have created an Oracle object type, which I successfully returned to a java class, from a PL/SQL stored function, using JDBC. Environment was J2SE 1.3.1, with Oracle 8.1.7.4 on SUN [sparc] Solaris 7 with Oracle's JDBC (thin) driver. It was a while ago, so I don't remember the details very clearly, but I recall being able to figure it out quite easily using the Oracle documentation and the sample code available at Oracle's Technet Web site.
    Hope this has helped you.
    Good Luck,
    Avi.

  • Send message from java not client

    I have a java app running on my server and I'd like to send
    messages to subscribed clients. All the messaging examples I find
    have the messages originating from a flex producer. I want java to
    be the producer.

    I used this example to get it done.
    http://western-skies.blogspot.com/2006/07/flex-sending-messages-from-server-side.html

  • Clear text  password - how to send it from java.

    I am trying to reset the password of a user from java.
    So I have to open a socket connection to Unix box and send a packet in following format
    "<adminUserid> <adminPassword> PASSWORD <target-userId> <new-passwd>\n"
    So they say that user credentials are to be send in cleartext
    Please tell me how i can send above string as cleartext
    thanks in advance.
    Renjith.

    But this is not working for me , UNIX gurus please help
    import java.net.InetAddress;
    import java.net.Socket;
    import java.net.UnknownHostException;
    import java.io.BufferedWriter;
    import java.io.OutputStreamWriter;
    import java.io.IOException;
    public class TestUnix {
    public static void main(String args[] ) {
         try {
                 InetAddress addr = InetAddress.getByName("x.x.x.x");
                 int port = 6546;
              System.out.println("Address IP : "+addr);
                 // This constructor will block until the connection succeeds
                 Socket socket = new Socket(addr, port);
              BufferedWriter wr = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
              String command = "<Admin><admin-pwd>PASSWORD<user><user-pwd>\n";
              System.out.println(command);
                     wr.write(command);
                 wr.flush();
              socket.close();
              System.out.println("Finished executing");
             } catch (UnknownHostException e) {
             } catch (IOException e) {
    }

  • How to call a procudure (has collection as one of the parameters) from java

    Hi
    I have written a PL/SQL procedure. One of the parameters of the procedure is a collection.
    Could you please tell me how to call this procedure from java.
    Regards

    see the link for example
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/sqljSTCollectionSample/SqljSTCollectionSample.sqlj.html

  • How to send sms from java code

    hi
    I have involved in a project where I need to send sms to mobile from java code.Can anyone help me.if u have code please send me.
    thanks
    dhinesh

    Hi,
    there are several methods to do so but using Web Services is an easier one. Google will help you to find a provider. (E.x. http://www.remotemethods.com/home/communic/sms .)
    Best wishes,
    Christian Ullenboom | http://www.tutego.com/

  • Sending mail from java program

    I want to send mail from my java program.
    does anyone have the sample code?

    http://forum.java.sun.com/thread.jsp?forum=31&thread=266116

  • How to Send Fax from Java Code ?

    I want to send Fax from my Java Program without using any third party tools like RFax etc.
    I have explore that it is possible by using Java Communication API , but I can''t get the exactly. Can anybody help me Please?

    Ankit_B wrote:
    I want to send Fax from my Java Program without using any third party tools like RFax etc.
    I have explore that it is possible by using Java Communication API , but I can''t get the exactly. Can anybody help me Please?Have you tried searching the web? These open-ended questions like "I don't know how to do X, can someone help me" are almost never answered.
    However, if you have some specific question, feel free to ask it here.

  • Send error from Java to Flex

    I need to throw errors from Java and to receive them in Flex.
    My idea is using xml with error id and message, and maybe the Flex
    component which should show the error.
    Is there any other way to do it? Another interaction between
    Java and Flex?
    Thanks in advance
    Tuli-O

    XML wrapping error info written to response when java code
    throws and having a common component on the flex to handle this
    situation -- maybe on the fault event.

  • Send signal from java program to Excel document

    Hi
    I have a Java-program that once a day brings information from a website on the internet. When this has been done, I want to send a signal to an Excel document to run a vba-macro. The "signal" can e.g. be to put a value in a certain cell in the Excel document.
    Any ideas on how to do this?

    Thanks gtRpr I didnt actually know what webservices are so I looked them up, below is one of definintions i got, and this is not what I want. The class that i write will be only used by me and only to extract data from one website.
    >
    Web services allow organizations to communicate data without intimate knowledge of each other's IT systems behind the firewall.
    secruity is not a problem, so there should be no need to encypt. Here is the kind of steps that I have put together so far, please could you comment on them...
    1. find out what the textfields are called on the website that need //do this by hand once
    2. parse the website username and password
    3. traverse to correct web page
    4. return page info in xml format //sorry im new to this side of programming, is it easy to convert html - xml
    5. need to strip out all unessary xml comments to reveal me with my specific data
    Thanks
    Edited by: calypso on Aug 8, 2008 2:15 AM

  • How do I send email from Java?

    Is there a class in Java to send email? Is there a third party class to do this? I don't really want to have to implement my own class which connects to the mail server...

    If you want a class to send mail...
    Here's the code :
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class Mail
    // Attributs
    public String host = null;
    public String to = null;
    public String from = null;
    public String subject = null;
    public String messageText = null;
    public String protocol = null;
    public Mail()
    host = "<your host>";
    public void sendMail()
    String msgRetour = null;
    Properties props = System.getProperties();
    props.put( "mail.smtp.host", host );
    Session sessionMail = Session.getDefaultInstance( props, null );
    try
    Message msg = new MimeMessage( sessionMail );
    msg.setFrom( new InternetAddress( from ) );
    InternetAddress address[] = { new InternetAddress( to ) };
    msg.setRecipients( Message.RecipientType.TO, address );
    msg.setSubject( subject );
    msg.setSentDate( new Date() );
    msg.setText( messageText );
    Thread mailThread = new TransportThread(msg);
    mailThread.start();
    catch( MessagingException e )
    class TransportThread extends Thread
    public Message msgMail;
    public TransportThread(Message msg)
    msgMail = msg;
    public void run()
    send();
    public void send()
    try
    Transport.send(msgMail);
    catch( MessagingException e )

  • UnsupportedDataTypeException when sending mail from Java application

    I try to get the Java Mail API running. I'm able to compile all sample programs delivered with the API but when I try to run e.g. msgsend, msgsendsample or a sample that I found in this discussion (zmail from zakir_sh), I always get the same error:
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
    javax.mail.MessagingException: IOException while
    sending message;
    nested exception is:
    javax.activation.UnsupportedDataTypeException: no
    object DCH for MIME type text/plain; charset=us-ascii
    Does anybody has the same problem? What's going wrong?

    Initially, I too had difficulty with JavaMail, mainly because I did not read the documentation carefully enough.
    I bypassed msgsend, etc. and wrote a very basic program to send mail; fired up my dial-up-connection and everything worked beautifully.
    Try the same. If you don't succeed, post your code here.
    Good luck.

Maybe you are looking for