Need Suggestion to build a simple web service demo

I'm planning to build a demo using java packages JAX* for my team using my workstation and another standalone box.
I got a Sun One Web Services Platform DVD from JavaOne, but it only support Win200 or XP, too bad our company still using Win NT SP6.
I only need a very simple web service that will bring data from server DB. I knew I can download the JWSDP1.2, but there is no tutorial right now. And I have tried JWSDP1.1 but not really understand what it is doing(because only Hello world service is working). I need to do some modification to change the default server port from 80 to 81, and I need to modified localhost to [my-machine-name] so that the other machine can talk to the JWSDP server.
My question is how can I build up a web service demo really easy and quick and what tool should I used, any suggestion will be appreciated! Thanks in advance!
Henry

1. Use XML Spy Enterprise edition editor.
2. Goto www.xmethods.com, select service you want to create demo of.
3. Get its WSDL url.
4. In XML Spy SOAP menu there is a command 'create new soap request'. Press that, enter the WSDL url. You will get a SOAP request.
5. Edit SOAP request parameters. Type parameters of your choice.
6. Press 'send request to server'. You will get SOAP response. It will contain result from the requested method.
7. Paste that response inside a JSP.
8. Write a local method which will return same response (remote method's return value) that came from remote web service.
9. Paste that method inside abovementioned JSP. Replace static response in that JSP with the response generated by local method. The method parameters will come from client's SOAP request. Parse SOAP request to get request parameters. (As it's your demo, you know the data types of the parameters).
10. Host that JSP on any Servlet/JSP engine.
That makes your Web Service.
You can use any package like Aapche SOAP, AXIS or JAX-RPC to generate a SOAP client. Use the URL of JSP(step 10) as "endpoint".
Note: Indside JSP make sure that there in no endline and carriage return character. Otherwise it won't be a valid SOAP response.
Good luck.

Similar Messages

  • What are all the files need to be created for Simple Web service

    Hi All,
    Please let me know the required files need to be coded for exposing any method as web service in the application.
    Thanks,
    Siva

    Go through [Getting Started with JAX-WS Web Services|http://www.netbeans.org/kb/docs/websvc/jax-ws.html].

  • SAP Sybase ESP - Error: Invalid URI at Example: Using a Simple Web Services (SOAP) Input Adapter

    Hello all,
    we need our help regarding the StockTrader example project that is delivered with SAP Sybase Event Stream Processor (Sybase ESP 5.1).
    we want to build a simple Web Service and follow the instructions as described in the Sybase Infocenter. We have attached a screenshot ("Sybase InfoCenter") that contains the described steps (as copying the URL always lead to a wrong page).
    We have problems with Step 10 ("Start the ESP project by running the start_project.bat or start_project.sh script."). We get the error message "Invalid URI" as you can see in screenshot "[error] Invalid Uri". Previously we started the "start_node.bat" (Step 9) - see also screenshot "[error] Invalid Uri".
    Like in steps 6 and 7 mentioned, we have changed the parameters "USER" and "PASSWORD" of the adapter_config.xml files and the parameters "ADAPTER_EXAMPLE_USERNAME"and "ADAPTER_EXAMPLE_PASSWORD" of the
    set_example_env.bat files. Here, we were a bit confused wether we should change these parameters in all those files as there are 4 adapter_config.xml and 4 set_example_env.bat files. Please refer to the attached screenshot ("changed files").
    Does anyone know why this error occurs and how to continue to complete the Web Service?
    Later we want to push data with this Web Service into a SAP HANA database table.
    We are thankful for any input and help.
    Regards, Andreas

    Hello Neal,
    thanks a lot for your help.
    The solution for us was to change the column names inside Sybase ESP Studio to the column names in StockTraderMappings.xml.
    After compiling and running the project we could see the data and were also able to push it to SAP HANA.
    This is the CCL Code that worked for us:
    CREATE SCHEMA tradesSchema (
        transaction_buyerId INTEGER,
        transaction_sellerId INTEGER,
        transaction_supervisorIds INTEGER,
        transaction_tradeTime LONG,
        transaction_trades_amount INTEGER,
        transaction_trades_price FLOAT,
        transaction_trades_symbol STRING
    CREATE INPUT STREAM tradesIn SCHEMA tradesSchema;
    CREATE OUTPUT STREAM tradesOut SCHEMA tradesSchema
         AS  SELECT * FROM tradesIn;
    * mapFilePath is currently ignored and must be set via the mappingFile configuration parameter
    * in the given adapter configuration file (configFilePath).
    ATTACH INPUT ADAPTER Web_Services_SOAP_Input_Adapter TYPE soapinput TO tradesIn PROPERTIES configFilePath =
    'C:/Sybase/ESP-5_1/adapters/webservices/examples/input/adapter_config.xml' ,
    mapFilePath = 'C:/Sybase/ESP-5_1/adapters/webservices/examples/input/stockTraderMappings.xml' ,
    jdkHome = 'C:/Software/Java/jdk' ,
    discoveryWsdl = 'http://localhost:8080/axis2/services/StockTraderService?wsdl' ,
    discoveryWorkingDir = 'C:/tmp/adapter/soap' ,
    discoveryServiceName = 'StockTraderService' ;
    Regards, Andreas and Maik

  • How to build, package & deploy web services manually without ant on JWSDP

    Hello,
    How can I Build, Package & Deploy web services manually without using ant tool on JWSDP 1.3?.
    Because I am having difficulties in using ant tool for my own webservices. ant is very tightly coupled with the directory hierarchy & configuration files (as I go throught the examples of JWSDP1.3). Also I need to learn the overall process going on behind the scene.
    I have to teach the simplest required steps to build, package & deploy any webservice to any container independent of application server & OS without using ant tool. It would also help me to understand which items are required as specified in the Web Services Specifications & which one are implementation or platform specific.
    Any help would be greatly appreciated.
    Thanks,
    Iftikhar.

    Just follow the step of the JWSDP1.3 tutorial..

  • Another simple web service w/ database

    hi all, can anyone tell me where i can find another simple web services( w/ database) article just like http://java.sun.com/developer/technicalArticles/WebServices/getstartjaxrpc/
    Thanks

    hi all, can anyone tell me where i can find another
    simple web services( w/ database) article just like
    http://java.sun.com/developer/technicalArticles/WebSer
    vices/getstartjaxrpc/
    ThanksThis tutorial covers Oracle and Apache Axis:
    http://www.orindasoft.com/public/axisdemotwo.php4
    David Rolfe

  • Make simple web service

    Hi all, I'd like to make simple web service. I made a desktop (swing) application, which requires access to database. The database is not accessible from outside of the server.
    But I have web application on this server, so I can create a servlet (or jsp), which could operate as web service. Afterwards I can create a connection in my desktop application directed to this service page. The page downloads required data and grants them for my desktop application.
    But I don't know the way I could do it. Can you help me please? Thank you :-).

    Hi again, after several days, I'm back. It seems to be very good solution for me, but I have a problem. I can't catch it :-(. I've read the manual pages maybe twenty-times and I've looked for another tutorials and so on. Nothing helped. I don't know, how I can run it :-(. I create following:
    My web.xml:<web-app version="2.4"
               xmlns="http://java.sun.com/xml/ns/j2ee"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
               http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <servlet>
              <servlet-name>EOTService</servlet-name>
              <servlet-class>services.EOTService</servlet-class>
              <init-param>
                   <param-name>enabledForExtensions</param-name>
                   <param-value>true</param-value>
                   <description>Sets, whether the servlet supports vendor extensions for XML-RPC.</description>
              </init-param>
         </servlet>
         <servlet-mapping>
              <servlet-name>EOTService</servlet-name>
              <url-pattern>/service</url-pattern>
         </servlet-mapping>
    </web-app>In package services I have two .java files. The first one, Calculator.java:package services;
    public class Calculator {
         public int add(int a, int b) {
              return a + b;
         public int sub(int a, int b) {
              return a - b;
    }and the second one, EOTService.java:package services;
    import org.apache.xmlrpc.*;
    import org.apache.xmlrpc.common.*;
    import org.apache.xmlrpc.server.*;
    import org.apache.xmlrpc.webserver.*;
    public class EOTService extends XmlRpcServlet {
         private boolean isAuthenticated(String pUserName, String pPassword) {
              return pUserName.equals("username") && pPassword.equals("password");
         protected XmlRpcHandlerMapping newXmlRpcHandlerMapping() throws XmlRpcException {
              PropertyHandlerMapping mapping = (PropertyHandlerMapping) super.newXmlRpcHandlerMapping();
              AbstractReflectiveHandlerMapping.AuthenticationHandler handler =
                   new AbstractReflectiveHandlerMapping.AuthenticationHandler() {
                        public boolean isAuthorized(XmlRpcRequest pRequest) {
                             XmlRpcHttpRequestConfig config = (XmlRpcHttpRequestConfig) pRequest.getConfig();
                             return isAuthenticated(config.getBasicUserName(), config.getBasicPassword());
              mapping.setAuthenticationHandler(handler);
              try {
                   mapping.addHandler("Calculator", Class.forName("services.Calculator"));
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
              return mapping;
    }In the myapp/WEB-INF/lib I have these files:xmlrpc-common-3.1.3.jar
    xmlrpc-server-3.1.3.jarAnd now, I'd like to connect to this servlet and download data. So I have another application and in main method of the application I call this:public static void main(String[] args) {
    try {
                XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
                config.setServerURL(new URL("http://127.0.0.1:8080/service"));
                XmlRpcClient client = new XmlRpcClient();
                client.setConfig(config);
                Object[] params = new Object[]{new Integer(33), new Integer(9)};
                Integer result = (Integer)client.execute("Calculator.add", params);
                System.out.println("33 + 9 = " + result);
            } catch (java.net.MalformedURLException e) {
                System.out.println(e.getMessage());
            } catch (org.apache.xmlrpc.XmlRpcException e) {
                e.printStackTrace(System.out);
    }But following exception is thrownException in thread "main" java.lang.NoClassDefFoundError: org/apache/ws/commons/serialize/DOMSerializer
            at org.apache.xmlrpc.serializer.NodeSerializer.<clinit>(NodeSerializer.java:30)
            at org.apache.xmlrpc.common.TypeFactoryImpl.<clinit>(TypeFactoryImpl.java:88)
            at org.apache.xmlrpc.common.XmlRpcController.<init>(XmlRpcController.java:31)
            at org.apache.xmlrpc.client.XmlRpcClient.<init>(XmlRpcClient.java:51)
            at main.Main.main(Main.java:51)
    Caused by: java.lang.ClassNotFoundException: org.apache.ws.commons.serialize.DOMSerializer
            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
            ... 5 moreI'm trying to implement it for five days and my failure is very stressful. Help me please... please :-[.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • BPEL Process Manager says that My Simple Web Service returns null !

    Hi every body,
    I am deploying a process which invokes a simple web service (TheaterWS) running on Tomcat.This service simply accepts a string input and returns it concatenated with other string . I tested it with a client that I made with JDeveloper, every thing is O.K, But after deploying the process to a BPEL server, I got the following Assign Activity error on BPEL Console:
    ( Error in <assign> expression: <from>-Value is empty in row "43".The part "return" is Null, as shown in the following snippet:
    <Invoke_Theater_getBooked_OUT>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="return">null</part>
    </Invoke_Theater_getBooked_OUT>
    Here is my files:
    The TheaterBP.bpel
    <process name="TheaterBP" targetNamespace="http://xmlns.oracle.com/TheaterBP" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns:client="http://xmlns.oracle.com/TheaterBP" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="client:TheaterBP" myRole="TheaterBPProvider" partnerRole="TheaterBPRequester"/>
    <partnerLink name="TheaterPartnerLink" partnerRole="TheaterWS_Role" partnerLinkType="ns2:TheaterWS_PL"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable" messageType="client:TheaterBPRequestMessage"/>
    <variable name="outputVariable" messageType="client:TheaterBPResponseMessage"/>
    <variable name="Invoke_Theater_getBooked_IN" messageType="ns2:getBookedRequest"/>
    <variable name="Invoke_Theater_getBooked_OUT" messageType="ns2:getBookedResponse"/>
    </variables>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="client" portType="client:TheaterBP" operation="initiate" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload" query="/client:TheaterBPProcessRequest/client:input"/>
    <to variable="Invoke_Theater_getBooked_IN" part="a"/>
    </copy>
    </assign>
    <invoke name="Invoke_Theater" partnerLink="TheaterPartnerLink" portType="ns2:TheaterWS" operation="getBooked" inputVariable="Invoke_Theater_getBooked_IN" outputVariable="Invoke_Theater_getBooked_OUT"/>
    <assign name="Assign_2">
    <copy>
    <from variable="Invoke_Theater_getBooked_OUT" part="return"/>
    <to variable="outputVariable" part="payload" query="/client:TheaterBPProcessResponse/client:result"/>
    </copy>
    </assign>
    <invoke name="callbackClient" partnerLink="client" portType="client:TheaterBPCallback" operation="onResult" inputVariable="outputVariable"/>
    </sequence>
    </process>
    </definitions>
    The TheaterPartenerLink1.wsdl
    targetNamespace="http://139.25.6.39:8080/axis/TheaterWS.jws"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:intf="http://139.25.6.39:8080/axis/TheaterWS.jws"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" location="http://139.25.6.39:8080/axis/TheaterWS.jws?wsdl"/>
    <plnk:partnerLinkType name="TheaterWS_PL">
    <plnk:role name="TheaterWS_Role">
    <plnk:portType name="intf:TheaterWS"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    and here is the TheaterWS.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="http://139.25.6.39:8080/axis/TheaterWS.jws-impl" xmlns:intf="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:message name="getBookedResponse">
    <wsdl:part name="return" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="getBookedRequest">
    <wsdl:part name="a" type="xsd:string"/>
    </wsdl:message>
    <wsdl:portType name="TheaterWS">
    <wsdl:operation name="getBooked" parameterOrder="a">
    <wsdl:input message="intf:getBookedRequest"/>
    <wsdl:output message="intf:getBookedResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TheaterWSSoapBinding" type="intf:TheaterWS">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getBooked">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input>
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" use="encoded"/>
    </wsdl:input>
    <wsdl:output>
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TheaterWSService">
    <wsdl:port binding="intf:TheaterWSSoapBinding" name="TheaterWS">
    <wsdlsoap:address location="http://139.25.6.39:8080/axis/TheaterWS.jws"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    I apprecitae any hints,

    Hi every body,
    I am deploying a process which invokes a simple web service (TheaterWS) running on Tomcat.This service simply accepts a string input and returns it concatenated with other string . I tested it with a client that I made with JDeveloper, every thing is O.K, But after deploying the process to a BPEL server, I got the following Assign Activity error on BPEL Console:
    ( Error in <assign> expression: <from>-Value is empty in row "43".The part "return" is Null, as shown in the following snippet:
    <Invoke_Theater_getBooked_OUT>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="return">null</part>
    </Invoke_Theater_getBooked_OUT>
    Here is my files:
    The TheaterBP.bpel
    <process name="TheaterBP" targetNamespace="http://xmlns.oracle.com/TheaterBP" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns:client="http://xmlns.oracle.com/TheaterBP" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="client:TheaterBP" myRole="TheaterBPProvider" partnerRole="TheaterBPRequester"/>
    <partnerLink name="TheaterPartnerLink" partnerRole="TheaterWS_Role" partnerLinkType="ns2:TheaterWS_PL"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable" messageType="client:TheaterBPRequestMessage"/>
    <variable name="outputVariable" messageType="client:TheaterBPResponseMessage"/>
    <variable name="Invoke_Theater_getBooked_IN" messageType="ns2:getBookedRequest"/>
    <variable name="Invoke_Theater_getBooked_OUT" messageType="ns2:getBookedResponse"/>
    </variables>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="client" portType="client:TheaterBP" operation="initiate" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload" query="/client:TheaterBPProcessRequest/client:input"/>
    <to variable="Invoke_Theater_getBooked_IN" part="a"/>
    </copy>
    </assign>
    <invoke name="Invoke_Theater" partnerLink="TheaterPartnerLink" portType="ns2:TheaterWS" operation="getBooked" inputVariable="Invoke_Theater_getBooked_IN" outputVariable="Invoke_Theater_getBooked_OUT"/>
    <assign name="Assign_2">
    <copy>
    <from variable="Invoke_Theater_getBooked_OUT" part="return"/>
    <to variable="outputVariable" part="payload" query="/client:TheaterBPProcessResponse/client:result"/>
    </copy>
    </assign>
    <invoke name="callbackClient" partnerLink="client" portType="client:TheaterBPCallback" operation="onResult" inputVariable="outputVariable"/>
    </sequence>
    </process>
    </definitions>
    The TheaterPartenerLink1.wsdl
    targetNamespace="http://139.25.6.39:8080/axis/TheaterWS.jws"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:intf="http://139.25.6.39:8080/axis/TheaterWS.jws"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" location="http://139.25.6.39:8080/axis/TheaterWS.jws?wsdl"/>
    <plnk:partnerLinkType name="TheaterWS_PL">
    <plnk:role name="TheaterWS_Role">
    <plnk:portType name="intf:TheaterWS"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    and here is the TheaterWS.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="http://139.25.6.39:8080/axis/TheaterWS.jws-impl" xmlns:intf="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:message name="getBookedResponse">
    <wsdl:part name="return" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="getBookedRequest">
    <wsdl:part name="a" type="xsd:string"/>
    </wsdl:message>
    <wsdl:portType name="TheaterWS">
    <wsdl:operation name="getBooked" parameterOrder="a">
    <wsdl:input message="intf:getBookedRequest"/>
    <wsdl:output message="intf:getBookedResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TheaterWSSoapBinding" type="intf:TheaterWS">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getBooked">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input>
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" use="encoded"/>
    </wsdl:input>
    <wsdl:output>
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TheaterWSService">
    <wsdl:port binding="intf:TheaterWSSoapBinding" name="TheaterWS">
    <wsdlsoap:address location="http://139.25.6.39:8080/axis/TheaterWS.jws"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    I apprecitae any hints,

  • Web Services demo - Webpage cannot be displayed

    Hello,
    I would like to run the example webpages in the Web Services demo project (http://ftp.ni.com/pub/devzone/tut/webservicedemo.z​ip), but none of the three pages can be displayed in internet explorer.
    I have completed every step in the included Readme document, no problem occured when building and deploying the two examples. Also the System Webserver and Applications Webserver are enabled.
    Please can anyone help me solve this issue?
    Thanks in advance!
    Regards,
    Marco

    Hi,
    For those who ecountered the same problem: I figured it out how to fix it:
    Try to add the port number of your Application webserver next to localhost in the URL. Like http://localhost:8080/Math/Sum/1/3.

  • Error running the PL/SQL consuming web services  demo

    I downloaded and installed the PL/SQL code from:
    http://technet.oracle.com/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html
    on Oracle 9i version 2 (on both Windows and Solaris) which can be used to consume simple web services. However, I got the following error running the local time demo:
    select time_service.GET_LOCAL_TIME('19104') from dualORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at "XN.DEMO_SOAP", line 84
    ORA-06512: at "XN.TIME_SERVICE", line 13
    It appears to occur upon doing this:
    resp.doc.getstringval()
    It seems to mean eith resp or resp.doc is null. BTW, the following:
    select utl_http.request('www.oracle.com') from dual
    works fine, so does the web service URL. Please
    help me get this work!
    Thanks a lot!

    I downloaded and installed the PL/SQL code from:
    http://technet.oracle.com/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html
    on Oracle 9i version 2 (on both Windows and Solaris) which can be used to consume simple web services. However, I got the following error running the local time demo:
    select time_service.GET_LOCAL_TIME('19104') from dualORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at "XN.DEMO_SOAP", line 84
    ORA-06512: at "XN.TIME_SERVICE", line 13
    It appears to occur upon doing this:
    resp.doc.getstringval()
    It seems to mean eith resp or resp.doc is null. BTW, the following:
    select utl_http.request('www.oracle.com') from dual
    works fine, so does the web service URL. Please
    help me get this work!
    Thanks a lot!

  • Web Services Demo (OTNMobileWrapper) not works

    I tested in my own database environment and also at my account on htmldb.oracle.com.
    - Wheather service works fine
    - Amazon works fine
    - OTNMobileWrapper did not
    I believe the URL and the Action are wrong!
    (the Urls in Wheather and Amazon I can call in the browser directly, the Url from OTNMobileWrapper was not found).

    yeah, i see what you mean regarding that "OTN Message Service" option in our web services demo. further inspection by a teammate reveals that more than a few of these OTN Live Web Services appear to not be working. i'm currently checking around to see what the deal is with that, but from an html db perspective, though, you should already know what you need to know: it is possible to call web services from within your html db applications. this particular one in our example appears to currently be unavailable (if you do feel it's our "URL and action", btw, please do send that info to [email protected]), but calls to the more stable ones like amazon, for instance, always work.
    hope this helps,
    raj

  • Error when running P6 web services Demo

    Hi All,
    I am trying to run P6 web services demo application, p6 web services server is running, however I get this error when running the demo application:
    org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
    Appreciate if someone can help me to resolve it.
    Thanks in advance

    If you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.

  • OC4J Web Service Demo

    I am in the process of evaluating 9ias' web service support.
    I downloaded 9ias (developer's preview oc4j_extended.zip - 19MB). Installation was smooth and I was able to get it up running.
    However, I couldn't find any web service example from the welcome page (there are only 2 category of test samples: JSP and Servlets). So I looked into the folders and found out the web service demos in $ORA\j2ee\home\demo\web_services\java_services.
    I got an error when deployed the web service archive file by running step 3 in readme.txt -
    Error: javax.naming.NamingException: Lookup error: java.io.EOFException: Disconnected; nested except
    ion is:
    java.io.EOFException: Disconnected
    Please advise.
    Thanks
    Bob Sheng

    Try using rmi default port number:23798
    Ex.: java -jar admin.jar ormi://localhost_09:23791...
    Leonardo Antunes
    Brasil.

  • Web Service Demo at JavaOne

    Is there any chance that the Web Service Demo to be shown at JavaOne be
    available for download? I'm interested in looking under the covers of how
    the applet communicates with the WebLogic server using xmlp/soap or
    apache-soap.
    Thanks,
    Frank

    Looks like its available from 3rd june.
    http://developer.bea.com/techtracks/xml/index.jsp
    Frank Chum wrote:
    Is there any chance that the Web Service Demo to be shown at JavaOne be
    available for download? I'm interested in looking under the covers of how
    the applet communicates with the WebLogic server using xmlp/soap or
    apache-soap.
    Thanks,
    Frank

  • Simple Web Service

    Hi people,
    I am fairly new to labview and having not been on any training as of yet am somewhat a fish out of water once things get a little more complex.
    All I am trying to do is send a value to a SOAP web service and then show the web services response in a textbox. It doesn't seem overly complex but I must be getting something wrong as its not working (good reasoning eh?).  Ive tried this using the "Import Web Service" under tools.  Imports fine etc but once it comes to adding a control and running the program I fairly rapidly get a 1172 error message which seems somewhat generic.
    Am I asking a lot of labview here?
    Cheers in advance for any help/advice
    Rik
    That glass?
    Thats glass is neither half full or half empty....
    Its twice the size it needs to be
    Solved!
    Go to Solution.

    Well go figure...
    I left after posting here and struggling along.  Then I stumbled onto this site:
    http://stackoverflow.com/questions/1522782/net-obj​ects-in-labview
    I then used the import web service feature as before and voila! A working web service
    Now I just have to figure why the one my boss has written isn't working the same way...
    Im free to answer any questions (keep them simple for now please!!!) also any hints and tips are still appreciated ofcourse.
    If I have any new developments I will update as necessary
    That glass?
    Thats glass is neither half full or half empty....
    Its twice the size it needs to be

  • Getting an error while building a sample web service

    Hi,
    I am beginner in web services and started working on a sample application in a web service tutorial.
    Build is failing in build.xml file while building sample web service using ant tool.
    antBuildfile: build.xml
    clean:
    setup:
    [mkdir] Created dir: /tmp/output/WEB-INF/classes
    [mkdir] Created dir: /tmp/client_classes
    compile.server:
    [javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
    webservice.build:
    webss.build:
    BUILD FAILED
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    Can anyone look into this and let me know if you have any idea on this?
    Thanks,
    SRoop.
    Edited by: SRoop on Jun 20, 2008 9:11 AM
    Edited by: SRoop on Jun 20, 2008 9:14 AM
    Edited by: SRoop on Jun 21, 2008 5:51 AM

    Hi,
    I am beginner in web services and started working on a sample application in a web service tutorial.
    Build is failing in build.xml file while building sample web service using ant tool.
    antBuildfile: build.xml
    clean:
    setup:
    [mkdir] Created dir: /tmp/output/WEB-INF/classes
    [mkdir] Created dir: /tmp/client_classes
    compile.server:
    [javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
    webservice.build:
    webss.build:
    BUILD FAILED
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
    Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    Can anyone look into this and let me know if you have any idea on this?
    Thanks,
    SRoop.
    Edited by: SRoop on Jun 20, 2008 9:11 AM
    Edited by: SRoop on Jun 20, 2008 9:14 AM
    Edited by: SRoop on Jun 21, 2008 5:51 AM

Maybe you are looking for

  • External hard drive not visible on macbook

    Hi all I am brand new to the mac from windows, so far so good! However I have an external hard drive that I want to plug into my mac and back up onto. Problem is when I connect it it is not "seen" in the finder window. The drive is presently formatte

  • Saving Indesign book as a preview image

    Hey everyone, Can anyone help me recreate what is going on in this image.. I have a book that I layed out in indesign and I want to save it to look like this image for my portfolio site but I dont no how to execute this. I am not sure if it is someth

  • APIC Setting

    Hi all, Posted this question a while ago and never got any replies - I'm still searching for an answer with no luck. A while ago I posted a problem regarding low cpu performance when benchmarking, which is now solved. I checked my IRQ's and noticed '

  • How to send mail from adobe interactive form without opening the outlook

    Hello all, When the end user press the submit button i want it to send the XML data without opening the outlook or other mail application. Is there a way to do this? I tried javascript codes to send mail with UI = false but it did not work. Thank you

  • NI_ReportGenerationToolkitによるレポート作成,保存方法について

    いつもお世話になっております. 掲題の件,新規レポートを作成し,そのレポートを任意のフォルダに保存したいのですが, [Save Rrepot to File.vi]を実行すると下記のようなエラーとなり実行不可能になってしまいます. ●プログラムエラー サブVI'NI_ReportGenerationToolkit.lvlib:Excel_Save_Workbook.vi':サブVIが実行不可能です. 作成したいプログラムは, ①新規レポートを作成する ②タイトル,本文などを書き込む (③後に,計