Question about "top-down" web services development

I tried to follow the Oracle "RPC literal top-down web services how-to" to develop a web service with a top-down approach but I have error when I try to compile with Ant the provided example.
This howto is located at: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/rpc-lit/index.html
The error I have is:
D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit>ant
Buildfile: build.xml
env-check:
check-oracle-home:
check-j2ee-home:
init:
sub-init:
gen-service:
[echo] Generating service artifacts
env-check:
check-oracle-home:
check-j2ee-home:
init:
wsa:
[java] java.util.zip.ZipException: The system cannot find the file specified
[java] at java.util.zip.ZipFile.open(Native Method)
[java] at java.util.zip.ZipFile.<init>(ZipFile.java:112)
[java] at java.util.jar.JarFile.<init>(JarFile.java:127)
[java] at java.util.jar.JarFile.<init>(JarFile.java:65)
[java] Exception in thread "main"
BUILD FAILED
D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\build.xml:21: The following error occurred while executing this line:
D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\config\common.xml:63: Java returned: 1
Total time: 1 second
When I look at the common.xml file which is used by the build.xml one I have a class like:
<pathelement location="${ws.lib.dir}/orasaaj.jar"/>
The problem is that I do not have this jar file on my disk and I can't find it on the net. Maybe it is one of the root cause of my build failed.
Does anyone experience this howto successfully and if someone can tell me where to find this jar file it would be great.
Thanks

I tried to follow the Oracle "RPC literal top-down web services how-to" to develop a web service with a top-down approach but I have error when I try to compile with Ant the provided example.
This howto is located at: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/rpc-lit/index.html
The error I have is:
D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit>ant
Buildfile: build.xml
env-check:
check-oracle-home:
check-j2ee-home:
init:
sub-init:
gen-service:
[echo] Generating service artifacts
env-check:
check-oracle-home:
check-j2ee-home:
init:
wsa:
[java] java.util.zip.ZipException: The system cannot find the file specified
[java] at java.util.zip.ZipFile.open(Native Method)
[java] at java.util.zip.ZipFile.<init>(ZipFile.java:112)
[java] at java.util.jar.JarFile.<init>(JarFile.java:127)
[java] at java.util.jar.JarFile.<init>(JarFile.java:65)
[java] Exception in thread "main"
BUILD FAILED
D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\build.xml:21: The following error occurred while executing this line:
D:\Franck\WebServices\prototype\projectAS10g\exemple\rpc-lit\config\common.xml:63: Java returned: 1
Total time: 1 second
When I look at the common.xml file which is used by the build.xml one I have a class like:
<pathelement location="${ws.lib.dir}/orasaaj.jar"/>
The problem is that I do not have this jar file on my disk and I can't find it on the net. Maybe it is one of the root cause of my build failed.
Does anyone experience this howto successfully and if someone can tell me where to find this jar file it would be great.
Thanks

Similar Messages

  • Question about document/literal web service

    Hello every body.
    I have some question about document/literal web service.
    I’ve been working with Axis before.
    Axis has four valid signatures for your message-style service methods:
    public Element [] method(Element [] bodies);
    public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
    public Document method(Document body);
    public void method(SOAPEnvelope req, SOAPEnvelope resp);
    The same I am trying to do with WebLogic API for webservices.
    But when I am trying to test web service (public Document method (Document body); )
    I have serialized exceptions for org.w3c.dom.Document.
    Do I have to write a custom class for org.w3c.dom.Document serialization?
    If yes can you give me some idea or example?
    The all idea behind this web service is. I have just one web service and mane classes for XML processing. Depends what xml document will be during runtime, web service will be using different class for xml processing. It works fine with Axis, but in case of WebLogic I have some problem.
    One more question… How I have to call this web service from java client?
    I have seen this example http://www.manojc.com/?sample31 ,
    but this web service looks like (Document helloDom()). I need to send Document.
    This example works for Dynamic Proxy, but does not work for static call.
    Any ideas?? Thank in advance.

    Hi,
    I am getting a similar issue. I created a Document-style/literal webservice and deployed on Weblogic 9.2 . Then I generated client stubs using clientgen. I get the following exception stack trace:
    java.rmi.RemoteException: web service invoke failed: javax.xml.soap.SOAPException:
    failed to serialize class java.lang.Objectweblogic.xml.schema.binding.SerializationException: type mapping lookup failure on
    class=class com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl TypeMapping=TYPEMAPPING SIZE=3
    ENTRY 1:
    class: java.lang.Object
    xsd_type: ['http://xmlns.ozarkexpress.com/business/sell']:stns:echoDocumentResponse
    ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@1125127
    deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@18dfef8
    ENTRY 2:
    class: java.lang.Object
    xsd_type: ['http://xmlns.ozarkexpress.com/business/sell']:stns:echoDocument
    ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@15e83f9
    deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@2a5330
    ENTRY 3:
    class: java.lang.Object
    xsd_type: ['http://www.w3.org/2001/XMLSchema']:xsd:anyType
    ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@bb7465
    deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@d6c16c

  • Top down Web Services using JMS

    Hi,
    I am trying to set up a JMS web service. I m attempting to follow "Oracle® Application Server Advanced Web Services Developer's Guide 10g (10.1.3.1.0) Part Number B28975-02" documentation.
    IDE: JDeveloper Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    I get the following error when I run the ant script:
    genwsjms:
    [genInterface] WARNING: Failed to locate wsa.jar file. This may be caused because required "COMMON_COMPONENTS_HOME" environment variable or ant property has not been set.
    [genInterface] WARNING: binding "{http://oracle/communications/platform/demo/webservices/rpc/secure/gen}DemoSecRpcPortTypeJMSBinding" is ignored because it has an invalid attribute: transport="http://www.oracle.com/technology/oracleas/wsdl/jms"
    [genInterface] WARNING: Service "DemoSecRpcService" does not contain any usable portsAnt script run is:
      <path id="taskdef.path">
        <pathelement path="${patch.classpath}"/>
        <pathelement location="${wls-home}/server/lib/weblogic.jar"/>
        <pathelement location="${wls-home}/server/lib/webservices.jar"/>
        <pathelement location="${wls-home}/server/lib/xbean.jar"/>
        <pathelement location="${wsa.dir}/wsa.jar"/>
      </path>
    <taskdef name="genInterface" classname="oracle.j2ee.ws.tools.wsa.cli.ant.GenInterface" classpathref="taskdef.path"/>
      <target name="genwsjms">
        <genInterface wsdl="${wsdl-location}" output="${code-gen-jar}" packagename="${server-pkg-name}" databinding="true" unwrapparameters="false"/>
      </target>build.properties has the wsa jar location defined as:
    wsa.dir=../../../../Oracle/Middleware/oracle_common/modules/oracle.webservices_11.1.1
    WSDL definition has:
    xmlns:jms="http://www.oracle.com/technology/oracleas/wsdl/jms"Binding is defined as:
        <binding name="DemoSecRpcPortTypeJMSBinding" type="tns:DemoSecRpcPortType">
            <soap:binding style="document" transport="http://www.oracle.com/technology/oracleas/wsdl/jms"/>
            <operation name="getPhoneList">
                <soap:operation soapAction="http://oracle/communications/platform/demo/webservices/rpc/secure/gen/getPhoneList"/>
                <input><soap:body use="literal" parts="lastName" namespace="http://oracle/communications/platform/demo/webservices/rpc/secure/gen"/></input>
                <output><soap:body use="literal" parts="phoneListOut" namespace="http://oracle/communications/platform/demo/webservices/rpc/secure/gen"/></output>
            </operation>
            <operation name="createPhoneRecord"><soap:operation soapAction="http://oracle/communications/platform/demo/webservices/rpc/secure/gen/createPhoneRecord"/>
                <input><soap:body use="literal" parts="createPhoneIn" namespace="http://oracle/communications/platform/demo/webservices/rpc/secure/gen"/></input>
                <output><soap:body use="literal" parts="createPhoneOut" namespace="http://oracle/communications/platform/demo/webservices/rpc/secure/gen"/></output>
            </operation>
        </binding>Service defined:
        <service name="DemoSecRpcService">
            <port name="DemoSecRpcJMSPort" binding="tns:DemoSecRpcPortTypeJMSBinding">
                <jms:address jndiConnectionFactoryName="jms/JMSTransportConnectionFactory"jndiDestinationName="jms://localhost:7101/transports/DemoSecRpcServiceJMS?URI=DemoQueueIn">
                    <jms:propertyValue name="endpoint-location" type="string" value="DemoSecRpcService"/>
                </jms:address>
            </port>
        </service>Please help me identify the issue with the WSDL defined and/or the build script.
    Thanks,
    Sajitha

    Thank you Shay ....
    I was running into the following issue when trying to use wsdlc
    <Apr 7, 2010 10:46:23 AM CDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "DemoSecRpcServiceServletjms" failed to preload on startup in Web application: "AppUIM-ProjUIM-context-root".
    java.lang.StringIndexOutOfBoundsException: String index out of range: -9
        at java.lang.String.substring(String.java:1937)
        at weblogic.wsee.server.jms.JmsDeploymentListener.jmsListenerDeploymentHelper(JmsDeploymentListener.java:164)
        at weblogic.wsee.server.jms.JmsDeploymentListener.process(JmsDeploymentListener.java:65)
        at weblogic.wsee.ws.init.WsDeploymentChain.process(WsDeploymentChain.java:42)Here are the steps that I followed.
    1. Created a WSDL
    2. ran the ant script: genws
    3. Edited the Implementation class to add the annotation: @WLJmsTransport(connectionFactory = "jms/JMSTransportConnectionFactory",
    contextPath = "DemoSecRpc", portName = "DemoSecRpcJMSPort",
    queue = "jms/DemoQueueIn", serviceUri = "DemoSecRpcJMSService")
    4. Edited the Implementation class to add the logic needed for the web service
    5. Removed the wsdlLocation variable(wsdlLocation="/wsdls/RISecRPC.wsdl") from the interface: DemoSecRpcPortType
    6. ran the ant script: build-service
    6. Defined Queue and Connection Factory through Admin console of the integrated weblogic server.
    Ant script
      <target name="genws">
        <wsdlc srcwsdl="${wsdl-location}" destjwsdir="${code-gen-jar}" destimpldir="./src"
               packagename="${server-pkg-name}" type="JAXRPC"></wsdlc>
        <unzip src="${code-gen-jar}/${wsdl_name}_wsdl.jar" dest="./src">
          <patternset><include name="**/*.java"/></patternset>
        </unzip>
      </target>
      <!-- ******************************************* -->
      <!-- Build the service with needed config files  -->
      <!-- ******************************************* -->
      <target name="build-service" description="Compiles the WebService App for HTTP transport">
        <mkdir dir="META-INF.tmp"/>
        <delete dir="${dest.dir}" includes="**/${SERVICE_NAME}*.war" quiet="true" verbose="true"/>
        <jwsc srcdir="${serverclass-dir}" destdir="${ear.dir}"
              applicationxml="META-INF.tmp/application.xml" keepgenerated="true"
              classpathref="taskdef.path" verbose="true">
          <jws name="${SERVICE_NAME}" file="/${PORT_NAME}Impl.java"
               compiledwsdl="${code-gen-jar}/${wsdl_name}_wsdl.jar" type="JAXRPC">
            <WLJMSTransport contextpath="/${SERVICE_NAME}" serviceuri="${JMS_SERVICE_URI}" portname="${JMS_PORT_NAME}" queue="${QUEUE_NAME}"/>
          </jws>
        </jwsc>
    <unwar src="${ear.dir}/${SERVICE_NAME}.war" dest="./public_html">
          <patternset>
            <include name="**/*.xml"/>
            <include name="**/*.wsdl"/>
          </patternset>
        </unwar>
        <unwar src="${ear.dir}/${SERVICE_NAME}.war" dest="./src">
          <patternset>
            <include name="**/*ImplPortType.java"/>
          </patternset>
        </unwar>
      </target>wsdl binding and service defined as:
        <binding name="DemoSecRpcPortTypeSOAP11JMSBinding" type="tns:DemoSecRpcPortType">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/jms"/>
            <operation name="getPhoneList">
                <soap:operation style="document"  soapAction="http://oracle/communications/platform/demo/webservices/rpc/secure/gen/getPhoneList"/>
                <input> <soap:body use="literal" parts="lastName"/> </input>
                <output> <soap:body use="literal" parts="phoneListOut"/> </output>
            </operation>
            <operation name="createPhoneRecord">
                <soap:operation style="document" soapAction="http://oracle/communications/platform/demo/webservices/rpc/secure/gen/createPhoneRecord"/>
                <input> <soap:body use="literal" parts="createPhoneIn"/>  </input>
                <output> <soap:body use="literal" parts="createPhoneOut"/>  </output>
            </operation>
        </binding>
        <service name="DemoSecRpcService">
            <port name="DemoSecRpcJMSPort" binding="tns:DemoSecRpcPortTypeSOAP11JMSBinding">
                <soap:address location="jms://localhost:7001/DemoSecRpc/DemoSecRpcJMSService?URI=jms/DemoQueueIn" />
            </port>
        </service>Thanks,
    Sajitha

  • Top-down web service approach with 10.1.2

    We are trying to develop a web service using the top-down approach (from WSDL to Java) in Oracle App Server 10.1.2. The how-to´s we have found use wsa.jar, but this jar is not available in 10.1.2 (it comes with 10.1.3)...
    Can the top-down approach be used in 10.1.2 ?
    How ?
    Thanks in advance
    Fer

    Hello,
    The OracleAS Web Service stack in 10.1.2 does not support the Top Down generation of Web services (generation of the WS from a WSDL).
    Can you move to 10.1.3, if not one migration path is the following, you do use Apache Axis in 10.1.2 to create topodown WS and when moving in 10.1.3 you will be migrating your Axis to the OracleAS Web Service 10.1.3 stack.
    Regards
    Tugdual Grall

  • Question about MBeans for web service metrics and configuration

    Hi,
    I'm new to JMX and trying to figure out how to create a MBean structure that captures a tree similar to the following for some web services I'm working on. All the operations will have the same set of metrics I'm collecting, so I'd like to reuse as much of the MBean structure as possible. In addition, the service will have various config parameters that need to be able to be modified during runtime via JMX. Below is an example of something similar to what I'd like to be able to do:
    user
    +-com.example.ws.CalculatorService
      +-Attributes
        +-ServiceName
        +-ServiceVersion
        +ServiceConfigParam1
        +ServiceConfigParam2
      +Operations
        +-SetServiceConfigParam1()
        +-SetServiceConfigParam2()
      +-AddOperationMethod
        +-Attributes
          +-RequestCounter
          +-ResponseCounter
        +-Operations
          +-ResetAllCounters()
          +-ResetRequestCounter()
          +-ResetResponseCounter()
      +-SubtractOperationMethod
        +Attributes
          +-RequestCounter
          +-ResponseCounter
        +-Operations
          +-ResetAllCounters()
          +-ResetRequestCounter()
          +-ResetResponseCounter()Where the counters are a variety of metrics to collect for each web service operation. Is there a standard/commonly accepted way to implement this? What type of MBean is best suited, standard, or do I need to use dynamic MBeans? Thank you for any pointers to useful references.
    /Paul Kuykendall

    I ended up finding the answer after more digging. The page [http://java.sun.com/developer/technicalArticles/J2SE/mxbeans|http://java.sun.com/developer/technicalArticles/J2SE/mxbeans] had a section about handling inter-MXBean references that turned out to be exactly what I was looking for.
    This reply is just to help anyone else that stumbles through with a similar problem to mine and point them in the right direction.
    /Paul

  • Question about Using PAPI Web Service in PowerBuilder 9

    Hi, all.
    I Have a simple question about using papiws in power builder 9.
    In pb9, I created a new Web Service Proxy Wizard and I input a url for papiws(ex. http://seraphpernote:7001/papiws/PapiWebService) and click next.
    But I couldn't get any Service List.
    In Eclipse, I used this url for using papiws well.
    Does anybody know about this case??
    help me plz.

    IIRC you must activate PAPI-WS for the engine. In Studio you do it by right-clicking on the project, then "engine preferences". In enterprise/standalone you must activate PAPI-WS in the Admin Center.

  • Basic questions about PL/SQL web services and datasource names

    Hi there,
    I successfully generated a web service for a PL/SQL packaged procedure in JDeveloper 11.1.1.3.0).
    In the web service base class the following code was generated:
    __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");However in the weblogic server the datasource name is jdbc/somethingelse so the deployment fails at first.
    What is the recommended procedure to solve this issue? The obvious solution is to manually edit the source -- that is what I did and it worked fine. However if I re-generate the web service I will lose my change. Is there a better way to do this?
    Another question -- in the generated web.xml file, there is a resource-ref for the datasource. I was hoping that changing the datasource name there would help but it didn't work. What is it used for in this context?
    Thanks
    Luis

    Hi Vishal,
    I did as you suggested but it didn't work... see below more details.
    Thanks
    Luis
    1 - I re-generated the web service from the PL/SQL package. The constructor in CFBTestWSBase class looks likes this:
    public CFBTestWSBase() throws SQLException
      {  try {
    javax.naming.InitialContext __initCtx = new javax.naming.InitialContext();
    __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/custfeedbackDS");
    } catch (Exception __jndie) {
    throw new java.sql.SQLException("Error looking up <java:comp/env/jdbc/custfeedbackDS>: " + __jndie.getMessage());
    }2 - I added the following section to weblogic.xml:
      <resource-description>
        <res-ref-name>comp/env/jdbc/custfeedbackDS</res-ref-name>
        <jndi-name>jdbc/DataSource</jndi-name>
      </resource-description>3 - I got the following error when during deployment to weblogic server:
    [HTTP:101216]Servlet: "CFBTestWSPort" failed to preload on startup in Web application: "CustFeedbackTestWS.war".
    java.sql.SQLException: Error looking up <java:comp/env/jdbc/custfeedbackDS>: While trying to look up comp/env/jdbc/custfeedbackDS in /app/webapp/CustFeedbackTestWS.war/346617503.
    at cfbtestws.CFBTestWSBase.<init>(CFBTestWSBase.java:33)
    at cfbtestws.CFBTestWSUser.<init>(CFBTestWSUser.java:11)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    ...

  • Question about configuring REST web service in EBS instance

    I am from EBS SCM team. From one wiki page, it says OA Framework provides REST framework to expose OAF BC4J objects as web services. Can you provide more details about how to configure REST web service for one EBS instance? Any related information is also helpful.
    Edited by: 936859 on Sep 7, 2012 5:45 PM

    IIRC you must activate PAPI-WS for the engine. In Studio you do it by right-clicking on the project, then "engine preferences". In enterprise/standalone you must activate PAPI-WS in the Admin Center.

  • Beginner's questions about WCF and web services

    For the purpose of this forum let me just say that I got my certs back in Dot Net 2.0.  I know how to write simple web services.  Now someone has dumped a huge package of code on my desk that (I think) contains a WCF project (without documentation
    of course).  Contains references to System.ServiceModel.
    So my questions...
    1.  What (if anything) is the difference between WCF and Web API?
    2.  If there is a difference,  how do you decide which one to use?
     3.  Assuming that this project on my desk is a WCF project, where can I find some hints on how to run it in VS2013 Community? 

    WEB API is restricted to ASP.NET and HTTP. 
    http://captechconsulting.com/blog/john-nein/aspnet-web-api-vs-windows-communication-foundation-wcf
    WCF uses more communication protocols than just HTTP, there are more ways to host a WCF service other than IIS, like a selfhosting exe type WCF server,   and WCF is a SOA solution.
    WCF is a more robust solution in a whole lot of ways is the bottom line.
    http://en.wikipedia.org/wiki/Service-oriented_architecture
    http://www.codeproject.com/Articles/515253/Service-Oriented-Architecture-and-WCF

  • Difference between Web Service Developer and Web Compononent Developer?

    What's the difference between Web services Developer and Web Component Developer? What's their job description. I'm aiming to be a web application developer. Which track should I follow?

    Here is another article on J2SE vs JEE:
    http://www.velocityrevies.com/forums/t151124-what-is-j2se-vs-j2ee.html
    I believe the people who said JSE is only for desktop development are not correct, as well as their saying their are 2 kinds of developer (web service and component).
    As I understand it, web service developers provide a way to expose the data and functionality of a program written in a particular language (such as Java or C#) as XML documents to anyone subscribing to the service over the internet. The remote applications subscribing to the service therefore can be written in any other language. For example, imagine a Cobol program trying to get data from a program written in Java. Since both cobol and Java should have ways to parse XML documents, they don't have to know each other's syntax. There are many programs written in many many languages in the web and XML is a standard way for them to communicate. Web Services are an advanced topic and you shouldn't worry about it until you master web applications and/or desktop applications.
    As I understand it, a web component developer creates java widgets that produce some visual image with basic functionality associated with it. For example, an html button. These widgets are used by other developers for the presentation layer when creating a web application or desktop application. I'm not sure about this definition since I never messed with web component development. I suggest you keep way from this specialized area on concentrate on web applications and/or desktop applications.
    You can consider application development as devided into two general categories. Web development and Desktop development (there are others). Web development is further broken down into browser based applications and mobile device applications. I suspect their are more jobs in web development than desktop development. I therefore suggest you concentrate on browder based web development (just my opinion). However, each has their advantages and disadvantages over each other, depending on the task at hand(http://stackoverflow.com/questions/905365/desktop-development-versus-web-development)
    Disclaimer:
    http://myweb.accessus.net/~090/univdisc.html

  • Web services Development

    A general question for the group (sorry if this is off-topic, if there's a better
    forum for this type of Q let me know).
    I'm a web services and web app developer who is new to BEA. In the past I've used
    toolkits like Axis for web services and I've always preferred this approach. It
    seems to me that using BEA I can develop Web Services in one of two ways. The
    'low-level' way where I could use the command line tools (or ant) to create, deploy
    and manage the code, or I could use WLW and the nice attribute driven approach.
    It strikes me (on first blush) that these techniques are not compatible, so if
    I choose one I have to stick with that, and I shouldn't (can't) mix and match
    the two.
    As a relative newcomer to this community which one should I choose?
    Which are people out there using?
    Can the approaches me mixed?
    What implications does using one or the other have in terms of deployment and
    the type of WLS I have installed?
    Again sorry if this is off topic, or an RTFM. If either of these is the case pointers
    to the FM would be appreciated.
    Thanks,
    Kevin Jones

    I think if you are looking for training in "BEA web services" then do
    it the WLW way.
    However, if you think your web service may be deployed to a non-BEA
    app server, then pick up the standards.
    This is true for regular web apps using struts vs. WLW's 'netui'
    and JSR 162 vs. WLW Portals as well.
    Kevin Jones wrote:
    Thanks Michael,
    anybody else have any comments?
    For example if you were looking for training in BEA web services would you expect
    it to be WLW or 'command line' based?
    Kevin
    "Michael Wooten" <[email protected]> wrote:
    Hi Kevin,
    The two web services development approaches are for two different audiences,
    so
    it's up to you to select which is more to your liking :-)
    Developers who are familiar with the Apache Axis Web Services Platform,
    will find
    lots of similarities in the Ant-scrpt based approach that the WLS 8.1
    Web Services
    Platform uses. This would also be the environment for those that really
    like to
    see that their code uses classes from a standard, like JAX-RPC or SAAJ.
    Workshop is really targeted at developers who are less interested in
    the mechanics
    of Web service construction, and more interested in what they want the
    web service
    to do. It offers developers with this mindset, almost complete isolation
    from
    the technologies associated with web service development (i.e. SOAP,
    WSDL, XML,
    etc.), while still producing a deployable web service that can interoperate
    with
    web services created by other Web Service stacks.
    Again, both of these approaches have healthy developer audiences, so
    I see no
    real reason to promote one over the other. Personally, I think it makes
    sense
    to become adept at both.
    All in all, I'd have to say that Workshop makes better use of the developer's
    time :-)
    Regards,
    Mike Wooten
    "Kevin Jones" <[email protected]> wrote:
    A general question for the group (sorry if this is off-topic, if there's
    a better
    forum for this type of Q let me know).
    I'm a web services and web app developer who is new to BEA. In the past
    I've used
    toolkits like Axis for web services and I've always preferred this approach.
    It
    seems to me that using BEA I can develop Web Services in one of twoways.
    The
    'low-level' way where I could use the command line tools (or ant) to
    create, deploy
    and manage the code, or I could use WLW and the nice attribute driven
    approach.
    It strikes me (on first blush) that these techniques are not compatible,
    so if
    I choose one I have to stick with that, and I shouldn't (can't) mixand
    match
    the two.
    As a relative newcomer to this community which one should I choose?
    Which are people out there using?
    Can the approaches me mixed?
    What implications does using one or the other have in terms of deployment
    and
    the type of WLS I have installed?
    Again sorry if this is off topic, or an RTFM. If either of these isthe
    case pointers
    to the FM would be appreciated.
    Thanks,
    Kevin Jones

  • Java Web Services Developer Pack, where is jwsdp.home defined?

    Hi.
    I am trying out the Web Services Developer Pack, and so far so good, a really nice package of tools, tutorials and examples.
    But there is one thing I do not understand regarding the Ant scripts for building the various examples.
    In most of the scripts, the ${jwsdp.home} is used, but where is it defined? I have looked everywhere, and the only place where I have seen it defined, is in the server.xml file that is used by Tomcat. And it seems somewhat strange that Ant should be dependant on Tomcat on this particular issue, so surely that cannot be it.
    It may seem like a unimportant question, but it is not, as I am purely beginning to use Ant, and need this information for when I'll begin writing my own scripts. Sure, I could just hardcode my app home path into the scripts, but that would be a ugly hack.
    Thanks in advance
    /Gabriel

    In the path c:\jwsdp-1.1\conf of my installation, the file server.xml includes this code:
        <!-- Absolute Pathname of the JWSDP Installation -->
        <Environment
                  name="jwsdp.home"
           description="Absolute Pathname of the JWSDP Installation"
                  type="java.lang.String"
                 value="C:\jwsdp-1.1"/>.. is that what are you looking for, is'n it?

  • Java Web Services Developer Pack 1.5 and SOAP?

    Hi all,
    I'm trying to figure out what, if any, support does Java Web Services Developer Pack 1.5 have for parsing and dealing with SOAP messages. I couldn't find any documentation or info in the tutorial about it, but founds some packages through JavaDoc that seem to deal with SOAP. Does anyone know what the deal is? Do you use this toolkit for SOAP, maybe even WS-security?
    Thanks for any pointers!
    Olia

    You can use JWSDP 1.3 but the minimum requirement form that toolkit is JDK 1.4. So you need to download the JDK 1.4 from http:/java.sun.com and install it first and after that you can install that JWSDP 1.3. Good Luck.

  • Java Web Services Developer Pack v1.2

    I recently installed J2SE v1.4.2 Beta on my computer and it works fine with the platform, which is Windows XP Home Edition.
    Now, I like to learn Java Servlet Technology and had searched through the downloads pages. I found Java Web Services Developer Pack v1.2. But I have doubt about this: Is there any problem to run Java Web Services Developer Pack on Windows XP HOME Edition? I learnt that Sun engineers had it tested on Windows XP Professional Edition.
    I will appreciate any comments and opinions. Thanks in advance!

    doesn't mean it won't work on home edition. just means that they probably think anyone who might want to use J2WSDP will prob have Pro...

  • Java Web Services Developer Pack (Java WSDP)

    Anybody tried Java Web Services Developer Pack 1.6 ?
    http://java.sun.com/webservices/jwsdp/index.jsp
    Was it simple and easy to consume external web services using this tool ?
    http://java.sun.com/webservices/jwsdp/index.jsp

    FYI,
    JWSDP 2.0 is now available.
    Also, if you want to consume web services try using JAX-WS. It will be part of the next Java SE release (mustang). You can learn more about JAX-WS at http://jax-ws.dev.java.net.

Maybe you are looking for

  • Setting database information to be used during CR refresh

    Hi all, I am creating a crystal report which has 3 parameters. Two of them are date range parameters and are added to the SQL in the command window (created 2 parameters for them in the command window). The third parameter is a cascading list of valu

  • Call/SMS filter

    Hi Is there any sofftware for the N900 which hides calls or sms into a private area? Whitelists etc... like mcleaner?

  • Splitting a Idoc message without BPM

    Hi , I have seen several posts on this topic splitting Messages with/without BPM. But I think I did not get the currect answer so far. Here is my scenario: We are using PI/XI 7.0 Sp 09, Idoc-XI-WM (third-party WMS systems) SAP(Idoc) - > XI (httpa dap

  • Clean Way To Prevent Signature Collision Of Mounting VHDX In Parallel PowerShell Scripting

    I have multiple Virtual Machines I am to build from a Sysprepped VHDX. (All this is done automatically via Powershell) For each of these Virtual Machines, I copy this VHDX and create a new one unique to the Virtual Machine. However, I wish to mount e

  • NAT destination IP address

    I have this toplogy: A ------ ASA -------- B A's real IP is 1.1.1.1 B's real IP is 2.2.2.2 B's mapped IP is 3.3.3.3 How do I NAT it so that when A tries to connect to 3.3.3.3, the destination is translated to 2.2.2.2.  But at the same time, when B co