How to use a webservice in  JSPDyn page

hai,
   I have created one webservices but i donot how to use that webservices in JSPDyn page.
  can anyone give solution for this problem
Rds
Shanthakumar

Check out the Axis user's guide at: http://ws.apache.org/axis/java/user-guide.html

Similar Messages

  • How to use This webservice in PHP ?

    Hello.
    I'm trying to use this webservice in PHP but there isn't a documentation or something that can help me.
    I have this function, and she returns to me a sessionID :
    function wslogin() {
         global $crmdomain;
         $url = $crmdomain . "/Services/Integration?command=login";
         $page = "/Services/Integration?command=login";
         $headers = array(
         "GET ".$page." HTTP/1.0",
         "UserName: *****",
         "Password: *****",
         $ch = curl_init();
         curl_setopt($ch, CURLOPT_URL,$url);
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
         curl_setopt($ch, CURLOPT_HEADER, true);
         $data = curl_exec($ch);
         if (!curl_errno($ch)) {
              // Show me the result
              $sessionid = substr($data,(strpos($data,"Set-Cookie:")+23),(strpos($data,";")-strpos($data,"Set-Cookie:")-23));
              curl_close($ch);
              return $sessionid;
    Now, i want to retrieve for example an user... i need to get an user, set an user (insert or update), check if a user exist or not...
    I have test this :
    function getContactInfo ($contactid,$sessionid) {
         global $crmdomain;
         $serverpath = $crmdomain . "/Services/Integration;jsessionid=$sessionid";
         $namespace= "urn:crmondemand/ws/contact/10/2004";
         $soapaction = "document/urn:crmondemand/ws/contact/10/2004:ContactQueryPage";
         $param = "<ListOfContact>
         <Contact>
         <IntegrationId>='$contactid'</IntegrationId>
         <MrMrs/>
         <ContactFirstName/>
         <ContactLastName/>
         <JobTitle/>
         <Department/>
         <AccountName/>
         <AccountId/>
         <PrimaryAddress/>
         <PrimaryCity/>
         <PrimaryZipCode/>
         <PrimaryCounty/>
         <PrimaryCountry/>
         <AlternateAddress1/>
         <AlternateAddress2/>
         <AlternateAddress3/>
         <AlternateCity/>
         <AlternateZipCode/>
         <AlternateCounty/>
         <AlternateCountry/>
         <ContactEmail/>
         <WorkPhone/>
         <WorkFax/>
         <CellularPhone/>
         </Contact>
         </ListOfContact>
         $method = "ContactWS_ContactQueryPage_Input";
         $response = getwsresponse($serverpath,$namespace,$soapaction,$method,$param,$debug);
         return $response;
    function getwsresponse($serverpath,$namespace,$soapaction,$method,$param,$headers=""){
         require_once('nusoap-0.9.5/lib/nusoap.php');
         $client = new nusoap_client($serverpath, array('trace' => 1));
         if($headers != ""){
              $client->setHeaders("$headers");
         $response = $client->call($method,$param,$namespace,$soapaction);
         return $response;
    But when i check : var_dump(getContactInfo("Integrationd",wslogin())); i have always false...
    I have no idea how to use this webservice. Can you help me ?
    Thanks !
    Edited by: 990614 on 27 févr. 2013 00:29

    Perhaps a shorter example would be more appropriate to ask about.
    Use bbcode code tag http://www.phpbb.com/phpBB/faq.php?mode=bbcode#5 to enclose code.
    -- cj

  • Oepe-12.1.2.1-kepler how to use ADF Templates in JSP page

    Hi all,
        I use oepe 12.1.2.1 kepler 4.3 and creating JSP page but I can't see any ADF Rich Faces Page in JSP Templates Page of Preferences Dialog. How to use ADF Templates in JSP page?
    Thanks,
    Thomas

    Select the JSP Templates link. Is the ADF Rich Faces Page template listed? Refer Creating the Login Page/4.
    Introduction to the Oracle Enterprise Pack for Eclipse (OEPE) IDE

  • How to use application item in the page template

    How to use application item in the page template.
    Thanks,
    rajendra

    Hi,
    You can refer application item value in template like &MY_ITEM. (note period at end)
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_sub.htm
    Regards,
    Jari

  • How to use a Webservice (deployableproxy) within a portal component?

    hi,
    i need to know how to use a webservice using a deployable proxy within a portal component?
    i've created the proxies and they work (with servlets).
    i know how to use them in servletes (context lookup, jndi mapping, application references) but i cant find a way to use them in a portal component.. tried the context lookup way but cant figure out which jndi mapping to use.
    any help?
    thanks in advance,
    constantin

    i've found this document:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/cb2e29578c0262e10000000a11466f/frameset.htm
    but it doesn't help...
    i should add a privatesharing resource...
    <property name="PrivateSharingReference" value="SAPJ2EE::rh21.de/pca~wsproxy"/>
    which works
    this is my code
    public void doContent(IPortalComponentRequest request,IPortalComponentResponse response) {
       try {
         Context context = new InitialContext();
         WSPhonebook obj = (WSPhonebook) context.lookup("/wsclients/proxies/rh21.de/pca~wsproxy/de.rh21.wsproxy.phonebook.WSPhonebook");
         WSPhonebookViDocument phonebook = (WSPhonebookViDocument) obj.getLogicalPort("Config1Port_Document", WSPhonebookViDocument.class);
    } catch.....
    now the lookup works (i guess, no messages about that anymore), but i catch ClassNotDefFoundError-Exceptions, but the classes are there, i can strg+click them in the editor, they are in the used dc's etc.
    any help? its quite uurgent :/

  • How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ?

    Hiii all,
    How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ? In my case , i am researching and wanting to add,search,delete an user object request from Web Services Client to SPML webservice in VDS by SPML request. anybody has documents or tutorials please share to me.
    Thanks

    Hiii all,
    How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ? In my case , i am researching and wanting to add,search,delete an user object request from Web Services Client to SPML webservice in VDS by SPML request. anybody has documents or tutorials please share to me.
    Thanks

  • How to use single frame in a page

    Hello, i would like to now how to make a frame in a page
    without having two or more, i was used to work with GoLive and
    there i could use the grid an put a single frame and make links to
    other pages that would open in that frame, it worked wel for me,
    but since I switched from golive to dreamweaver CS3 i am not able
    to do so. Is there some one how could tel me how to do so, since i
    use a lot of single frames in my pages,
    greetings

    why are you wanting to use single frames?
    They allow having the initial frame address stay in the
    address bar, and not
    show the linked page's address. The problems they cause
    usually override any
    value.
    Or- if we aren't using the same words the same way, please
    give an example
    site of what you want to do.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How to use the design tools in pages 5.2 on Macbook Pro

    How do you use the alignment tools for placing and inserting images in pages 5.2?

    Hi Ivy Janelle,
    Thanks for visiting Apple Support Communities.
    In Pages 5, you can insert images using the Media browser at the top of the document window. Once you insert them, you can edit and arrange images using the Format inspector--the paintbrush icon in the top right. You can find detailed information about inserting and using images at these links:
    Pages for Mac 5.0: Add and edit images
    http://support.apple.com/kb/PH15345
    Pages for Mac 5.0: Align and position objects
    http://support.apple.com/kb/PH15351
    Best Regards,
    Jeremy

  • How to use parameter passed from standard page in VO query of custom page

    Hi everyone,
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters passed from standard page.
    How do I catch those parameters i my custom page .
    And how to use those parameters in the VO query of my custom page.
    Edited by: Bunny on Nov 11, 2010 9:16 AM

    Hi,
    Bunny wrote:
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters passed from standard page.
    How do I catch those parameters i my custom page .---If standard page the button style is :Button,Then u can set Destination URL in personalization.
    Destination UR:"OA.jsp?page=/xxx/oracle/apps/po/msg/webui/CustomUpdatePG&Flag=" +Value  ---Like u can pass params
    ---IF the button style is :Submitbutton ,Then u need to customization of the co.
    ---In co processFormReq call a cutom page like below.
    pageContext.setForwardURL("OA.jsp?page=/xxx/oracle/apps/po/msg/webui/customUpdatePG&Flag=" +Value, null, (byte)0, null, null, true, "N", (byte)0);
    ---In custom page co in processRequest u can get these value :String value=pageContext.getParameter("Flag");
    And how to use those parameters in the VO query of my custom page.---Get the vo and set where clause
    String where="valueAttr="+value;
    vo.setWhereClauseParams(null);
    vo.setWhereClause(where);
    vo.executeQuery();
    Regards
    Meher Irk
    Edited by: Meher Irk on Nov 11, 2010 11:53 PM

  • How to use amazon webservice in jsp-netbeans

    hi all,
    i want to use amazon free webservice in my project......
    i read lots of articles and other helps from net but m not able to do it......
    it needs the wsdl link which m unable to trace
    plz help me soon

    Hi,
    According to your post, my understanding is that you wanted to use UserGroup WebService in Sharepoint Designer 2013.
    SharePoint 2013 has Nintex Workflow 2013 App, I recommend to add User to SharePoint Group Using NINTEX Workflow.
    There is an article for your reference, although it is about the SharePoint 2010, it still works for SharePoint 2013.
    http://www.c-sharpcorner.com/UploadFile/anavijai/how-to-add-user-to-sharepoint-group-using-nintex-workflow/
    More information: SharePoint 2013 has Nintex Workflow 2013 App
    http://benprins.wordpress.com/2012/08/09/sharepoint-2013-has-nintex-workflow-2013-app/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to use ABAP Webservice to Trigger the start of BPMN

    Hello,
    My scenario is that i define a webservice in the SAP ECC system and import it in the process composer as the service interface. As to the start event, i set the above service interface and operation as the trigger service.
    After then, i call this webservice in the user exit of a T-Code. However, the BPMN is not started by this webservice call.
    Anyone can explain on this and tell me how to use the ABAP webservice as the starting event service interface?
    Thanks in advance
    Erick

    Hi Erick,
    When you develop a process model and use some arbitrary service interface in the message start event then this will be exposed on the Java / BPM system you deploed the process definition on.
    That allows you to start the process via this web service once you know its endpoint.
    So in case you want to start your process from the ABAP side you would need to call this endpoint on the Java side out of your ABAP system.
    Simply calling the web service / code on your ABAP system and hoping that this will also invoke the Java stack won't work I AFAIK.
    Best regards,
    Martin

  • How to use Javascript to load random pages?

    I wonder if anyone knows how to use Javascript to load a list
    of links stored in the text file.
    Every address will take a line, and the Javascript will
    randomly select one of the addresses to load.
    The user will click the button "random" and access the page
    randomly selected by the script.

    Addition note:
    I forgot to say this because my computer froze......(how
    lame)
    I got the code for random accessing the links.
    But now the problem is, is there anyway to parse a text file
    into the array in Javascript?

  • How to use Java Script in jspx pages of ADF Faces?

    I wanna invoke an Applet in a jspx using Java Script...
    How can I do this? :)

    check my other post..that's to know how to use js in jsf pages...not to invoke applet..
    Re: how to Add inline JavaScript to a Page 11G

  • How to use Adaptive WebService Model with CAF WebService and Complex Type

    Hi All,
    I am trying to use the Adaptive Web Service Model and call a WebService generated by the CAF. The return type of the WebService is a Complex Type.. I receive an exception when trying to instantiate the Model Node.
    Does anybody know how to use the Adpative Web Service Model with CAF WebServices and Complex Types as return type?
    Help is appreciated..
    Thanks, Johannes

    Thanks Mukesh.
    It is not possible to apply the Service Controller Template on Enterprise Java Bean Models as described in the Document. When I try to aply the template on the EJB Model, NWDS says: Only Webservice Models and RFC Models are supported...???
    I did not find any information about how to return complex types in AWS.. in this document???
    Is there such information available? Has anybody ever done that? There must be a way to do that.. Is is the standard approach, isn't it...? Please help me out there.. I need to get this running..
    Thanks, Johannes

  • How to use the Observer when a page loads

    Anybody know how to use the
    Spry.Utils.addClassName('DivName','selected') and then fire the
    Spry.Utils.addClassName with onLoad?
    I am loading a page with the selector utils in it into a div
    and then I think I must need an Observer to get the
    Spry.Utils.addClassName to work when this page loads in a div.
    Any help would be greatly appreciated.
    Thank you,
    Bisser.

    I added Spry.Utils.addClassName('DivName','selected') in the
    Script after the constructor and after the effects and it works
    fine. Thank you for your help to get me going.
    Well after the fact, this solution was a problem because it
    loads the selector each time I loaded the file.
    kinblas had the correct answer that I was looking for.... as
    it loads the selector as a 3rd argument.
    ie:
    Spry.Utils.updateContent('mainDIV','/menu.php', function() {
    Spry.Utils.addClassName('DivName','selected'); });
    Thanks to both of you for your continued support.
    Bisser.

Maybe you are looking for

  • My phone wont let me turn wifi on

    my phone turned wifi off itself and when i try to turn it back on it wont let me. the button remains grey and off

  • Skype call share screen not working on Windows 7

    To see the Skype version, in Skype open Help -> About Skype.

  • Signature field NOT working since upgrade to Adobe Pro X

    Hi Forum, Form stop working since upgraded to Pro X (ver 10) in Adobe.  Getting this message: IntegriSign This plug-in is intended for validating signatuers signed using earlier versions of Acrobat.  To sign using this version of Acrobat use "Integri

  • -encoding type ? Pls, help me !

    Could everybody pls answer my question : How many -encoding types used with javac ? (I search in java tool document but don't find the full list of -encoding type) I try to use javac -encoding "UTF16", "unicode" and compile: OK ! When I use javac -en

  • Custom taglibs and XScript

    Hi guys, To simplify my jsp's in a portal 8.1 application I am considering implementing some custom tags for often used constructs. In this task I would like to pass some objects to the task-handler and wonder if I can utilize dynamically attributes