JWSDP 2.0 Tutorial

I read at the download page of Java Webservices Development Pack 2.0:
JWSDP 2.0 Tutorial coming soon<< Does anyone know what is "soon"? A week, a month, ...?
Best regards
Hermann

May be post the question to webservices forum:
http://forum.java.sun.com/forum.jspa?forumID=331

Similar Messages

  • JWSDP-1.2 Tutorial chapter 9

    Hi all,
    Can anyone please show me the light?
    Im following the tutorial in the above chapter - it is pretty simple and straightforward, however I am getting this error.
    org.xml.sax.SAXParseException: XML declaration may only begin entities.
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170)
    at org.apache.crimson.parser.Parser2.maybePI(Parser2.java:966)
    at org.apache.crimson.parser.Parser2.maybeMisc(Parser2.java:1092)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:487)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:151)
    at Stylizer.main(Stylizer.java:62)
    The XML file is this...
    <?xml version="1.0"?>
    <ARTICLE>
    <TITLE>A Sample Article</TITLE>
    <SECT>The First Major Section
    <PARA>This section will introduce a subsection.</PARA>
    <SECT>The Subsection Heading
    <PARA>This is the text of the subsection.
    </PARA>
    </SECT>
    </SECT>
    </ARTICLE>
    The XSL file is....
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    >
    <xsl:output method="html"/>
    <xsl:template match="/">
    <html><body>
    <xsl:apply-templates/>
    </body></html>
    </xsl:template>
    <xsl:template match="/ARTICLE/TITLE">
    <h1 align="center"> <xsl:apply-templates/> </h1>
    </xsl:template>
    <!-- Top Level Heading -->
    <xsl:template match="/ARTICLE/SECT">
    <h2> <xsl:apply-templates select="text()|B|I|U|DEF|LINK"/> </h2>
    <xsl:apply-templates select="SECT|PARA|LIST|NOTE"/>
    </xsl:template>
    <!-- Second-Level Heading -->
    <xsl:template match="/ARTICLE/SECT/SECT">
    <h3> <xsl:apply-templates select="text()|B|I|U|DEF|LINK"/> </h3>
    <xsl:apply-templates select="SECT|PARA|LIST|NOTE"/>
    </xsl:template>
    <!-- Third-Level Heading -->
    <xsl:template match="/ARTICLE/SECT/SECT/SECT">
    <xsl:message terminate="yes">Error: Sections can only be nested 2 deep.</xsl:message>
    </xsl:template>
    <!-- Paragraph -->
    <xsl:template match="PARA">
    <p><xsl:apply-templates/></p>
    </xsl:template>
    </xsl:stylesheet>
    The Java code is...
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMException;
    // For write operation
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import java.io.*;
    public class Stylizer
    // Global value so it can be ref'd by the tree-adapter
    static Document document;
    public static void main (String argv [])
    if (argv.length != 2) {
    System.err.println ("Usage: java Stylizer stylesheet xmlfile");
    System.exit (1);
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    //factory.setNamespaceAware(true);
    //factory.setValidating(true);
    try {
    File stylesheet = new File(argv[0]);
    File datafile = new File(argv[1]);
    DocumentBuilder builder = factory.newDocumentBuilder();
    document = builder.parse(datafile);
    // Use a Transformer for output
    TransformerFactory tFactory =
    TransformerFactory.newInstance();
    StreamSource stylesource = new StreamSource(stylesheet);
    Transformer transformer = tFactory.newTransformer(stylesource);
    DOMSource source = new DOMSource(document);
    StreamResult result = new StreamResult(System.out);
    transformer.transform(source, result);
    } catch (TransformerConfigurationException tce) {
    // Error generated by the parser
    System.out.println ("\n** Transformer Factory error");
    System.out.println(" " + tce.getMessage() );
    // Use the contained exception, if any
    Throwable x = tce;
    if (tce.getException() != null)
    x = tce.getException();
    x.printStackTrace();
    } catch (TransformerException te) {
    // Error generated by the parser
    System.out.println ("\n** Transformation error");
    System.out.println(" " + te.getMessage() );
    // Use the contained exception, if any
    Throwable x = te;
    if (te.getException() != null)
    x = te.getException();
    x.printStackTrace();
    } catch (SAXException sxe) {
    // Error generated by this application
    // (or a parser-initialization error)
    Exception x = sxe;
    if (sxe.getException() != null)
    x = sxe.getException();
    x.printStackTrace();
    } catch (ParserConfigurationException pce) {
    // Parser with specified options can't be built
    pce.printStackTrace();
    } catch (IOException ioe) {
    // I/O error
    ioe.printStackTrace();
    } // main
    Apparently the above error is usually generated when the XML declaration is not the first thing in the XML file, however that is not the case in the above file.
    Any one with any ideas, guidance, links etc..?
    Any help will be greatly appreciated!!
    Kind Regards.

    The only thing I can think of is to check the encoding of the XML file. If it is encoded with UTF-16 or something like that it would give you that kind of error.

  • Run JWSDP tutorial JAXR  example problem

    Dear all:
    I'm running examples from JWSDP 2.0 tutorial
    I use sjsas-9_1
    my location is jwstutorial20/examples/jaxr/simple
    my registry server is http://localhost:8080/RegistryServer as default
    asant run-publish
    I got following errors:
    javaee-home-test:
    init:
    prepare:
    build:
    run-publish:
    [java] Created connection to registry
    [java] Got registry service, query manager, and life cycle manager
    [java] Sep 30, 2007 1:39:56 PM com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    [java] SEVERE: SAAJ0008: Bad Response; Not Found
    [java] javax.xml.registry.JAXRException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
    [java] at com.sun.xml.registry.uddi.RegistryServiceImpl.jaxmSend(Unknown Source)
    [java] at com.sun.xml.registry.uddi.RegistryServiceImpl.send(Unknown Source)
    [java] at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
    [java] at com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown Source)
    [java] at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
    [java] at JAXRPublish.executePublish(Unknown Source)
    [java] at JAXRPublish.main(Unknown Source)
    [java] Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
    [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:146)
    [java] ... 7 more
    [java] Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:140)
    [java] ... 7 more
    [java] Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (404Not Found
    [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:323)
    [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:169)
    [java] ... 9 more
    BUILD SUCCESSFUL
    can anyone help?
    thanks

    Hi Scott,
    Thank you any way.
    Last time, I met it and carried the tutorial on by compiling and copying manually. Then, I came back to set the ant.jar into path&classpath, and it worked.(ant build)
    Today, I'm trying on "hello1" example, but can't get though.
    Maybe it's still classpath and path issue, as I can't compile two servlet classes by javac from command line, but from Forte, it passed.
    Cheers!
    Zhan

  • JWSDP and J2EE Integration: Doesn't work. What's the point?

    My problems involve the integration of JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    It looks like a long one, but it�s really not that bad. All comments are appreciated.
    I�ve numbered each line-paragraph-section for easy reference later.
    (1) My ultimate goal is to setup a website that displays data from a database. I will use Java, Apache, Oracle, and whatever else I need to create a website that uses servlets, JavaServer Pages (JSP), and JDBC.
    (2) I�ve got four Pentium III computers:
    1. Windows 2000 Server to be the web server (MyWebServer, IP = 10.10.1.1).
    2. Windows 2000 Professional to be the database server (MyDatabaseServer, IP = 10.10.1.2).
    3. Windows 2000 Professional that I use to develop and test (MyDeveloperPC, IP = 10.10.1.3).
    4. Windows 2000 Professional that I use as a client to connect to the website (MyClientPC, IP = 10.10.1.4).
    (3) On MyWebServer I installed the following:
    Java 2 Standard Edition (J2SE)
    Java 2 Enterprise Edition (J2EE)
    Java Web Services Developer Pack (JWSDP)
    The JWSDP tutorial
    Apache HTTP Server
    (4) The files I downloaded and installed are as follows:
    j2sdk-1_4_0-rc-win.exe
    j2sdkee-1_3_1-win.exe
    jwsdp-1_0-ea1-win.exe
    jwsdp-1_0-ea1_01-tutorial.zip
    apache_1.3.23-win32-x86-no_src.exe
    (5) After installing these products, I set the environment variables as follows:
    JAVA_HOME = c:\j2se
    J2EE_HOME = c:\j2ee
    JWSDP_HOME = c:\jwsdp
    Path = c:\j2se\bin;c:\j2ee\bin;c:\jwsdp\bin; [and other previous statements]
    (6) I checked to see that Apache is running as a service. It is.
    On MyWebServer I start Tomcat and J2EE. Both start properly and are operating simultaneously.
    (7) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1
    This displays the page c:\ApacheHTTP\apache\htdocs\index.html.en (The Apache default server installation page.)
    (8) I then enter this address in IE:
    http://10.10.1.1:8080
    This displays the page c:\jwsdp\webapps\root\index.html (The default JWSDP page).
    (9) I then enter this address in IE:
    http://10.10.1.1:8000
    This displays the page c:\j2ee\public_html\index.html (The J2EE 1.3 Default Home Page).
    (10) So far so good. Now I want to test JWSDP as a container for JSP pages.
    (11) I use ant to build the converter app found in the tutorial examples (in folder c:\jwsdp\�\tutorial\examples\gs). I then deploy the converter app to the c:\jwsdp\webapps\gs folder.
    (12) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1:8080/gs
    The converter app works perfectly.
    (13) To eliminate the need to enter the port number, I create a link from the Apache default server installation page to the converter app. From MyClientPC and enter this address into IE:
    http://10.10.1.1
    I then click on the link to the converter app and it works perfectly.
    (14) Question: Is this the best way to display JSP pages without having to enter the port number?
    (15) Now it�s time to integrate JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    (16) After I complete this integration I cannot start both Tomcat and J2EE at the same time. This makes sense because they both share port 8080.
    I start Tomcat.
    (17) From MyClientPC and use Internet Explorer to test the various relevant addresses. Everything works the same as it did before except this one:
    http://10.10.1.1:8000
    The page cannot be displayed. The J2EE default home page is not displayed, which makes sense because the J2EE port is no longer 8000; it has been changed to 8080.
    (18) Now I shutdown Tomcat and start J2EE.
    From MyClientPC and use Internet Explorer to test the various relevant addresses:
    (19) http://10.10.1.1:8080
    Displays the JWSDP default home page.
    (20) http://10.10.1.1:8080/gs
    The page cannot be displayed. The converter app no longer works.
    (21) From MyWebServer and use Internet Explorer to test localhost:
    http://localhost:8080
    This displays the J2EE default home page.
    (22) Question: Why does localhost give me a different page than the IP address?
    (23) Question: What was the point of integrating JWSDP and J2EE?
    (24) I want to get the converter app working, so I create a .war file and attempt to add it to the J2EE deploytool (see the two integration documents listed above at section 15.) I create the .war file following the instructions in the JWSDP tutorial:
    http://java.sun.com/webservices/docs/ea1/tutorial/doc/WebApp3.html#64606
    (25) I change to the c:\jwsdp\�\tutorial\examples\gs\build folder.
    I then type:
    jar cvf converter.war .
    A .war file is created.
    (26) I open the deploytool: File, New, Application, and I name it �converter�.
    I attempt to add the .war file: File, Add to Application, Web WAR.
    (27) When I attempt to add the converter.war file I get this error:
    �converter.war does not appear to be a valid web JAR.�
    I tried a few different attempts, all with the same result. I�m stuck.
    (28) I ask again, What was the point of integrating JWSDP and J2EE?
    (29) If this is the preferred configuration, how do I display my JSP pages like the converter app?
    Please help!!!

    The JWSDP tutorial says to be in the �build� folder of the example when issuing the jar command to create the .war file. The build folder is created when I run the �ant build� command.
    Attempt 1 from the command prompt in folder c:\jwsdp\tutorial\examples\gs\build>
    I typed this command:
    jar cvf c:\jaxmservices\converter.war .
    In this case I directed the .war file to be placed in a different folder as you suggested. Here�s the output:
    added manifest
    adding: index.jsp(in = 921) (out= 525)(deflated 42%)
    adding: WEB-INF/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/Converter.class(in = 582) (out= 358)(deflated 38%)
    Didn�t work. Same error as before.
    Attempt 2 from the same folder:
    I typed this command as you suggested (I tried it with and without the final dot):
    jar tvf converter.war
    Here is the output:
    java.io.FileNotFoundException: converter.war (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.tools.jar.Main.run(Main.java:185)
    at sun.tools.jar.Main.main(Main.java:904)
    I tried a few other variations on these attempts with no luck. I�m stuck.
    I�m attempting to create a .war file out of two files: index.jsp and converter.class.
    Now that I�ve integrated JWSDP and J2EE, is there some other way that I can run the converter app instead of a .war file and the deploytool? In other words, if I go back to using ant to build and deploy converter, where would I deploy it so that it will work with J2EE?
    By the way, it doesn�t have to be converter. I�d be happy if I could get any JSP page to work in J2EE after the integration.
    Forever grateful,
    Logan

  • Problem with JAX-RPC tutorial

    I am studying "The JavaTM Web Services Tutorial"-Java API for XML-based RPC.
    When I read "Deploying the Service", I encounter some errors.
    I type "ant deploy".
    Here is error message:
    Buildfile: build.xml
    deploy:
    BUILD FAILED
    Total time: 3 seconds
    D:\jwsdp-1_0_01\docs\tutorial\examples\jaxrpc\hello\build.xml:14: java.io.FileNotFoundException: http://localhost:8080/manager/deploy?path=%2Fhello-jaxrpc
    I don't know what to do.I can't get any infomation from the tutorial.
    Please help me.Thanks.

    OK!
    I have solved this problem.
    I put build.properties in my home directory(On WinXP, C:\Documents and Settings\myProfile).
    The file looks like this:
    username=my_username
    password=my_password
    I think, when I deploy my web service to Tomcat, Tomcat need to verifiy my infomation. So, I must provide my authorization information to Tomcat.
    build.properties contains infomation which I provide.
    Read "Creating the Build Properties File" in JavaWSTutorial for more details

  • Access denied Error when trying to run Tomcat that came with JWSDP

    Hi fellows,
    I went through the forums and found same error posted by someone but no soultion to that.
    So hope this time i get lucky.
    I am running this on win 98(it really sucks)
    After I try to run the startup.bat i get the error:
    Using CATALINA_BASE: C:\JWSDP-1_0-EA2
    Using CATALINA_HOME: C:\JWSDP-1_0-EA2
    Using CATALINA_TMPDIR: C:\JWSDP-1_0-EA2\temp
    Using JAVA_HOME: C:\JDK13~1.1_0
    Access is denied.
    I don't know where to put the build.properties. Any helpful comment will be greately appreciated.
    Regards,

    Folks
    Obviously the EA(Early Access) is just that! I've managed to get around the problem, and run a sample (ConverterBean) using JWSDP with Tomcat on Win98. Here's the workaround:
    1> In the startup.bat, replace "start" with "run". Type "startup" from cmd line. This will start Tomcat in the same window.
    2> Create the build.properties file in the same location as build.xml. For the Getting Started example, this will be in <jwsdp-home>\docs\tutorial\example\gs.
    3> Once you build the sample files, copy the classes directory and index.jsp to <jwsdp-home>\webapps\ROOT\WEB-INF
    4> Update setclasspath.bat in <jwsdp-home>\bin directory to include <jwsdp-home>\webapps\ROOT\WEB-INF\classes.
    5> In the browser, type http://localhost:8080/index.jsp
    BINGO!!!!
    Cheers!
    Pravin
    I hava the same problem
    Using CATALINA_BASE: C:\JWSDP-~1
    Using CATALINA_HOME: C:\JWSDP-~1
    Using CATALINA_TMPDIR: C:\JWSDP-~1\temp
    Using JAVA_HOME: C:\J2SDK_FORTE\JDK1.4.0
    Zugriff wurde verweigert. (access is denied)

  • Tomcat 4.0.4 Internal Server Error with JWSDP 1.0.01 examples

    Hi,
    I am trying to run the JWSDP 1.0.01 tutorial examples with
    Apache Tomcat 4.0.4. I have j2sdk 1.4.0.01 installed on
    Windows 2000.
    I have successfully built and installed the 'date' example
    jwsdp-1_0_01\docs\tutorial\examples\web\date. When I point my browser at http://localhost:8080/date/ I get the following:
    Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
    1 error, 1 warning
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)
    Any ideas ?
    Thanks,
    Mike.

    Check if you've the latest servlet.jar file
    -Dieter

  • Problem in running example in web service tutorial

    Hi,
    I have installed jwsdp 1.1. When I followed the procedures stated in the tutorial and compiled the example in the dir
    {jwsdp home}\docs\tutorial\examples\cb\jaxm\, errors occur.
    Here are the errors occurs in the launcher.server.log.
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
         at org.apache.commons.digester.Digester.endElement(Digester.java:830)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:552)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1071)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1533)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:346)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:529)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:585)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1142)
         at org.apache.commons.digester.Digester.parse(Digester.java:1302)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:804)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:882)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1198)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:739)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
         at org.apache.catalina.core.StandardService.start(StandardService.java:499)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2187)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:504)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:399)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Caused by: java.lang.IllegalStateException: Context path /RegistryServer is already in use
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:523)
         ... 42 more
    [ERROR] Digester - -End event threw exception <java.lang.reflect.InvocationTargetException>
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
         at org.apache.commons.digester.Digester.endElement(Digester.java:830)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:552)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1071)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1533)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:346)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:529)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:585)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1142)
         at org.apache.commons.digester.Digester.parse(Digester.java:1302)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:804)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:882)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1198)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:739)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
         at org.apache.catalina.core.StandardService.start(StandardService.java:499)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2187)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:504)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:399)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Caused by: java.lang.IllegalStateException: Context path /Xindice is already in use
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:523)
         ... 42 more
    [ERROR] Digester - -End event threw exception <java.lang.reflect.InvocationTargetException>
    Sorry for posting such a long error capturing above.
    But I really don't know which part goes wrong. I have already copied the endorse dir to my java sdk 1.4.1 home.
    Any ideas?
    A million thanks in advance ^^
    Sherina

    I have this problem too. Please let me know if you have resolved it.

  • Jwsdp-1_0_01 JAXRPCContextListener failed

    I'm trying to deploy a web service created with the jwsdp-1_0_01 api. Weblogic 7.0 loads it up and trys to deploy but we get a ClassCastException:
    User defined listener com.sun.xml.rpc.server.http.JAXRPCContextListener failed: java.lang.ClassCastException: weblogic.utils.classloaders.ChangeAwareClassLoader.
    JAXRPCContextListener is a standard ServletContextListener used by sun's wsgen and it's listed in the generated web.xml file in the war. This error is preventing the war from being fully deployed.
    I'm using sun tutorial example \jwsdp-1_0_01\docs\tutorial\examples\jaxrpc\hello\* with the documentation/instructions at \jwsdp-1_0_01\docs\tutorial\doc\JAXRPC3.html
    We've been using webservices on 6.1 for the past year without problems. But I can't get this one to go on 7.0.
    Any thoughts?

    WLS 7.0 got its own implementation of JAX-RPC. I think, the exception is
    because the JAX-RPC factorys are mapped to the WLS impls. You could
    remove the mapping by deleting the following files from weblogic.jar or
    webservice.jar:
    META-INF\services\javax.xml.rpc.ServiceFactory
    META-INF\services\javax.xml.soap.MessageFactory
    META-INF\services\javax.xml.soap.SOAPConnectionFactory
    META-INF\services\javax.xml.soap.SOAPFactory
    HTHS,
    -manoj
    "kris young" <[email protected]> wrote in message
    news:3e4446f4$[email protected]..
    I'm trying to deploy a web service created with the jwsdp-1_0_01 api.Weblogic 7.0 loads it up and trys to deploy but we get a ClassCastException:
    >
    User defined listener com.sun.xml.rpc.server.http.JAXRPCContextListenerfailed: java.lang.ClassCastException:
    weblogic.utils.classloaders.ChangeAwareClassLoader.
    >
    JAXRPCContextListener is a standard ServletContextListener used by sun'swsgen and it's listed in the generated web.xml file in the war. This error
    is preventing the war from being fully deployed.
    >
    I'm using sun tutorial example\jwsdp-1_0_01\docs\tutorial\examples\jaxrpc\hello\* with the
    documentation/instructions at \jwsdp-1_0_01\docs\tutorial\doc\JAXRPC3.html
    >
    We've been using webservices on 6.1 for the past year without problems.But I can't get this one to go on 7.0.
    >
    Any thoughts?

  • WSDL file not generated from wscompile using jwsdp-1.2.

    Hi,
    I used following config.xml file to generate the WSDL file.......but it didn't got genereted. Other artifacts got generated. I'm using jwsdp-1.2.
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service name="PersonWebService"
    typeNamespace="http://rahuls_person_service.org/type"
    targetNamespace="http://rahuls_person_service.org/wsdl"
    packageName="rahul.ws.test">
    <interface name="rahul.ws.test.PersonWS"
    servantName="rahul.ws.test.PersonWSImpl"/>
    </service>
    </configuration>
    And I have following entry in the build.xml file.........
    <target name="generate-server_wsdl" depends="prepare">
    <antcall target="edit-config">
    <param name="config.rpcenc.file" value="${config.rpcenc.file}"/>
    </antcall>
    <wscompile
    keep="true"
    base="${samplesbuild}/${appname}/classes/server"
    xPrintStackTrace="true"
    gen="true"
    verbose="false"
    model="${samplesbuild}/${appname}/${model.rpcenc.file}"
    classpath="${compile.classpath}"
    config="${config.rpcenc.file}">
    <classpath>
    <path refid="compile.classpath"/>
    </classpath>
    </wscompile>
    <antcall target="unedit-config">
    <param name="config.rpcenc.file" value="${config.rpcenc.file}"/>
    </antcall>
    </target>
    Can any body point me what may be the problem.
    thanks in advance.
    Rahul

    The following is from the jwsdp-1.1 tutorial at http://java.sun.com/webservices/docs/1.1/tutorial/doc/
    The tutorial for 1.2 is not available yet.
    Seems you need to modify your config.xml to have a <service> element.
    The wscompile tool reads the configuration file (config.xml), which contains information that describes the web service. The basic structure of config.xml follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service> or <wsdl> or <modelfile>
    </configuration>
    The <configuration> element may contain exactly one <service>, <wsdl>, or <modelfile> element.
    The <service> Element
    If you specify this element, wscompile reads the RMI interface that describes the service and generates a WSDL file. In the <interface> subelement, the name attribute specifies the service's RMI interface, and the servantName attribute specifies the class that implements the interface. For example:
    <service name="CollectionIF_Service"
    targetNamespace="http://echoservice.org/wsdl"
    typeNamespace="http://echoservice.org/types"
    packageName="stub_tie_generator_test">
    <interface name="stub_tie_generator_test.CollectionIF"
    servantName="stub_tie_generator_test.CollectionImpl"/>
    </service>
    The <wsdl> Element
    If you specify this element, wscompile reads the service's WSDL file and generates the service's RMI interface. The location attribute specifies the URL of the WSDL file, and the packageName attribute specifies the package of the classes generated by wscompile. For example:
    <wsdl
    location="http://tempuri.org/sample.wsdl"
    packageName="org.tempuri.sample" />

  • JWSDP-Tutoriol 2.0 comming soon(?)

    I read at the download page of Java Webservices Development Pack 2.0:
    JWSDP 2.0 Tutorial coming soon<< Does anyone know what is "soon"? A week, a month, ...?
    Best regards
    Hermann

    The Java Web Services Tutorial for Java WSDP 2.0 truly is coming soon. The tutorial team has been updating the content in the chapters for the technologies that have changed and/or are new to the Pack. Many new examples have been added. I expect that the tutorial will be available at the end of this week or early next week. I apologize for the delay, but hope that the wait will be worthwhile.
    Eric Jendrock
    Java Web Services/J2EE/Java EE 5 documentation

  • Jwsdp - examples  ant install problem

    hi,
    this is what i get when trying to install bookstore1 example app with ant (-verbose)install.
    ant prepare and ant build worked successfully. can someone give me a hint what i have to change? thanks a lot. jens
    Ant version 1.4.1 compiled on July 31 2002
    Buildfile: build.xml
    Detected Java version: 1.4 in: /home/jens/sdk1.4/jre
    Detected OS: Linux
    parsing buildfile /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.xml with URI = file:/home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.xml
    Project base dir set to: /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1
    [property] Loading /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.properties
    [property] Unable to find property file: /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.properties
    [property] Loading /home/jens/build.properties
    Build sequence for target `install' is [init, prepare, build, install]
    Complete build sequence is [init, prepare, build, install, reload, package, deploy, remove, list, undeploy]
    init:
    prepare:
    build:
    [javac] cart/ShoppingCart.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/cart/ShoppingCart.class is up to date.
    [javac] cart/ShoppingCartItem.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/cart/ShoppingCartItem.class is up to date.
    [javac] util/Currency.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/util/Currency.class is up to date.
    [javac] util/Counter.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/util/Counter.class is up to date.
    [javac] messages/BookstoreMessages.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/messages/BookstoreMessages.class is up to date.
    [javac] messages/BookstoreMessages_es.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/messages/BookstoreMessages_es.class is up to date.
    [javac] database/BookDB.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/database/BookDB.class is up to date.
    [javac] database/BookDetails.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/database/BookDetails.class is up to date.
    [javac] exception/BookNotFoundException.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/exception/BookNotFoundException.class is up to date.
    [javac] exception/BooksNotFoundException.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/exception/BooksNotFoundException.class is up to date.
    [javac] exception/OrderException.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/exception/OrderException.class is up to date.
    [javac] CatalogServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/CatalogServlet.class is up to date.
    [javac] BookDetailsServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/BookDetailsServlet.class is up to date.
    [javac] filters/HitCounterFilter.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/filters/HitCounterFilter.class is up to date.
    [javac] filters/OrderFilter.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/filters/OrderFilter.class is up to date.
    [javac] filters/CharResponseWrapper.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/filters/CharResponseWrapper.class is up to date.
    [javac] ReceiptServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/ReceiptServlet.class is up to date.
    [javac] listeners/ContextListener.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/listeners/ContextListener.class is up to date.
    [javac] BannerServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/BannerServlet.class is up to date.
    [javac] BookStoreServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/BookStoreServlet.class is up to date.
    [javac] ShowCartServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/ShowCartServlet.class is up to date.
    [javac] CashierServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/CashierServlet.class is up to date.
    [copy] web.xml omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/web.xml is up to date.
    [copy] duke.books.gif omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/duke.books.gif is up to date.
    [copy] errorpage.html omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/errorpage.html is up to date.
    [copy] context.xml omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/META-INF/context.xml is up to date.
    install:
    [install] FAIL - Encountered exception java.io.IOException: java.lang.reflect.InvocationTargetException
    BUILD FAILED
    /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.xml:91: FAIL - Encountered exception java.io.IOException: java.lang.reflect.InvocationTargetException
    at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:278)
    at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:171)
    at org.apache.catalina.ant.InstallTask.execute(InstallTask.java:157)
    at org.apache.tools.ant.Task.perform(Task.java:217)
    at org.apache.tools.ant.Target.execute(Target.java:184)
    at org.apache.tools.ant.Target.performTasks(Target.java:202)
    at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    at org.apache.tools.ant.Main.runBuild(Main.java:454)
    at org.apache.tools.ant.Main.start(Main.java:153)
    at org.apache.tools.ant.Main.main(Main.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.launcher.Launcher.main(Launcher.java:208)
    --- Nested Exception ---
    FAIL - Encountered exception java.io.IOException: java.lang.reflect.InvocationTargetException
    at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:274)
    at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:171)
    at org.apache.catalina.ant.InstallTask.execute(InstallTask.java:157)
    at org.apache.tools.ant.Task.perform(Task.java:217)
    at org.apache.tools.ant.Target.execute(Target.java:184)
    at org.apache.tools.ant.Target.performTasks(Target.java:202)
    at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    at org.apache.tools.ant.Main.runBuild(Main.java:454)
    at org.apache.tools.ant.Main.start(Main.java:153)
    at org.apache.tools.ant.Main.main(Main.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.launcher.Launcher.main(Launcher.java:208)

    Unable to load the launcher file index. Invalid file type in file index.
    what is wrong here? ive downloaded file for 3 hours and this is what i get?

  • Configuration error while executing wsdeploy

    Hi
    I am trying to deploy the hello service example in the tutorial. when I run the ant build I am getting the following exception. Any suggestions to solve the problem would be a great help for me. Thanks you.
    Cheers
    Kanag
    Exception:
    [exec] error: javax.xml.transform.TransformerConfigurationException: javax.
    xml.transform.TransformerConfigurationException: javax.xml.transform.Transformer
    Exception: javax.xml.transform.TransformerException: Failed calling setMethod m
    ethod
    [exec] javax.xml.transform.TransformerConfigurationException: javax.xml.tra
    nsform.TransformerConfigurationException: javax.xml.transform.TransformerExcepti
    on: javax.xml.transform.TransformerException: Failed calling setMethod method
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTransfor
    mer(TransformerFactoryImpl.java:767)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.defineServletsAndLi
    steners(DeployTool.java:499)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java
    :214)
    [exec] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:324)
    [exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    [exec] Caused by: javax.xml.transform.TransformerConfigurationException: ja
    vax.xml.transform.TransformerException: javax.xml.transform.TransformerException
    : Failed calling setMethod method
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplate
    s(TransformerFactoryImpl.java:946)
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTransfor
    mer(TransformerFactoryImpl.java:750)
    [exec] ... 9 more
    [exec] Caused by: javax.xml.transform.TransformerException: javax.xml.trans
    form.TransformerException: Failed calling setMethod method
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplate
    s(TransformerFactoryImpl.java:942)
    [exec] ... 10 more
    [exec] Caused by: javax.xml.transform.TransformerException: Failed calling
    setMethod method
    [exec] at org.apache.xalan.processor.StylesheetHandler.error(Stylesheet
    Handler.java:891)
    [exec] at org.apache.xalan.processor.StylesheetHandler.error(Stylesheet
    Handler.java:919)
    [exec] at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLT
    AttributeDef.java:1109)
    [exec] at org.apache.xalan.processor.XSLTElementProcessor.setProperties
    FromAttributes(XSLTElementProcessor.java:375)
    [exec] at org.apache.xalan.processor.XSLTElementProcessor.setProperties
    FromAttributes(XSLTElementProcessor.java:311)
    [exec] at org.apache.xalan.processor.ProcessorOutputElem.startElement(P
    rocessorOutputElem.java:236)
    [exec] at org.apache.xalan.processor.StylesheetHandler.startElement(Sty
    lesheetHandler.java:656)
    [exec] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Abst
    ractSAXParser.java:446)
    [exec] at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElem
    ent(AbstractXMLDocumentParser.java:225)
    [exec] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElem
    ent(XMLNSDocumentScannerImpl.java:298)
    [exec] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragmen
    tContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1543)
    [exec] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDoc
    ument(XMLDocumentFragmentScannerImpl.java:348)
    [exec] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
    tion.java:539)
    [exec] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
    tion.java:595)
    [exec] at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    [exec] at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAX
    Parser.java:1125)
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplate
    s(TransformerFactoryImpl.java:934)
    [exec] ... 10 more
    [exec] ---------
    [exec] javax.xml.transform.TransformerConfigurationException: javax.xml.tra
    nsform.TransformerException: javax.xml.transform.TransformerException: Failed c
    alling setMethod method
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplate
    s(TransformerFactoryImpl.java:946)
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTransfor
    mer(TransformerFactoryImpl.java:750)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.defineServletsAndLi
    steners(DeployTool.java:499)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java
    :214)
    [exec] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:324)
    [exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    [exec] Caused by: javax.xml.transform.TransformerException: javax.xml.trans
    form.TransformerException: Failed calling setMethod method
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplate
    s(TransformerFactoryImpl.java:942)
    [exec] ... 10 more
    [exec] Caused by: javax.xml.transform.TransformerException: Failed calling
    setMethod method
    [exec] at org.apache.xalan.processor.StylesheetHandler.error(Stylesheet
    Handler.java:891)
    [exec] at org.apache.xalan.processor.StylesheetHandler.error(Stylesheet
    Handler.java:919)
    [exec] at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLT
    AttributeDef.java:1109)
    [exec] at org.apache.xalan.processor.XSLTElementProcessor.setProperties
    FromAttributes(XSLTElementProcessor.java:375)
    [exec] at org.apache.xalan.processor.XSLTElementProcessor.setProperties
    FromAttributes(XSLTElementProcessor.java:311)
    [exec] at org.apache.xalan.processor.ProcessorOutputElem.startElement(P
    rocessorOutputElem.java:236)
    [exec] at org.apache.xalan.processor.StylesheetHandler.startElement(Sty
    lesheetHandler.java:656)
    [exec] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Abst
    ractSAXParser.java:446)
    [exec] at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElem
    ent(AbstractXMLDocumentParser.java:225)
    [exec] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElem
    ent(XMLNSDocumentScannerImpl.java:298)
    [exec] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragmen
    tContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1543)
    [exec] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDoc
    ument(XMLDocumentFragmentScannerImpl.java:348)
    [exec] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
    tion.java:539)
    [exec] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
    tion.java:595)
    [exec] at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    [exec] at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAX
    Parser.java:1125)
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplate
    s(TransformerFactoryImpl.java:934)
    [exec] ... 10 more
    [exec] ---------
    [exec] javax.xml.transform.TransformerException: javax.xml.transform.Transf
    ormerException: Failed calling setMethod method
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplate
    s(TransformerFactoryImpl.java:942)
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTransfor
    mer(TransformerFactoryImpl.java:750)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.defineServletsAndLi
    steners(DeployTool.java:499)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java
    :214)
    [exec] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:324)
    [exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    [exec] Caused by: javax.xml.transform.TransformerException: Failed calling
    setMethod method
    [exec] at org.apache.xalan.processor.StylesheetHandler.error(Stylesheet
    Handler.java:891)
    [exec] at org.apache.xalan.processor.StylesheetHandler.error(Stylesheet
    Handler.java:919)
    [exec] at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLT
    AttributeDef.java:1109)
    [exec] at org.apache.xalan.processor.XSLTElementProcessor.setProperties
    FromAttributes(XSLTElementProcessor.java:375)
    [exec] at org.apache.xalan.processor.XSLTElementProcessor.setProperties
    FromAttributes(XSLTElementProcessor.java:311)
    [exec] at org.apache.xalan.processor.ProcessorOutputElem.startElement(P
    rocessorOutputElem.java:236)
    [exec] at org.apache.xalan.processor.StylesheetHandler.startElement(Sty
    lesheetHandler.java:656)
    [exec] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Abst
    ractSAXParser.java:446)
    [exec] at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElem
    ent(AbstractXMLDocumentParser.java:225)
    [exec] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElem
    ent(XMLNSDocumentScannerImpl.java:298)
    [exec] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragmen
    tContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1543)
    [exec] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDoc
    ument(XMLDocumentFragmentScannerImpl.java:348)
    [exec] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
    tion.java:539)
    [exec] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
    tion.java:595)
    [exec] at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    [exec] at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAX
    Parser.java:1125)
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplate
    s(TransformerFactoryImpl.java:934)
    [exec] ... 10 more
    [exec] ---------
    [exec] javax.xml.transform.TransformerException: Failed calling setMethod
    method
    [exec] at org.apache.xalan.processor.StylesheetHandler.error(Stylesheet
    Handler.java:891)
    [exec] at org.apache.xalan.processor.StylesheetHandler.error(Stylesheet
    Handler.java:919)
    [exec] at org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(XSLT
    AttributeDef.java:1109)
    [exec] at org.apache.xalan.processor.XSLTElementProcessor.setProperties
    FromAttributes(XSLTElementProcessor.java:375)
    [exec] at org.apache.xalan.processor.XSLTElementProcessor.setProperties
    FromAttributes(XSLTElementProcessor.java:311)
    [exec] at org.apache.xalan.processor.ProcessorOutputElem.startElement(P
    rocessorOutputElem.java:236)
    [exec] at org.apache.xalan.processor.StylesheetHandler.startElement(Sty
    lesheetHandler.java:656)
    [exec] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Abst
    ractSAXParser.java:446)
    [exec] at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElem
    ent(AbstractXMLDocumentParser.java:225)
    [exec] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElem
    ent(XMLNSDocumentScannerImpl.java:298)
    [exec] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragmen
    tContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1543)
    [exec] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDoc
    ument(XMLDocumentFragmentScannerImpl.java:348)
    [exec] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
    tion.java:539)
    [exec] at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
    tion.java:595)
    [exec] at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    [exec] at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAX
    Parser.java:1125)
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTemplate
    s(TransformerFactoryImpl.java:934)
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTransfor
    mer(TransformerFactoryImpl.java:750)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.defineServletsAndLi
    steners(DeployTool.java:499)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java
    :214)
    [exec] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    [exec] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:24)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:324)
    [exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)

    I too have installed Java WSDP 1.3 and have followed the setup instructions and made changes in the build.properties file accordingly.
    When I run "ant build" command from the directory "<jwsdp-1.3-install>/jwstutorial13/examples/jaxrpc/helloservice", it executes these ant tasks without any error:
    - compile-service
    - generate-sei-service
    - package-service
    But I get the following error/messages on command window, when it tries to execute the task "package-service":
    generate-sei-service:
    prepare:
    [echo] Creating the required directories....
    set-wscompile:
    run-wscompile:
    [echo] Running wscompile:
    [echo] C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat -define -d build -nd build -
    classpath build config-interface.xml -model build/model.gz
    [delete] Deleting: C:\Anand\Technical\JavaWebServices\JavaWebServicesTutorial\jwsdp-1_3_01-tutoria
    l\jwstutorial13\examples\jaxrpc\helloservice\build\MyHelloService.wsdl
    setup-web-inf:
    [echo] Setting up build/WEB-INF....
    [copy] Copying 2 files to C:\Anand\Technical\JavaWebServices\JavaWebServicesTutorial\jwsdp-1_3_0
    1-tutorial\jwstutorial13\examples\jaxrpc\helloservice\build\WEB-INF\classes\helloservice
    [copy] Copying 1 file to C:\Anand\Technical\JavaWebServices\JavaWebServicesTutorial\jwsdp-1_3_01
    -tutorial\jwstutorial13\examples\jaxrpc\helloservice\build\WEB-INF
    [copy] Copying 1 file to C:\Anand\Technical\JavaWebServices\JavaWebServicesTutorial\jwsdp-1_3_01
    -tutorial\jwstutorial13\examples\jaxrpc\helloservice\build\WEB-INF
    [copy] Copying 1 file to C:\Anand\Technical\JavaWebServices\JavaWebServicesTutorial\jwsdp-1_3_01
    -tutorial\jwstutorial13\examples\jaxrpc\helloservice\build\WEB-INF
    prepare-dist:
    [echo] Creating the required directories....
    [mkdir] Created dir: C:\Anand\Technical\JavaWebServices\JavaWebServicesTutorial\jwsdp-1_3_01-tuto
    rial\jwstutorial13\examples\jaxrpc\helloservice\dist
    package-service:
    [echo] Packaging the WAR....
    [jar] Building jar: C:\Anand\Technical\JavaWebServices\JavaWebServicesTutorial\jwsdp-1_3_01-tut
    orial\jwstutorial13\examples\jaxrpc\helloservice\dist\hello-jaxrpc-portable.war
    set-wsdeploy:
    process-war:
    prepare:
    [echo] Creating the required directories....
    set-wsdeploy:
    run-wsdeploy:
    [echo] Running wsdeploy:
    [echo] C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wsdeploy.bat -o dist/hello-jaxrpc.war dist/hello-
    jaxrpc-portable.war
    [exec] error: javax.xml.transform.TransformerConfigurationException: javax.xml.transform.Transfo
    rmerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.Transformer
    Exception: Failed calling setMethod method
    [exec] javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerCon
    figurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerExcepti
    on: Failed calling setMethod method
    [exec] at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactor
    yImpl.java:767)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:324)
    [exec] at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    [exec] Result: 1
    build-service:
    build:
    BUILD SUCCESSFUL
    Total time: 1 minute 11 seconds
    The end result is that there is no "hello-jaxrpc.war" in "dist" folder although I can see "hello-jaxrpc-portable.war". Hence, when I run "ant deploy" it doesn't find file "hello-jaxrpc.war".
    I tried searching for a solution in this group's archive and also on internet but could not find a solution. Did you get the solution?
    Regards,
    Anand

  • Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.con

    Hi everyone,
    Just now i tried to run the 'simple' example in an JAXRPC Security part in the JWSDP 1.4 tutorial but got the following error:
    run-sample:
    [echo] Running the simple.TestClient program....
    [java] Service URL=http://localhost:8080/securesimple/Ping
    [java] Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.configuration.SecurityConfigurationXmlReader.readJAXRPCSecurityConfigurationString(Ljava/lang/String;Z)Lcom/sun/xml/wss/configuration/JAXRPCSecurityConfiguration;
    [java]      at com.sun.xml.rpc.security.SecurityPluginUtil.<init>(SecurityPluginUtil.java:128)
    [java]      at simple.PingPort_Ping_Stub.<clinit>(PingPort_Ping_Stub.java:40)
    [java]      at simple.PingService_Impl.getPing(PingService_Impl.java:68)
    [java]      at simple.TestClient.main(TestClient.java:27)
    Can anybody give me a clue?

    Vishal, thanks a lot for your reply. I used the App Server 2004Q4 beta and got the problem. When I switch to version 8.0.0_01 the things work well.
    But now I'm trying to understand this example and creating my own simple web app using encryption feature. From the files in the example dicrectory I can figure out the security applied at client by examining client stub files generated by the wscompile in the asant gen-client task. But I wonder when security is added to the server side. Is it when we use wsdeploy with the model part specifiedin jaxrpc-ri.xml? What is the procedure to apply the security to the web service?
    The last thing I want to ask is whether the deploytool bundled inside App Server can do the same things as ant task (eg. wsdeploy with some arguments).

  • Wanting to write a SOAP server.

    I'm a Java programmer of 8 years experience, worked in J2EE, good knowledge of the usual XML APIs, the HTTP protocol etc, just so we know where we're starting...
    I'd like to write a SOAP server to expose certain routines to a Java client. Obviously I'd be writing the client side which would be in a web app.
    Now, the server side must be in this 3GL, non-OO proprietary language which my employer is wedded to (Synergy DBL). All the data are in that proprietary language's ISAM files. This is a requirement.
    That language has an XML parser, and an HTTP API, so I can read, parse, generate and send XML documents.
    Am I right in thinking that I don't need to write a WSDL description of the web service? That is generally used to generate Java sketeon/stub routines is it not?
    There exists a proprietary form of exposing certain DBL methods, and the interface is described by an XML document, for example as a proof of concept, I am exposing this method:
    <?xml version='1.0'?>
    <component name="fclasp" repository="/usr2/fclenv/51A/DATA/SYS/FCLmain.ism" smc="/usr2/fclenv/51A/DATA/SYS/" >
      <structure name="Asp_wt_filters" size="126" >
        <field name="Buyer_name" type="alpha" size="35" />
        <field name="Buyer_ref" type="alpha" size="15" />
        <field name="Supplier_name" type="alpha" size="35" />
        <field name="Supplier_ref" type="alpha" size="15" />
        <field name="Country_code_1" type="alpha" size="2" />
        <field name="Country_code_2" type="alpha" size="2" />
        <field name="Country_code_3" type="alpha" size="2" />
        <field name="Country_code_4" type="alpha" size="2" />
        <field name="Start_status" type="decimal" size="1" />
        <field name="End_status" type="decimal" size="1" />
        <field name="Start_date" type="user" size="8" />
        <field name="End_date" type="user" size="8" />
      </structure>
      <interface name="asp">
        <method name="asp_wt_list" id="asp_wt_list" elb="ELB:ASPLIB" >
          <methodresult type="integer" size="4" />
          <param name="p_request_mode" type="integer" size="4" />
          <param name="asp_wt_filters" type="structure" structureName="Asp_wt_filters" />
          <param name="p_output_format" type="integer" size="4" />
          <param name="r_tracking_ref" type="alpha" size="7" dir="out" />
          <param name="r_desc_buffer" type="alpha" size="660" dir="out" />
          <param name="r_data_buffer" type="alpha" size="660" dir="out" />
          <param name="r_break_flag" type="integer" size="4" dir="out" />
          <param name="r_break_reason" type="alpha" size="100" dir="out" />
          <param name="r_no_fields" type="integer" size="4" required="no" dir="out" />
          <param name="r_field_positions" type="integer" size="4" dim="1" required="no" dir="out" />
          <param name="r_field_lengths" type="integer" size="4" dim="1" required="no" dir="out" />
        </method>
      </interface>
    </component>You can see it is a very primitive WSDL descriptor - it describes compound data types, and the methods in an interface.
    Could I use the SAAJ API to call that routine from the Java/web tier? The SAAJ API just looks like a simplified XML API, not much to do with SOAP, and SOAP looks like it just sends arbitrary XML documents inside the soap Body.
    How, in SAAJ, do I create a standard SOAP message to represent an invocation of that method?
    I plan to generate a Java proxy to implement the interface, but I need to know how to work SOAP with SAAJ, so then I can examine the generated XML, and parse it appropriately in a generated Synergy DBL skeleton at the server end.
    Another consideration, is that in the current "RPC", a sessoni is established between client and server, and state is preserved between calls. The above method returns data from a query line by line in subsequent calls. Obviously this needs some kind of routing servlet to handle ths incoming SOAP packet and maintain correlation between client, and a specific instance of a DBL Synergy SOAP server to which it redirects requests..
    If anyone can help with suggestions, tips, links, whatever I'd be very grateful. I'm finding this a bit of a steep learning curve - none of the online resources go into SOAP ni any meaningful way, it's all just a skim saying how it's a simple form of RPC. But I need to know how to drive it!

    Would it help if you are shown how a SAAJ client can contact a WSDL Webservice.
    >
    How, in SAAJ, do I create a standard SOAP
    message to represent an invocation of that method?Would it help if you are shown how a SAAJ client can contact a WSDL Webservice. You will have to download JWSDP 1.4 for that. And then i can provide more info on how to write the SAAJ client. Also look at JWSDP 1.4 Tutorial, it will give you a lot of useful information.
    Another consideration, is that in the current "RPC", a
    sessoni is established between client and server, and
    state is preserved between calls. The above method
    returns data from a query line by line in subsequent
    calls. Obviously this needs some kind of routing
    servlet to handle ths incoming SOAP packet and
    maintain correlation between client, and a specific
    instance of a DBL Synergy SOAP server to which it
    redirects requests..Have you read the SOAP version 1.2 Part 0: Primer document. It gives useful insights into how to do such things.
    http://www.w3.org/TR/soap12-part0/
    >
    If anyone can help with suggestions, tips, links,
    whatever I'd be very grateful. I'm finding this a bit
    of a steep learning curve - none of the online
    resources go into SOAP ni any meaningful way, it's all
    just a skim saying how it's a simple form of RPC. But
    I need to know how to drive it!The SOAP 1.2 primer also explains how SOAP is a simple form of RPC (very nicely).

Maybe you are looking for

  • DMEE payment reason

    For each foreign transaction (bank transfer) to overseas, it is required to indicate transaction classification and industry code for BOP declaration. Example: 121010 General trade 228050 Goods or services trading commissions and related services How

  • Question about ipad3 online

    i understand that the ipad 3 is not online for launch which is fine i dont need it anytime but is there any time table on when it will. i have online gift cards that can only be used online. with that being said does anyone know with the ipad 2 how l

  • How do you setup HTML signatures in Mountain Lion Mail?

    Hi, Any help with this issue will be very much appreciated. I have just updated to Mountain Lion, it seems to work ok aside from "Mail signatures". I am creating a new signature for my company and noticed that in Mountain Lion, mail creates a new sig

  • Why can't I use a gift card from other country?  :(

    My friend bought me a gift card and sent it to me. I try to activate it but it say "can use only in that country" That's  mean it not activate in Thailand. Then we try to do the other way....by sent that app as a gift. But still the same...because it

  • Can i material to learn XI from basics

    I am raghavesh and working as an ABAP consultant.. i want to swith to XI..and i need some material for larning XI from basics.. please do needfull and help me in getting some links... thank you... Raghavesh reddy