XML Web Service ( ? )

Hello there to everyone reading my post !
I am trying to design an Application that exchanges XML Documents (or messages, I don't know how to call them properly).
My application, recieves an XML, reads it, and replies with another XML.
I am totally new to developing this type of "messaging" systems, that I have come to know recently are called "Web Services".
What are your suggestions on Doing this? I need my interface be made in JSF...
Is there a Tutorial or a How-to for this Topic?
Please Help Me out...
Thanks in advance

Hello There !
Yes, I like this Tutorial a lot, It shows me that it is possible to Obtain a Response From a Server as a Web Service. Thank you very much.
But excuse my ignorance, How Do I apply it to XML messaging? I am just too confused about where does this web service obtains its response? Does it read it from an XML file?
Please let me know where can I read more about this subject,
I was wondering If there was something more simple. From scratch.
Anyways, thank you very much, all help is truly appreciated.

Similar Messages

  • Support for XML / Web Service Data Source?

    <p>Do you know if and when Crystal Reports for Eclipse will support using the XML / Web Service data source?  It appears that only JDBC and Java Result Sets are currently supported.  I am using:</p><p>com.businessobjects.integration.eclipse.library_1.0.0.v671 </p><p>com.businessobjects.sdks.jrc.11.8.0_11.8.1.v671 </p><p>Thank you! </p>

    <p>Ok, I copied the JARs (such as CRDBXMLServer.jar) from the JRC SDK (from Eclipse all-in-one) onto the Tomcat classpath and got rid of my previous problem.  I now get the stack trace below.  I also can not find crdb_*.dll files (such as crdb_xml.dll) anywhere on my system other than the service pack 2 rollback directories.  My guess is I should be downloading and installing something else -- is this true? </p><p>10 Jan 2007 13:22:36 [http-8080-Processor23] DEBUG com.crystaldecisions.reports.reportdefinition.datainterface - Failed to open connection (Connection:<databaseType=XML><serverName=http://dopey/devicedirectory/2006-06-25/DeviceDirectory?WSDL DeviceDirectory DeviceDirectoryPort getDevices><state=closed><databaseDriverName=crdb_xml.dll>).<br />com.crystaldecisions.reports.queryengine.am: Error loading database connector.  The class &#39;com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader&#39; could not be accessed.<br />    at com.crystaldecisions.reports.queryengine.ax.am(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.ax.new(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.ax.byte(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.b.a(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)<br />    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.report.web.event.ac.a(Unknown Source)<br />    at com.crystaldecisions.report.web.event.ac.a(Unknown Source)<br />    at com.crystaldecisions.report.web.event.b2.a(Unknown Source)<br />    at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)<br />    at com.crystaldecisions.report.web.event.av.a(Unknown Source)<br />    at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)<br />    at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)<br />    at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)<br />    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)<br />    at com.crystaldecisions.report.web.viewer.taglib.ServerControlTag.doEndTag(Unknown Source)<br />    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown Source)<br />    at org.apache.jsp.stateReport_002dviewer_jsp._jspx_meth_crviewer_viewer_0(stateReport_002dviewer_jsp.java:108)<br />    at org.apache.jsp.stateReport_002dviewer_jsp._jspService(stateReport_002dviewer_jsp.java:61)<br />    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br />    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)<br />    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<br />    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br />    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<br />    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<br />    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<br />    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<br />    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<br />    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)<br />    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)<br />    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<br />    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)<br />    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<br />    at
    java.lang.Thread.run(Unknown Source)<br />Caused by: java.lang.reflect.InvocationTargetException<br />    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br />    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br />    at java.lang.reflect.Method.invoke(Unknown Source)<br />    ... 53 more<br />Caused by: java.lang.NoClassDefFoundError: OCA/OCAdbdll/DbDLLOperations<br />    at java.lang.ClassLoader.defineClass1(Native Method)<br />    at java.lang.ClassLoader.defineClass(Unknown Source)<br />    at java.security.SecureClassLoader.defineClass(Unknown Source)<br />    at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)<br />    at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)<br />    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)<br />    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)<br />    at java.lang.ClassLoader.loadClassInternal(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.driverImpl.a.<init>(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.driverImpl.a.eE(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader.loadDriver(Unknown Source)<br />    ... 57 more<br /><br /> </p>

  • How to Output Nodes from XML web service to a FLV?

    Hi
    I've used AS3 to query a web service and obtain the resulting XML.  I need to parse the result down to just a few nodes for a given location.  I can tackle that separately.  I am wondering how I output the parsed XML to a flash video file (.flx)?  The video has place holders for the XML node values.  What do I need to do to place the XML results in the video?
    Thanks,
    Sid

    Andrei1 wrote:
    What is a content of XML nodes? I am not sure what you mean by "inserting nodes". Do you mean that you want to display some information over the video?
    And yes, encoders do take XMLs to inject metadata into video. But this is metadata only.
    OSML = Open Source Media Framework:
    http://www.opensourcemediaframework.com/
    By inserting nodes, I mean that the XML web service returns data for each city, which needs to be parsed to just high temp, low temp and current condition.  Those 3 values needed to be dispalyed over, or woven into, the video at each city location.  My thought was that AS3 could somehow recognize the 3 placeholders for each city and insert the high temp, low temp and condition icon into each placeholder.  However, when I import the FLV file into Flash, there are no elements into which I can infuse this data.

  • Designing and Running CR against XML Web Service

    <p>I created a simple XML web service with one method that returns a dataset. This runs on my Windows 2003 Server.</p><p>The service(.asmx)  is called "Applicants". My computer name is aricciardi-2k3s. It runs on port 89 .When I browse to <a href="http://aricciardi-2k3s:89/Applicants.asmx">http://aricciardi-2k3s:89/Applicants.asmx</a>, I am prompted to invoke the webservice and I can run it and everything is great. Further, if I browse to <a href="http://aricciardi-2k3s:89/Applicants.asmx?wsdl">http://aricciardi-2k3s:89/Applicants.asmx?wsdl</a> I get the wsdl info. </p><p>Now I want to design and run a Crystal Report 11 SR 2 against my web service. I choose New Report, for Data I choose XML, then "Use Web Data Source" hit next, then choose "HTTP WSDL URL" I enter <a href="http://aricciardi-2k3s:89/Applicants.asmx?wsdl">http://aricciardi-2k3s:89/Applicants.asmx?wsdl</a>, hit Next, I leave HTTP username and HTTP password blank. Then I see the Services, Ports and Methods screen. Services: Applicants, Ports: ApplicantsSoap, Methods: GetApplicants</p><p>When I click Finish, I get Logon Failed, Details, Schema file is invalid. error:Element <a href="mailto:Schema@htttp://www.w3.or/2001XMLSchemal">Schema@htttp://www.w3.or/2001XMLSchemal</a> not found</p><font size="2"><p>How can I get this to work? I can return anything necessary from the web service.</p><p>Please help. You will make me a hero, and I&#39;ll will be in debt to you.</p><p>Thanks.</p><p>Anthony Ricciardi </p><p>The web method for my web service is below </p><p><WebMethod()> _</p></font><font size="2" color="#0000ff">Public</font><font size="2"> </font><font size="2" color="#0000ff">Function</font><font size="2"> GetApplicants() </font><font size="2" color="#0000ff">As</font><font size="2"> DataSet</font><font size="2"> <font size="2" color="#0000ff">Dim</font><font size="2"> DS </font><font size="2" color="#0000ff">As</font><font size="2"> </font><font size="2" color="#0000ff">New</font><font size="2"> DataSet</font><font size="2"> <p><font size="2" color="#0000ff">Try</font></p></font></font><font size="2" color="#0000ff">Dim</font><font size="2"> dt </font><font size="2" color="#0000ff">As</font><font size="2"> </font><font size="2" color="#0000ff">New</font><font size="2"> DataTable(</font><font size="2" color="#800000">"Applicants"</font><font size="2">)</font><font size="2"> <p>dt.Columns.Add(<font size="2" color="#800000">"AppID"</font><font size="2">)dt.Columns.Add(</font></p></font><font size="2" color="#800000">"Name"</font><font size="2">)</font><font size="2"> </font><font size="2" color="#0000ff">Dim</font><font size="2"> dr </font><font size="2" color="#0000ff">As</font><font size="2"> DataRow</font><font size="2"> <p>dr = dt.NewRow()</p>dr.Item(</font><font size="2" color="#800000">"AppID"</font><font size="2">) = 1000</font><font size="2"> <p>dr.Item(<font size="2" color="#800000">"Name"</font><font size="2">) = </font><font size="2" color="#800000">"First Applicant"</font></p></font><font size="2"><p>dt.Rows.Add(dr)</p><p>dr = <font size="2" color="#0000ff">Nothing</font></p></font><font size="2"><p>dr = dt.NewRow()</p>dr.Item(</font><font size="2" color="#800000">"AppID"</font><font size="2">) = 2000</font><font size="2"> <p>dr.Item(<font size="2" color="#800000">"Name"</font><font size="2">) = </font><font size="2" color="#800000">"Second Applicant"</font></p></font><font size="2"><p>dt.Rows.Add(dr)</p>dr = </font><font size="2" color="#0000ff">Nothing</font><font size="2" color="#0000ff"> </font><font size="2"><p>DS.Tables.Add(dt)</p></font><font size="2" color="#0000ff">Return</font><font size="2"> DS</font><font size="2"> </font><font size="2" color="#0000ff">Catch</font><font size="2"> ex </font><font size="2" color="#0000ff">As</font><font size="2"> Exception</font><font size="2" color="#0000ff">Dim</font><font size="2"> x </font><font size="2" color="#0000ff">As</font><font size="2"> </font><font size="2" color="#0000ff">String</font><font size="2"> = ex.Message</font><font size="2"> <p><font size="2" color="#0000ff">End</font><font size="2"> </font><font size="2" color="#0000ff">Try</font></p></font><font size="2"><p><font size="2" color="#0000ff">End</font><font size="2"> </font><font size="2" color="#0000ff">Function</font></p></font>

    <p>I got some feed back from support that this driver doesn&#39;t  work with .NET datasets.  I would suggest that in your webservice method that you just return an arrary of regular objects that contain the data you need.  That should work with this driver I believe.  I would try it out but I just messed up my Crystal Reports and I need to re-install it.</p><p>Here&#39;s the URL to a white paper that talks about connecting to this driver. </p><p>http://support.businessobjects.com/communityCS/TechnicalPapers/cr_xi_native_xml_driver.pdf <br /></p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • XML Web Service summary start

    Post Author: amr_foci
    CA Forum: JAVA
    may be its not much BO related issue
    but for the java developers here, i want to create an easy and small xml web service which return a few selected records from oracle DB, using (java, Tomcat)
    i want to use it instead of the "Query As a web Service",, any one got my idea and could help me to start?
    i know very good java, but not professional
    thank you all

    Hello!
    The best way to develop web service is using AXIS framework.
    http://ws.apache.org/axis/

  • Crystal Reports 2008 XML & Web Services

    Hi Experts,
    I am using Crystal reports Basic 2008 for SAP Business One Version 12.1.3.1028
    I just wanted to use a web services in my report.
    My data source connectivity does not list xml & web services.
    Can anyone advise if I am able to get XML and web services connectivity setup.
    thanks
    Tony

    Hi Tony,
    Post your thread to the reporting forum.
    [Reporting and Printing;
    Regards,
    Rakesh N

  • Assistance required for J2EE/XML/Web Services development project in Bangal

    Hello,
    I work for a US based entrepreneur. who holds a Doctorate in Computer Science and MBA from MIT and we are setting up our office in Bangalore. We are on the look out for Qualified and Experienced J2EE professionals to assist in the implementation of our projects. Some of the projects that we are working for will be very interesting and will require highly skilled and experienced Software professionals who have working experience on J2EE/XML/Web Services
    We are looking for Experienced Candidates experienced in J2EE and have many positions open for experienced candidates and the Positions includes Technical team leaders, Senior Software developers, etc. The ideal candidates will be those who have passion for creating new applications using cutting edge technologies.
    We are also open to Experienced to candidates working for us on a part time basis for a fixed number of Hours per day (say about 3 to 4 Hours per day) and over the weekends. Please pass this on to any of your friends who may be interested in this opportunity.
    Anyone interested can respond to this message and please send me your mobile number or e mail address and I will get in touch with you.
    Regards
    Raj

    Hi Raj, Wrong Initiative.
    *=================> Please don't spoil the forum. <=================*
    I am sorry if you find this a bit rude or like that, but this a technical discussion forum not a job portal where you should find candidates for your organization.
    rajhyd wrote:
    Anyone interested can respond to this message and please send me your mobile number or e mail address and I will get in touch with you.I think instead of this you should make your email address visible in your current profile, so that people can reply you on that instead of expressing their interest here.
    *All the best for your new venture,
    typurohit* (Tejas Purohit)

  • Chat with Microsoft experts on XML Web Services Interoperability

    Chat Title: XML Web Services Interoperability
    The promise of XML Web services rests on interoperability and
    ubiquity. Open standards and rigorous multi-vendor testing ensure that
    a rich community of Web services implementations will proliferate.
    Join us in this session with Keith Ballinger and Yann Christensen from
    the team that brought you ASP.NET's Web services stack as we discuss
    Microsoft's work in XML Web services interoperability.
    When: Thursday – February 7th 12:00pm PST (3:00pm ET/8:00pm GMT/5:00am
    Tokyo)
    Information: http://msdn.microsoft.com/chats/

    I'm wondering if it's the "=" and Quote in the parameter that is causing the search to fail to find your record
    Try with just the value in the field tag
    Wrong?
    <ns2:ContactId>='AHMA-VD8RSZ'</ns2:ContactId>
    <Id>='AHMA-VD6N8I'</Id>
    Correct:
    <ns2:ContactId>AHMA-VD8RSZ</ns2:ContactId>
    <Id>AHMA-VD6N8I</Id>
    Same for Last Name and other parameters
    Edited by: Royston Goveia on Dec 6, 2012 1:09 AM

  • Connect to SharePoint web service using the XML / Web Service connector

    Hi experts,
    I am currently trying to display my SharePoint list in Crystal Report. Therefore my plan is to use a SharePoint web service to get the data and paste them to the Crystal Report.
    Is it possible to use the "XML and Web services" connector of the Crystal Reports database expert?
    When I enter the web service URL, for instance:
    https://[url]/_vti_bin/lists.asmx?wsdl
    and click next... I have to enter the web service credentials.
    On the next page I have to enter Service, Port and Method.
    Do I have to enter the service URL again here?
    What If, there is no port? Can I leave that field empty?
    I know the methods, but where can I add the mandatory parameters?
    Thanks for any helps and comments!
    Sebastian

    Hi Ananth,
    thank you, but this document does not help at all.
    We are using Crystal Reports 2008 SP2.
    We want to use the Web Service Connector.
    What I need is more informationen about the Web service connect. For example - the connection in Microsoft InfoPath is much easier - there I don't have to enter a port and can choose the methods from a list.
    Is it possible to use the Crystal web service connector for MS SharePoint Webservices?
    Or must I use the Crystal SDK to carry out a connection?
    Best regards,
    Sebastian

  • XML Web Service as data source

    We are researching the option of using a web service as the data source of a Crystal report. There are a couple of points that I would like your input.
    1) How are report parameters passed to the web service?
    2) Are there any known performance issues? I created a simple XML file that had 200,000 rows (3 columns) and there was a delay of 2 min for Crystal displaying all of the report. We have reports of this size, I just wanted to get a feeling of Crystal processing and rendering of the XML file.
    3) Are there any restrictions on the XML schema definition for Crystal?  We are using Crystal 11.5 and 2008.
    I appreciate your input and any ideas.
    Many Thanks,

    For database connectivity issues post in the Database Forum

  • Designer beginner's question: How to populate form with XML web service output?

    sorry, here is yet another Adobe Designer beginners question: <br /><br />My form uses a webservice data connection which returns <br />an xml-string like this: <br /><br /><?xml version="1.0" encoding="utf-16"?> <br /><CurrentWeather> <br />  <Location>Sion, Switzerland (LSGS) 46-13N 007-20E 481M</Location> <br />  <Time>Apr 26, 2007 - 09:50 AM EDT / 2007.04.26 1350 UTC</Time> <br />  <Wind> from the WSW (240 degrees) at 15 MPH (13 KT):0</Wind> <br />  <Visibility> greater than 7 mile(s):0</Visibility> <br />  <SkyConditions> partly cloudy</SkyConditions> <br />  <Temperature> 80 F (27 C)</Temperature> <br />  <DewPoint> 46 F (8 C) </DewPoint> <br />  <RelativeHumidity> 30%</RelativeHumidity> <br />  <Pressure> 29.88 in. Hg (1012 hPa)</Pressure> <br />  <Status>Success</Status> <br /></CurrentWeather> <br /><br />What is the simplest and recommended way to extract the <br />element fields to my form? <br /><br />Thank you very much an kind regards, <br />Hans Grund

    The question is still unanswered!
    Let me give some details and break up the problem
    in more specific questions:
    - In Designer 8.1 I click new data binding --> wsdl -->
    http://www.webservicex.net/globalweather.asmx?wsdl
    A message box comes up and says "cannot load wsdl file"
    ==> 1. Question:
    Why maybe refuses Designer to load the http-wsdl,
    although this option is explicitly allowed?
    - When I save the wsdl to a file, Designer loads it
    without any problems. The web service uses two input parameters
    (CountryName and CityName) and returns an xml-string GetWeatherResult)
    like the one in my first posting. I drag these fields from the binding view to my form, and it runs ok!
    - THE PROBLEM IS, THAT I NEET TO EXTRACT THE ELEMENT FIELDS
    FROM THE RESULT XML-STRING!
    ==> 2. Question:
    How to extract xml element fields from wsdl output into a form?
    - I tried with eclipse and XmlSpy to build a modified wsdl file
    with structured output definition, so that the specific element fields
    show up in the data binding view and are usable to my form,
    and the modified wsdl maps consistently to the web service result string.
    So far without success: In the PDF -preview or Reader-
    when the wsdl-binding is executed and the web service output
    should show up in the result fields, just nothing happens.
    ==> 3. Question:
    Can this strategy to provide a "modified wsdl" possibly succeed,
    and how?
    ==> 4. Question:
    Is is possible -and how?- to check whether an xml string
    is valid as web service output against the wsdl-definition?
    ==> 5. Question:
    How to debug a web service connection with Designer?
    - Finally I tried to find a way to load the result xml-string
    into a local var in the script editor and parse it, much like:
    var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
    xmlDoc.load(DataSet.MyForm.GetWeatherResult.rawValue);
    ==> 6. Question:
    Is it possible -and how?- to use a framework like dotnet?
    How to utilize SAX or DOM in Designer?
    Many thanks and appreciations for your help!!

  • Integrating With contentType='text/xml' Web Service

    I have a web service that I am attempting to call from a Flex
    UI. However, the only acceptable ContentType of the web service is
    “text/xml”. Flex only enumerates the values,
    "application/xml" or "application/x-www-form-urlencoded" for the
    contentType property of the HTTPService object.
    Are there any workarounds to make this call successfully?
    Example code:
    <mx:HTTPService url="
    http://localhost/wsman"
    method="post" id="wsman" result="ProcResult(event)"
    fault="ProcFault(event)">
    Options Available:
    contentType="application/xml"
    contentType="application/x-www-form-urlencoded"

    Forgot to add the code for poem.xsl
    poem.xsl
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    <xsl:template match="poem">
    <html>
    <head>
         <title><xsl:value-of select="title"/></title>
    </head>
    <body>
         <xsl:apply-templates select="title"/>
         <xsl:apply-templates select="author"/>
         <xsl:apply-templates select="stanza"/>
         <xsl:apply-templates select="date"/>
    </body>
    </html>
    </xsl:template>
    <xsl:template match="title">
    <div align="center"><h1><xsl:value-of select="."/></h1></div>
    </xsl:template>
    <xsl:template match="author">
    <div align="center"><h2>By <xsl:value-of select="."/></h2></div>
    </xsl:template>
    <xsl:template match="stanza">
    <p><xsl:apply-templates select="line"/></p>
    </xsl:template>
    <xsl:template match="line">
    <xsl:if test="position() mod 2 = 0">&#160;&#160;</xsl:if>
    <xsl:value-of select="."/>
    </xsl:template>
    <xsl:template match="date">
    <p><i><xsl:value-of select="."/></i></p>
    </xsl:template>
    </xsl:stylesheet>
    Thanks,
    Kapil

  • Get_xplan_msc, How Do I call this method??? , xml, web service, wsdl,dataProvider="{myServiceXML.lastResult.DataSet}"

    Result:
    <wsdl:definitions targetNamespace="
    http://tempuri.org/" xmlns:soap="
    http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tm="
    http://microsoft.com/wsdl/mime/textMatching/"
    xmlns:soapenc="
    http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:mime="
    http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns="
    http://tempuri.org/" xmlns:s="
    http://www.w3.org/2001/XMLSchema"
    xmlns:soap12="
    http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="
    http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <s:schema elementFormDefault="qualified"
    targetNamespace="
    http://tempuri.org/">
    <s:element name="Get_xplan_tpu">
    <s:complexType/>
    </s:element>
    <s:element name="Get_xplan_tpuResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1"
    name="Get_xplan_tpuResult">
    <s:complexType>
    <s:sequence>
    <s:element ref="s:schema"/>
    <s:any/>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="Get_xplan_msc">
    <s:complexType/>
    etc....
    <?xml version="1.0" encoding="utf-8" ?>
    - <DataSet xmlns="
    http://tempuri.org/">
    + <xs:schema id="NewDataSet" xmlns="" xmlns:xs="
    http://www.w3.org/2001/XMLSchema"
    xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    - <xs:element name="NewDataSet" msdata:IsDataSet="true"
    msdata:UseCurrentLocale="true">
    - <xs:complexType>
    - <xs:choice minOccurs="0" maxOccurs="unbounded">
    - <xs:element name="xplan_MSC_Planning">
    - <xs:complexType>
    - <xs:sequence>
    <xs:element name="MSC" type="xs:string" minOccurs="0"
    />
    <xs:element name="Date" type="xs:dateTime" minOccurs="0"
    />
    <xs:element name="Traffic" type="xs:decimal"
    minOccurs="0" />
    <xs:element name="Radios" type="xs:int" minOccurs="0"
    />
    <xs:element name="InstalledCapacity" type="xs:int"
    minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    - <diffgr:diffgram
    xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
    xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    - <NewDataSet xmlns="">
    - <xplan_MSC_Planning diffgr:id="xplan_MSC_Planning1"
    msdata:rowOrder="0">
    <MSC>NYGMSC01</MSC>
    <Date>2007-06-24T00:00:00-07:00</Date>
    <Traffic>12730.8400</Traffic>
    <Radios>676</Radios>
    <InstalledCapacity>12342</InstalledCapacity>
    </xplan_MSC_Planning>
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    backgroundColor="#f6f6f6"
    backgroundGradientColors="[#f6f6f6, #bbbbbb]"
    creationComplete="myServiceXML.send()">
    <!-- Script -->
    <!-- Our result handler functions get any value returned
    from the server -->
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    // you import the event classes for strong typing
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    public function handleResultXML(event:ResultEvent):void {
    // the result object is your xml root
    lastResultValue.text = "Result:\n" + event.result;
    // you get the row nodes of your result object
    http://localhost:1343/***/DataService.asmx?op=Get_xplan_msc
    // the data of the dataprovider populates the component
    http://www.flexcapacitor.com/examples/php/datagrid_xml.php
    myDataGrid.dataProvider = event.result.row;
    // this function is called when you get an error from the
    server
    http://localhost:1343/***/DataService.asmx?wsdl
    public function handleFault(event:FaultEvent):void {
    lastResultValue.text = "Fault: " + event.fault.faultDetail;
    //trace(myServiceXML.toXMLString());
    // var myService:XML = XML(event.result);
    //trace(myService.toXMLString());
    ]]>
    </mx:Script>
    <!-- Data Communications -->
    <!-- The url is the page you post to -->
    <!-- In the request object you add your name and value
    pairs -->
    <!-- The curly brackets surrounding "username.text" get
    the value of username.text -->
    <!-- Note: The curly brackets are also used for
    databinding where supported -->
    <!-- Note: We set the resultFormat to E4X to
    automatically convert your return string to an XML object with E4X
    support -->
    <mx:HTTPService id="myServiceXML" url="
    http://localhost:1343/***/DataService.asmx?wsdl"
    method="POST" result="handleResultXML(event)"
    fault="handleFault(event)"
    useProxy="false" resultFormat="e4x">
    </mx:HTTPService>
    <!-- Layout -->
    <mx:Label x="10" y="10" text="Populate DataGrid with XML"
    fontSize="20" fontWeight="bold"/>
    <mx:HRule x="10" y="49" width="80%"/>
    <mx:Button id="submit0" x="10" y="73" label="Get XML"
    click="myServiceXML.send()"/>
    <mx:Label x="10" y="228" text="Result"/>
    <mx:DataGrid id="myDataGrid" x="10" y="114" width="611"
    height="106" dataProvider="{myServiceXML.lastResult.DataSet}">
    <mx:columns>
    <mx:DataGridColumn headerText="xplan_MSC_Planning"
    dataField="Traffic"/>
    <mx:DataGridColumn headerText="MSC" dataField="MSC"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:TextArea x="10" y="244" width="611" height="400"
    id="lastResultValue"/>
    </mx:Application>

    I haven't been able to see the results from my web service.
    I'm seeing this error.
    It might be an internal security issue...I'm not sure
    why...any help is greatly
    appreciated.
    David
    - <s:element name="Get_xplan_msc">
    <s:complexType />
    </s:element>
    - <s:element name="Get_xplan_mscResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1"
    name="Get_xplan_mscResult">
    - <s:complexType>
    - <s:sequence>
    <s:element ref="s:schema" />
    <s:any />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    [WSDLError faultString="Element
    http://tempuri.org/:Get_xplan_mscResponse
    not resolvable" faultCode="WSDL.BadElement" faultDetail="null"]
    at mx.rpc.soap::WSDLParser/
    http://www.adobe.com/2006/flex/mx/internal::parseMessage()
    at mx.rpc.soap::WSDLOperation/parseMessages()
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
    at mx.rpc.soap::Operation/
    http://www.adobe.com/2006/flex/mx/internal::invokeAllPending()
    at mx.rpc.soap::WebService/::unEnqueueCalls()
    at mx.rpc.soap::WebService/
    http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc.soap::WSDLParser/dispatchEvent()
    at mx.rpc.soap::WSDLParser/::parseCompleted()
    at mx.rpc.soap::WSDLParser/
    http://www.adobe.com/2006/flex/mx/internal::httpResultHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    at ::DirectHTTPMessageResponder/completeHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    backgroundColor="#f6f6f6"
    backgroundGradientColors="[#f6f6f6, #bbbbbb]"
    creationComplete="getXplan_MSC()">
    <!-- Script -->
    <!-- Our result handler functions get any value returned
    from the server -->
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    // you import the event classes for strong typing
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    import mx.controls.dataGridClasses.DataGridColumn;
    import mx.managers.CursorManager;
    import mx.controls.Alert;
    default xml namespace = "
    http://localhost:1343";
    //necessary to access the xml elements easily
    [Bindable]private var _xmlResult:XML; //holds the result xml
    [Bindable]private var _xlDayData:XMLList; //dataProvider for
    the day weather dataGrid
    [Bindable]private var _sPlace:String;
    /** invokes the web service operation to get the weather */
    private function getXplan_MSC():void
    CursorManager.setBusyCursor();
    WS.Get_xplan_msc.send();
    //lastResultValue.text = "Result:\n" +
    event.result.Get_xplan_msc;
    /** called by the WebService result event. Sets the
    dataProviders as necessary */
    private function onResult(oEvent:ResultEvent):void
    _xmlResult = XML(oEvent.result);
    //var xmlResultNode:XML = _xmlResult.Get_xplan_mscResult[0];
    // var xmlDetailsNode:XML = xmlResultNode.Details[0];
    //outputInfo.text = xmlDetailsNode.toXMLString();
    //outputInfo.text = _xlDayData.text();
    // outputInfo.text = _xmlResult.toXMLString();
    // outputInfo.text = xmlResultNode.MSC.text();// + ", " +
    xmlResultNode.StateCode.text();
    // _xlDayData =
    xmlDetailsNode.toXMLString();//Get_xplan_mscResult[0];
    outputInfo.text = _xmlResult.text();
    CursorManager.removeBusyCursor();
    }//onResult
    /** labelFunction for DataGrid. It seems that the namespace
    on the xml makes
    * using the DataGridColumn dataField not work. At least I
    couldn't get it to work. */
    public function handleResultXML(event:ResultEvent):void {
    // the result object is your xml root
    lastResultValue.text = "Result:\n" +
    event.result.Get_xplan_msc;
    // you get the row nodes of your result object
    http://localhost:1343/***/DataService.asmx?op=Get_xplan_msc
    // the data of the dataprovider populates the component
    http://www.flexcapacitor.com/examples/php/datagrid_xml.php
    //myDataGrid.dataProvider = event.result.row[0];
    // this function is called when you get an error from the
    server
    http://localhost:1343/***/DataService.asmx?wsdl
    public function handleFault(event:FaultEvent):void {
    lastResultValue.text = "Fault: " + event.fault.faultDetail;
    lastResultValue.text = "Fault: " + event.fault.faultDetail;
    //trace(myServiceXML.toXMLString());
    // var myService:XML = XML(event.result);
    //trace(myService.toXMLString());
    ]]>
    </mx:Script>
    <!-- Data Communications -->
    <!-- The url is the page you post to -->
    <!-- In the request object you add your name and value
    pairs -->
    <!-- The curly brackets surrounding "username.text" get
    the value of username.text -->
    <!-- Note: The curly brackets are also used for
    databinding where supported -->
    <mx:WebService id="WS" wsdl="
    http://localhost:1343/***/DataService.asmx?wsdl">
    <mx:operation name="Get_xplan_msc" resultFormat="e4x"
    />
    </mx:WebService>
    <!-- Layout -->
    <mx:Label x="10" y="10" text="Populate Chart with XML"
    fontSize="20" fontWeight="bold"/>
    <mx:HRule x="10" y="49" width="80%"/>
    <mx:Button id="submit0" x="139" y="199" label="Get XML"
    click="getXplan_MSC()"/>
    <mx:Label x="10" y="228" text="Result"/>
    <mx:TextArea x="10" y="244" width="333" height="400"
    id="lastResultValue"/>
    <mx:TextArea x="377" width="354" height="400"
    id="outputInfo" y="244"/>
    <!--
    <mx:ColumnChart x="243" y="80" id="columnchart1"
    width="293" height="115" dataProvider="">
    <mx:series>
    <mx:ColumnSeries displayName="Date" yField="Date"/>
    <mx:ColumnSeries displayName="MSC" yField="MSC"/>
    <mx:ColumnSeries displayName="Traffic"
    yField="Traffic"/>
    <mx:ColumnSeries displayName="Radios"
    yField="Radios"/>
    </mx:series>
    </mx:ColumnChart>
    <mx:Legend dataProvider="{columnchart1}" x="108"
    y="100"/>
    -->
    </mx:Application>

  • How to bind list data to XML Web service request

    How do I bind specific columns in a DataGrid to the Web
    service request? I'm having trouble finding any documentation that
    addresses that specific pattern, i.e. sending a complex list to the
    server via a Flex Web service send() command. I'm fairly new to
    Flex programming and don't know if what I want to do is possible.
    Here what I've been able to do so far.
    1. Using a Web service called a service on the server and
    retrieved a complex list.
    2. Poplulated a DataGrid with the result
    3. The user has selected multiple rows from the DataGrid
    using a checkbox column
    4. The user pressed a button that calls a Web service send().
    This Web service should only send data from only two columns and
    only for those rows the user has checked.
    5. I can loop over the DataGrid and find the selected rows
    and put them in another ArrayCollection called 'selectedRows'.
    The issue is that I don't know how to bind 'selectedRows' to
    the Web service. Right now I'm reading up on "Working with XML" in
    the Programming with ActionScript 3.0 chapter. But I'm just fishing
    here. No bites yet.

    Don't bind. Build the request object programatically, as you
    are doing with your selectedRows AC, and send(myObject) that.
    Tracy

  • Can someone please offer guidance regarding xml web service?

    Post Author: LeeCUK
    CA Forum: Xcelsius and Live Office
    Hello, I am attempting to write a dashboard that will retrieve data from a database using the GetXML, I have tried many other methods but this seems the only one I can get working.
    The issue I have is that in my code it returns only one selecatble parameter and stores the whole entires within it.
    Below is an example of the code.
    I send from the dashboard the Xcelsius_Value and it returns the xml schema as expected with fieldnames but within one selectable parameter and does not allow splitting into different cells.
    I hope someone can help.Option Strict OffImports System.Data.OleDbImports System.DataImports System.Web.ServicesImports Oracle.DataAccessImports Oracle.DataAccess.ClientImports System.XmlImports System.Text
    <WebService(Namespace:="http://microsoft.com/webservices/")> Public Class Service1    Inherits System.Web.Services.WebService
    #Region " Web Services Designer Generated Code "    'Generated code not shown.#End Region
    #Region "Public Funcation"
        Public strSQL As String    Private configurationAppSettings As System.Configuration.AppSettingsReader = New System.Configuration.AppSettingsReader    Private oracomGeneric As New Oracle.DataAccess.Client.OracleCommand    Private oraconOds As New Oracle.DataAccess.Client.OracleConnection    Private adptGeneric As New Oracle.DataAccess.Client.OracleDataAdapter    Public dtsGeneric As New System.Data.DataSet    Public TableName As String
    #End Region
        <WebMethod()> Public Function DatabaseXML(ByVal Xcelsius_Value As String) As String
            Try
                oracomGeneric.Connection = oraconOds            oracomGeneric.FetchSize = CType(65536, Long)
                oraconOds.ConnectionString = CType(configurationAppSettings.GetValue("oracledatabase.ConnectionString", GetType(System.String)), String)
                adptGeneric.DeleteCommand = oracomGeneric            adptGeneric.InsertCommand = oracomGeneric            adptGeneric.SelectCommand = oracomGeneric
                dtsGeneric.Clear()
                oracomGeneric.Connection() = oraconOds
                TableName = "table1"
                strSQL = " SELECT   field1, field2, " & _         "ROUND (SUM (sumfield3)) AS value1, " & _         "ROUND (SUM (sumfield4)) AS value2, " & _         "ROUND (SUM (sumfield5)) AS value3, " & _         "ROUND (SUM (sumfield6)) AS value4 " & _            "FROM " & TableName
                oraconOds.Open()            oracomGeneric.CommandText = strSQL
                adptGeneric.Fill(dtsGeneric)            oraconOds.Close()
                DatabaseXML = dtsGeneric.GetXml()
            Catch Ex As Exception            Throw Ex        End Try    End Function
    End Class

    with as2 there is no good way:
    trace(this.firstChild.childNodes[1].childNodes[4].attributes['ID']);
    trace(this.firstChild.childNodes[1].childNodes[4].attributes['CssClass']);
    etc

Maybe you are looking for

  • Outgoing server settings for MAC MAIL with multiple accounts?!

    if i got paid to do this, my outgoing mail server issues would be somewhat amusing but as it stands they are really extremely annoying. i have multiple email accounts (multiple addresses with multiple hosts - gmails, domain based email, me.com addres

  • Is there anything I can do if I don't have a serial number FCStudio 2?

    I kind of got burned by a shady dude when I bought his copy of FCS 2, he didn't give me the serial number and he move to frickin California. I have tried to contact him countless times but I think he is just content to have my money and leave me in t

  • Unable to create SUS Vendor User ID

    Hi Gurus, I've ticked the "Portal Supplier" indicator in BP screen. System triggered XML msg to PI and received successfully in SUS. Unfortunately the processing is failed, XML error msg as below:   <?xml version="1.0" encoding="UTF-8" standalone="ye

  • How to restore ipad without password

    hi I forgot my ipad password. If I try to restore then it is asking for password. How do I restore my ipad to original settings ? Thanks Sandeep

  • Error at the workbook wizard

    Hi, Join configuration can't be resolved. Reason: more than 1 of the detail folders uses non-aggregated items. This is the error msg that I have got when I try to create add one table & fields to create a workbook. Could any one help me with this iss