Help on UpdateCascadingPicklists in Web Services v2.0

Hello All,
I have a problem when trying update child picklist values,using UpdateCascadingPicklists API it is over writting old picklist values.But I just want to add the new values.Is it possible ,If possible how? I set CreateNew Argument to "N".
what happens if CreateNew Argument set to "Y"?
Any Clues?
Sandra.

Thank You for your response Jaya.
You mean it will create new (child) picklist values in On Demand or adding new values to child?
For Example :
P1 and P2 are parent and child picklist.(Both are cascade picklists)
P1 has a feild BMW,TATA,Infinity...
P2 has these set of values 1 series,3 series,7series,Indica,Infinity SN1,InfinityFVI,.... values
BMW cascade with 1 series,3 series,7series
Now for BMW I want to add a new value "8 series"
If I set CreateNew to "N" for UpdateCascadingPicklists API, It will over write old values and shows only "8 series".
But For BMW I want to see all these values : 1 series,3 series,7series,8 series
Is it possible by UpdateCascadingPicklists API?
Regards,
Sandra.

Similar Messages

  • URGENT **** Need help for JAX-RPC Web Service Proxy deploy to OC4J 10.1.3.5

    Hi everyone!
    I’m really new to web services.
    I’m getting a *500 internal server error* while deploying my JAX-RPC web service Proxy to an Oracle AS, in an OC4J, v. 10.1.3.5.0.
    Running my client from my development environment (*jdeveloper 10g, 10.1.3.5.0*) everything functions correctly: from jdeveloper I can contact and use the web service defined by the following endpoint: https://www.medialibrary.it/services/federaMLOL.asmx?WSDL
    I created a "try_ws_client.jsp" file that runs correctly from my local development environment jdeveloper (that uses an embedded oc4j, v. 10.1.3.5.0) but fails when run from the test server (Oracle AS, in an OC4J, v. 10.1.3.5.0), getting, as I mentioned a 500 internal server error, a white page in IE but with FF the message says: The’s an error in the servlet .....
    Here's how I created the ws proxy and how I’m using it to consume the ws I mentioned.
    1. I used the jdeveloper “Create Web Service Proxy” wizard (File > New > Business Tier > Web Services > Web Service Prox) and in the WSDL document URL I put: https://www.medialibrary.it/services/federaMLOL.asmx?WSDL
    2. The operation ended without adding nothing to the web.xml file and creating the proxy files. One of them is: FederaMLOLSoapClient.java that have the WS exposed methods (es: public boolean createUser(String) ) + a “main” method with the example how to use this client to consume the WS.
    public static void main(String[] args) {
    try {
    it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient myPort = new it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient();
    System.out.println("calling " + myPort.getEndpoint());
    // Add your own code here
    } catch (Exception ex) {
    ex.printStackTrace();
    3. In FederaMLOLSoapClient.java I’ve create the method "tyIt":
    public String tryIt(String username) {
    try {
    it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient myPort = new it.reggiocity.provincia.mlol.proxy.FederaMLOLSoapClient();
    if(myPort.createUser(String username)) {
    return “O.K”;
    } else {
    return “K.O”;
    } catch (Exception ex) {
    // logs error
    4. I created my try_ws_client.jsp file that creates FederaMLOLSoapClient object and calls the tryIt method, printing the “OK” or “KO” message.
    <%@ page import="it.reggiocity.provincia.biblioreggiane.*"%>
    <%
    String message = "";
    FederaMLOLSoapClient obj= new FederaMLOLSoapClient( );
    message = obj.tryIt(“AAAAAA70R10H226H”);
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>prova</title>
    </head>
    <body><%=message%></body>
    </html>
    The situation is:
    My try_ws_client.jsp runs correctly from my jdeveloper and the user is created while creating app.ear and deploying it to my Oracle AS/OC4J as mentioned above, I get a 500 Internal Server Error.
    Any idea to find a solution to this problem?
    Please help.
    Take care.
    John M.

    Hi,
    you want to build the Web Service, or you want to consume the Service as a client? If the latter, Web client (ADF?) or Java client?
    Frank

  • HELP: Error while consuming Web Service: ClassCastException

    Hi,
    I am trying to consume a web service that I deployed on Tomcat/Axis. Any guideline will be helpful. I generated stubs using WSDL2Java utility from Axis. The method I am trying to call is getFibo(), which returns an object FiboHolder. Unfortunately everytime it is throwing ClassCastException. I have couple of other methods in the service that returns int and int[] and both works fine. Could anyone please help why I am not able to consume the service when it is returning the object FiboHolder but works fine when I consume other methods of the service that returns int or int[]?
    Following is my client code:
        FibonacciService service =  new FibonacciServiceLocator();
        FibonacciSoapBindingStub stub = (FibonacciSoapBindingStub) service.getfibonacci(new URL("http://localhost:8080/axis/services/fibonacci"));
        // Now use the service to get a stub to the service
        FiboHolder fibHold = stub.getFibo();  //code errors out at runtime here
        System.out.println(fibHold.getFibo1());Following is the error message I get:
    org.apache.axis.AxisFault: java.lang.ClassCastException
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.ClassCastException
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:
    Thanks,

    Hi all,
    Please throw some light into this issue i am getting the following exception.
    com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: Proxy Authentication Required.
    I have given the proxy settings in the com.sap.portal.ivs.httpservice  in the portal and also
    defined a proxy server in the Visual Administrator under Services -> Webservice Container -> HTTP Proxy Server
    I am calling service in the following manner.
    IPortalRuntimeResources runtime = PortalRuntime.getRuntimeResources();
       IService service = runtime.getService(IWS_P_Service.KEY);
       IWS_P_Service ws_service = (IWS_P_Service)service;
        Volumes from = new Volumes(Volumes.VOLUMES_KILOLITER_VALUE);
        Volumes to = new Volumes(Volumes.VOLUMES_LITER_VALUE);
        ChangeVolumeUnit cvu = new ChangeVolumeUnit(1200,from,to);
        // working upto here
         response.write("working");
         ChangeVolumeUnitResponse cvu_res = ws_service.ChangeVolumeUnit(cvu);
         double result = cvu_res.getChangeVolumeUnitResult();
         response.write(result+"");
    It is working upto "working".
    If any body has any solutions please post.
    Thanks

  • Help need in Java Web Service method receiving object values as null

    Below is my web method and Package is the object received from dotnet client as a consumer. I have also defined the Package object structure. Now when I receive the data from dotnet I get only identifier value, but I get ownerid and price as null, even both values are sent by Dotnet client. I want to know whether only primitive datatype in java web service works or I need to do some configuration changes in order to have build in Wrapper class datatypes? It would be a great help if somebody explains.
    @WebMethod
    @WebResult(name = "PackageId")
    public long createNewPackage(@WebParam(name = "Package") com.db.radar.wl.data.Package data1,@WebParam(name = "PackageDetail") PackageDetail data2,@WebParam(name = "PackageTrade") PackageTrade data3);
    public class Package {
    Long ownerid;
    Double price;
    long identifier;
    }

    Hi ,
    I am getting the same error. I am running my application on jboss-4.0.4.GA. Please let me know the version of jboss that you to got it working.
    Thanks
    Viv

  • Help Required...Web Service does not start automatically...

    I have a web service created with a EJB, everything is fine now.
    After restarting the Server, web service doesn't get start automatically.
    I have done the changes for the EJB - .ear project - application-j2ee-engine.xml file with the below.
    <start-up mode="always"/>
    But it still doesnt start. any help is appreciated.
    This is the document i have referred.
    http://help.sap.com/saphelp_nw04s/helpdata/en/25/0c08f3981343609d4045f8acaa0a76/frameset.htm
    Thanks,
    Sridhar
    Edited by: Sridhar k on Jan 5, 2009 9:11 AM

    Hai,
    Just a tought...:-|
    Check the value in your file, is it typing mistake or you have entered the same in your file.
    <start-up mode="always"/> it should be <start-up mode="always">.
    Regards,
    Yoganand.V

  • Help: consuming an external web service with user name token

    Hello Together!
    I need to consume an external web service secured with WS-UserNameToken. The way, how did I do it:
    1. I generated a web service consumer (proxy) in SE80 from the wsdl file
    2. I created logical port for the consumer in SOAMANAGER
    3. I created security profile in WSSPROFILE with telpmate SET_USERNAME and assigned it to consumer operation in LPCONFIG  (I use LPCONFIG, because I didn't find any way to do it in SOAMANAGER)
    3. I called the web service and got the error back:  session token is missing or invalid or has inspired
    My questions are:
    1. is this possible to consume an external webservice in SAP, which is secured with WS-Usernametoken?
    2. do I need therefore any settings in java stack? do I need java stack in general?
    3. Is this any way to configure the consumer without writing programs, which set header parameter manually?
    4. if the answer on the third question is no, do you have any examples, how to implement session management in report? (I mean sending session id and checking the validaty of id)
    I appriciate any help of you!
    best regards Anna

    Hi,
    it should be possible to use WS-UserNameToken for consuming web service. It should be available on AS BAP 7.0 and higher. This profile should be under category Document authentication. You can try to dump a message send from SAP to see what is going out of SAP. This should be supported in ABAP so you don't need a Java stack. What exactly do you want to configure? Do you want to just set user name and password for that service which will be used for any calls of that proxy?
    Cheers

  • HELP: Calling a C# Web Service with Flex sends all params as null (0s)

    Hi everyone,
    I'm developing a small game using Flex 3 and Microsoft .NET C# 3.5.
    The client is Flex and connects to the C# server via web service.
    All functions work fine except one:
    C# web service:
    [WebMethod(Description = "Some command")]
            public string GiveOrders(long WID, long WPID, string SPK, long SUID, bool IsSquad, Types.OrderType Order,
                                     long TargetID, Types.TargetType TargetType)
    It used to work fine, but one of my updates recently caused the function to call the web service, sending 0s (or nulls) as all parameters.
    Debugging on the Flex side shows just before the data is sent all params are set correctly (Although I know not how to check the actual SOAP data that is sent) - however, debugging on the web service side shows all 0s.
    The odd thing is, all other functions on the web service work 100%.
    HELP PLEASE!

    Hi everyone,
    I'm developing a small game using Flex 3 and Microsoft .NET C# 3.5.
    The client is Flex and connects to the C# server via web service.
    All functions work fine except one:
    C# web service:
    [WebMethod(Description = "Some command")]
            public string GiveOrders(long WID, long WPID, string SPK, long SUID, bool IsSquad, Types.OrderType Order,
                                     long TargetID, Types.TargetType TargetType)
    It used to work fine, but one of my updates recently caused the function to call the web service, sending 0s (or nulls) as all parameters.
    Debugging on the Flex side shows just before the data is sent all params are set correctly (Although I know not how to check the actual SOAP data that is sent) - however, debugging on the web service side shows all 0s.
    The odd thing is, all other functions on the web service work 100%.
    HELP PLEASE!

  • Help with calling a web service on an external system

    All right you Xi gurus, I'm a Basis guy whom has installed XI 3.0 SP13 and now I would like to get setup a fairly "real world" example.  I have read the help section but it kind of hard to follow.  I have followed the demo examples and they somewhat work and I followed the "XI30SP14_SimpleUse.pdf" which showed me how to do a simple file transfer and mapping but a considerable amount of work was done for me.  And yesterday I received the 'SAP Exchange Infrastructure' book from SAP-Press.  Thumbing through the book I see it contains detailed information on the functionality but nothing so far on how to setup the whole process of start to finish.
    Here is what I would like to do...I would like to call an external web service from my R/3 4.6C system via XI.   Could someone help by detailing the general steps of setting this up?  Thanks in advance.

    Hi Kartik,
    have you seen this blog by Thomas?
    <a href="/people/thomas.jung3/blog/2005/01/11/publishing-abap-webservices-to-an-external-uddi-server ABAP WebServices to an External UDDI Server</a>
    Regards
    Raja

  • Help with consuming a web service

    Hi guys,
    I'm trying to consume a web service but I have the following problem when I consume it:
    javax.xml.rpc.soap.SOAPFaultException: Internal Error
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:491)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307
    at qtel.tibco.transferAsset.AssetPort_Stub.transferAsset(AssetPort_Stub.
    java:67)
    at transferasset.Main.main(Main.java:34)
    I'm using NetBeans 5.0 with JDK 1.4 and the JAX-RPC 1.6
    here is my Code:
    package transferasset;
    import java.io.*;
    import javax.xml.rpc.*;
    import java.rmi.*;
    * @author Administrator
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
         * @param args the command line arguments
        public static void main(String[] args) {
           try{
             System.out.println(args[0] + " " + args[1] + " " + args[2] );
             qtel.tibco.transferAsset.AssetManagementServiceServiceagent service = new qtel.tibco.transferAsset.AssetManagementServiceServiceagent_Impl();
             qtel.tibco.transferAsset.AssetPort port = service.getAssetPortEndpoint1();
             qtel.tibco.transferAsset.TransferAssetRequest req = new  qtel.tibco.transferAsset.TransferAssetRequest(args[0].toString(),args[1].toString(),args[2].toString());
             qtel.tibco.transferAsset.TransferAssetResponse result = port.transferAsset(req);
             System.out.print(result.getData().getReturnStatus());
           }catch(javax.xml.rpc.soap.SOAPFaultException e){
               //System.out.print(e.getFaultString());
               //System.out.print(e.getFaultActor());
               e.printStackTrace();
        }catch(Exception e){
                e.printStackTrace();
               System.out.println(e.getMessage());
               //System.out.println("exception");
           //return result.getData().getReturnStatus();
    }the problem is as folowwing in the command prompt when I run the following command I will have no error and the web service work fine:
    java -jar "C:\updateassetinfo\dist\updateassetinfo.jar" 1 1 1
    but the problem will appear if I send a character in the parametars like this:
    java -jar "C:\updateassetinfo\dist\updateassetinfo.jar" 12367 3456 HC-098
    So any help will be Appreciated
    thanks in advance.

    Hi guys,
    I'm trying to consume a web service but I have the following problem when I consume it:
    javax.xml.rpc.soap.SOAPFaultException: Internal Error
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:491)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307
    at qtel.tibco.transferAsset.AssetPort_Stub.transferAsset(AssetPort_Stub.
    java:67)
    at transferasset.Main.main(Main.java:34)
    I'm using NetBeans 5.0 with JDK 1.4 and the JAX-RPC 1.6
    here is my Code:
    package transferasset;
    import java.io.*;
    import javax.xml.rpc.*;
    import java.rmi.*;
    * @author Administrator
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
         * @param args the command line arguments
        public static void main(String[] args) {
           try{
             System.out.println(args[0] + " " + args[1] + " " + args[2] );
             qtel.tibco.transferAsset.AssetManagementServiceServiceagent service = new qtel.tibco.transferAsset.AssetManagementServiceServiceagent_Impl();
             qtel.tibco.transferAsset.AssetPort port = service.getAssetPortEndpoint1();
             qtel.tibco.transferAsset.TransferAssetRequest req = new  qtel.tibco.transferAsset.TransferAssetRequest(args[0].toString(),args[1].toString(),args[2].toString());
             qtel.tibco.transferAsset.TransferAssetResponse result = port.transferAsset(req);
             System.out.print(result.getData().getReturnStatus());
           }catch(javax.xml.rpc.soap.SOAPFaultException e){
               //System.out.print(e.getFaultString());
               //System.out.print(e.getFaultActor());
               e.printStackTrace();
        }catch(Exception e){
                e.printStackTrace();
               System.out.println(e.getMessage());
               //System.out.println("exception");
           //return result.getData().getReturnStatus();
    }the problem is as folowwing in the command prompt when I run the following command I will have no error and the web service work fine:
    java -jar "C:\updateassetinfo\dist\updateassetinfo.jar" 1 1 1
    but the problem will appear if I send a character in the parametars like this:
    java -jar "C:\updateassetinfo\dist\updateassetinfo.jar" 12367 3456 HC-098
    So any help will be Appreciated
    thanks in advance.

  • Help Needed compile, deploy Web Service with Annotations on Web Logic 9.2

    Hi,
    I am new web logic and need some help in compiling, creating deployment file i.e. war, ear on Web Logic 9.2. I have the following sample web service with annotations code code but need help in compiling, creating deployment file (war,ear), creating proxy for testing etc. How to compile and create deployment files in WebLogic 9.2. Any help is really appreciated.
    package sample_ws;
    import java.rmi.RemoteException;
    import javax.jws.*;
    import javax.jws.soap.SOAPBinding;
    import org.w3c.dom.Document;
    @WebService
    @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL,
                 parameterStyle = SOAPBinding.ParameterStyle.BARE)
    public class EchoService {
        public EchoService() {
        @WebMethod(action="echo")
        @WebResult(targetNamespace="http://exa.org", name="echoResult")
        public Document echo(@WebParam(targetNamespace = "http://exa.org",
                                       name = "echoMsg")
            Document doc) throws RemoteException{
            return doc;
    }Thanks

    I am using Oracle Jdeveloper as an IDE and created a war file and deployed on Oracle App. Server it works fine. Now if I deploy the same war on Web Logic it gives me the following error:
    java.lang.IllegalStateException: could not find schema type named {{http}//exa.org}>>echoResult
    Errors were encountered while performing this operation. Here is the code I have:
    package webservice2 ;
    import java.rmi.RemoteException;
    import javax.jws.*;
    import javax.jws.soap.SOAPBinding;
    import org.w3c.dom.Document;
    @WebService
    @SOAPBinding(style = SOAPBinding.Style.DOCUMENT,
                 use = SOAPBinding.Use.LITERAL,
                 parameterStyle = SOAPBinding.ParameterStyle.BARE)
    public class EchoService {
        public EchoService() {
        @WebMethod(action="echo")
        @WebResult(targetNamespace="http://exa.org", name="echoResult")
        public Document echo(@WebParam(targetNamespace = "http://exa.org",
                                       name = "echoMsg")
            Document doc) throws RemoteException{
            return doc;
    }And here is the wsdl file I have:
    <definitions
         name="EchoServiceService"
         targetNamespace="http://webservice2/"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:tns="http://webservice2/"
         xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
         xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
         xmlns:ns1="http://exa.org"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        >
        <types>
            <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://exa.org" elementFormDefault="qualified"
                 xmlns:tns="http://exa.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
                <element name="echoMsg" nillable="true">
                    <complexType>
                        <sequence>
                            <any/>
                        </sequence>
                    </complexType>
                </element>
                <element name="echoResult" nillable="true">
                    <complexType>
                        <sequence>
                            <any/>
                        </sequence>
                    </complexType>
                </element>
            </schema>
        </types>
        <message name="EchoServicePortType_echo">
            <part name="echoMsg" element="ns1:echoMsg"/>
        </message>
        <message name="EchoServicePortType_echoResponse">
            <part name="echoResult" element="ns1:echoResult"/>
        </message>
        <portType name="EchoService">
            <operation name="echo">
                <input message="tns:EchoServicePortType_echo"/>
                <output message="tns:EchoServicePortType_echoResponse"/>
            </operation>
        </portType>
        <binding name="EchoServiceSoapHttp" type="tns:EchoService">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="echo">
                <soap:operation soapAction="echo"/>
                <input>
                    <soap:body use="literal" parts="echoMsg"/>
                </input>
                <output>
                    <soap:body use="literal" parts="echoResult"/>
                </output>
            </operation>
        </binding>
        <service name="EchoServiceService">
            <port name="EchoServiceSoapHttpPort" binding="tns:EchoServiceSoapHttp">
                <soap:address location="http://localhost:8888/EnableSrc-WebService2-context-root/EchoServiceSoapHttpPort"/>
            </port>
        </service>
    </definitions>Any ideas what might be wrong.

  • Plz help to run the web service

    I have developed one web service & also deployed on tomcat 5.0 using Axis1.1. I have checked the wsdd & wsdl files in the browser.
    It is all ok.
    when sending some request from web service client
    by the following method & parameters
    SDNScan(java.lang.String,java.lang.String,double)
    It goes to the server end & also perform scanning from the database.
    but while sending List[] object back from web service server to the client it displays following message on the browser
    (500)Internal Server Error
    I am using Tomcat5.0 & Apache Axis with j2sdk1.4
    Is there any deployment problem I am facing..
    Plz hel me.
    The full stack trace is given below:
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (500)Internal Server Error
    faultActor:
    faultNode:
    faultDetail:
    {}string: return code: 500
    <html><head><title>Apache Tomcat/5.0.27 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.io.IOException: No serializer found for class biz.infrasofttech.aml.database.DatabaseDynaDAO in registry org.apache.axis.encoding.TypeMappingImpl@18bdc7a
    org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
    org.apache.axis.SOAPPart.writeTo(SOAPPart.java:272)
    org.apache.axis.SOAPPart.getAsString(SOAPPart.java:483)
    org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:375)
    org.apache.axis.Message.getContentType(Message.java:399)
    org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:887)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.0.27</h3></body></html>
    (500)Internal Server Error
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:2248)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at biz.infrasofttech.aml.processes.SDNSearchWSSoapBindingStub.performSDNScanWeb(SDNSearchWSSoapBindingStub.java:233)
    at biz.infrasofttech.aml.processes.SDNSearchWSProxy.performSDNScanWeb(SDNSearchWSProxy.java:51)
    at org.apache.jsp.sampleSDNSearchWSProxy.Result_jsp._jspService(Result_jsp.java:142)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:534)
    I am not getting any thing.
    Is there any other tool for creating a web service
    Plz help.
    Thanx in advance

    Plz Tell me how I get the HTML Tag through the java code.

  • Help needed: ViewObjectImpl and web service

    Hi!
    I'm trying to make a view object (to be used in a web application) which gets its data from a web service. As the data returned from the web service might be very large, i decided to limit it with start row (number) and range size (number). The idea is to store only the needed data in the memory and when other data is needed to get it from the web service. For example, if the view is used to show rowsets with ranges of 10, there will only be 10 records in the memory. When a request is created to visualize the next 10 records, then only rows from 10 to 20 will be in the memory.
    However, I am unable to figure out which method(s) in the ViewObjectImpl class to override. I'm able to get the first range, but when the scrollRange(int) is invoked, I cannot propagate the new rows.
    So anyone been able to help? Any ideas are welcome!
    Thanks in advance!

    Hi there,
    Entity objects can be based on web services, have you tried this way. Then, you can create you VO on top of this entity having perhaps a more declarative approach. If you still want to follow the programmatic VO approach, overriding hasNextForCollection or getQueryHitCount could be my initial 2 methods to look for.
    - Juan Camilo

  • Need help with DOC type web service

    hi,
    I am trying to write a simple message style ( doc type ) web service but no success so far. I have tried to search for examples but no use. I already implemented some simple RPC style web services like calculator etc and able to use them. I am more interested in the DOC type ( which sends SOAP message and receives SOAP message back). Can Anybody give me an example for implementing this type of service ( very-simple say HellowWorld ) or point me to some website . I am not able to generate the response envelope. I can write the client program which will send a SOAP Envelope to this services with one parameter NAME and the services should return Hello Name but in a SOAP envelope form. I can create a SOAP message in this Client using SOAPConnection and MessageFactory etc. Your help will be really appreciated. There is very little stuff about webservices on the internet as well on this forum.
    Thanks
    Vinod

    Hello kwilding2,
    Thanks for the quick response and pointing to some useful websites. I downloaded the code from web service essentials BUT all the examples are using SOAP RPC calls. They create a call object and call one of the service methods and a response is returned. I am little confused about this stuff. I am looking for something which returns the response in a SOAP envelope for which i think i need to use JAXM API which I already have downloaded. I have created a client which composes a SOAP envelope using SOAPConnection and other MessageFactory classes etc and can send this SOAP envelope to a web service. In return I want the web service to give the SOAP envelope.
    I have gone thru xmethods.net and picked the following stock quote request and response:
    Sample Request envelope:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getQuote xmlns:ns1="urn:xmethods-delayed-quotes" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <symbol xsi:type="xsd:string">IBM</symbol>
    </ns1:getQuote>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Sample Response Envelope:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getQuoteResponse xmlns:ns1="urn:xmethods-delayed-quotes" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <return xsi:type="xsd:float">133.625</return>
    </ns1:getQuoteResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I also want the things in this order. This webservice at xmethods just returns the price for a stock, so how they say it returns this Response Envelope. Is this Envelope something implied. I am getting more confused.
    any help will be appreciated.
    Thanks
    Vinod

  • Help with call to web service

    Hello,
    I am using a web service to do address validation. I created the web service and it ran OK, but the report always says no data found. I wanted to see what was in the returned collection, so I created a new region with the following SQL:
    SELECT CLOB001
    FROM wwv_flow_collections c
    WHERE c.collection_name = 'P37_VALIDATECCSZ_RESULTS'
    This has data in it: "Marion 0 Wayne true true 14505 1.0 AddressResponse: /Marion, NY 14505/Val = true/Rel = 1.0/Incp = true/Geo = 0 NY true"
    The default report is failing because the response is not XML code I believe.
    I ran the web service using java and it returns:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <ns:validateCCSZResponse xmlns:ns="http://validation.util.oss.paetec.com">
    <ns:return xmlns:ax28="http://sag.oss.paetec.com/xsd" xmlns:ax22="http://rmi.java/xsd" xmlns:ax23="http://io.java/xsd" xmlns:ax21="http://client.validation.util.oss.paetec.com/xsd" type="com.paetec.oss.util.validation.client.AddressResponseArray">
    <ax21:responses type="com.paetec.oss.util.validation.client.AddressResponse">
    <ax21:city>Marion</ax21:city>
    <ax21:code>0</ax21:code>
    <ax21:country />
    <ax21:county>Wayne</ax21:county>
    <ax21:incomplete>true</ax21:incomplete>
    <ax21:incorporated>true</ax21:incorporated>
    <ax21:locClli />
    <ax21:postalCode>14505</ax21:postalCode>
    <ax21:postalCodeExtension />
    <ax21:reliability>1.0</ax21:reliability>
    <ax21:shortDescription>AddressResponse: /Marion, NY 14505/Val = true/Rel = 1.0/Incp = true/Geo = 0</ax21:shortDescription>
    <ax21:state>NY</ax21:state>
    <ax21:streetName />
    <ax21:streetNumber />
    <ax21:unit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></ax21:unit>
    <ax21:validated>true</ax21:validated>
    </ax21:responses>
    </ns:return>
    </ns:validateCCSZResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    So, does anyone know why the web service call from APEX does not return the XML code? I am getting the values from the XML code, but I have no way to parse it to get what I need...
    Thanks,
    -- Johnnie

    Hey Jason,
    That is very close to what the generated report looked like, as soon as I put in //validateCCSZResponse/return/responses instead of //validateCCSZResponse/return I get no data found.
    You can run this directly in TOAD, this one returns a row:
    SELECT extractValue( value(T), '//city', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) city
    ,extractValue( value(T), '//county', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) county
    ,extractValue( value(T), '//incomplete', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) incomplete
    ,extractValue( value(T), '//postalCode', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) postalCode
    ,extractValue( value(T), '//reliability', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) reliability
    ,extractValue( value(T), '//state', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) state
    ,extractValue( value(T), '//streetName', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) streetName
    ,extractValue( value(T), '//streetNumber', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) streetNumber
    ,extractValue( value(T), '//validated', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) validated
    FROM TABLE(xmlsequence(extract(XMLTYPE.createxml('<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <ns:validateCCSZResponse xmlns:ns="http://validation.util.oss.paetec.com">
    <ns:return xmlns:ax28="http://sag.oss.paetec.com/xsd" xmlns:ax22="http://rmi.java/xsd" xmlns:ax23="http://io.java/xsd" xmlns:ax21="http://client.validation.util.oss.paetec.com/xsd" type="com.paetec.oss.util.validation.client.AddressResponseArray">
    <ax21:responses type="com.paetec.oss.util.validation.client.AddressResponse">
    <ax21:city>Marion</ax21:city>
    <ax21:code>0</ax21:code>
    <ax21:country />
    <ax21:county>Wayne</ax21:county>
    <ax21:incomplete>true</ax21:incomplete>
    <ax21:incorporated>true</ax21:incorporated>
    <ax21:locClli />
    <ax21:postalCode>14505</ax21:postalCode>
    <ax21:postalCodeExtension />
    <ax21:reliability>1.0</ax21:reliability>
    <ax21:shortDescription>AddressResponse: /Marion, NY 14505/Val = true/Rel = 1.0/Incp = true/Geo = 0</ax21:shortDescription>
    <ax21:state>NY</ax21:state>
    <ax21:streetName />
    <ax21:streetNumber />
    <ax21:unit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></ax21:unit>
    <ax21:validated>true</ax21:validated>
    </ax21:responses>
    </ns:return>
    </ns:validateCCSZResponse>
    </soapenv:Body>
    </soapenv:Envelope>'),'//validateCCSZResponse/return','xmlns="http://validation.util.oss.paetec.com"'))) T
    This returns no rows:
    SELECT extractValue( value(T), '//city', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) city
    ,extractValue( value(T), '//county', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) county
    ,extractValue( value(T), '//incomplete', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) incomplete
    ,extractValue( value(T), '//postalCode', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) postalCode
    ,extractValue( value(T), '//reliability', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) reliability
    ,extractValue( value(T), '//state', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) state
    ,extractValue( value(T), '//streetName', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) streetName
    ,extractValue( value(T), '//streetNumber', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) streetNumber
    ,extractValue( value(T), '//validated', 'xmlns="http://client.validation.util.oss.paetec.com/xsd"' ) validated
    FROM TABLE(xmlsequence(extract(XMLTYPE.createxml('<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <ns:validateCCSZResponse xmlns:ns="http://validation.util.oss.paetec.com">
    <ns:return xmlns:ax28="http://sag.oss.paetec.com/xsd" xmlns:ax22="http://rmi.java/xsd" xmlns:ax23="http://io.java/xsd" xmlns:ax21="http://client.validation.util.oss.paetec.com/xsd" type="com.paetec.oss.util.validation.client.AddressResponseArray">
    <ax21:responses type="com.paetec.oss.util.validation.client.AddressResponse">
    <ax21:city>Marion</ax21:city>
    <ax21:code>0</ax21:code>
    <ax21:country />
    <ax21:county>Wayne</ax21:county>
    <ax21:incomplete>true</ax21:incomplete>
    <ax21:incorporated>true</ax21:incorporated>
    <ax21:locClli />
    <ax21:postalCode>14505</ax21:postalCode>
    <ax21:postalCodeExtension />
    <ax21:reliability>1.0</ax21:reliability>
    <ax21:shortDescription>AddressResponse: /Marion, NY 14505/Val = true/Rel = 1.0/Incp = true/Geo = 0</ax21:shortDescription>
    <ax21:state>NY</ax21:state>
    <ax21:streetName />
    <ax21:streetNumber />
    <ax21:unit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></ax21:unit>
    <ax21:validated>true</ax21:validated>
    </ax21:responses>
    </ns:return>
    </ns:validateCCSZResponse>
    </soapenv:Body>
    </soapenv:Envelope>'),'//validateCCSZResponse/return/responses','xmlns="http://validation.util.oss.paetec.com"'))) T

  • I need help sorting out how Web services work

    I'm getting pretty darn confused with all the new terms I have to learn to develop a web service.
    I want to deploy a simple java based web service on an IIS/ServletExec machine. To do so the documentation says I have to instal WSDP on the machine. Within a few seconds I get stuck.
    When I try to install wsdp 1.6 it asks for a web container. I thought ServletExec is a web container, but it does not recognize it. What is a web container then? Should I just pick one of their options?
    Sun Java System Application Server Platform Edition 8.1 Update 2 : What is this thingy? Doe it coem sith j2ee sdk already? If not, why?
    Sun Java System Web Server 6.1 Service Pack 3 : What is this> How does it differ from the former thingy?
    Tomcat 5.0 for Java WSDP 1.5 : Is this the Tomcat web app server? Does it stack on ServletExec?
    I've deployed web pages on ServletExec, but am quite bewildered by the hoard of terms and tools thrown at me by the documentation for web services. What do I really need? It doesn't seem it should require much more than a jsp page would require, but I keep seeing the list of jar files and the like grow.
    I need a web services for dummies that specifically deals with ServletExec and Java.
    - Extremely confused

    A Web container is a part of application server
    i.e a web container is contained in application server.
    So ServletExec already has a Web Container? All Web App Servers have a web container?
    A Web Server is responsible only for web related
    applications like JSP, Servlets, Web services, etc.
    but an appliocation server can deploy EJB's also.
    I thought the Web Server managed html and passed JSPs, Servlets, and Web Services on to the Web App Server. (With the exception of .NET type applications which run entirely on the front end Web Server). At least that is how we have our machine configured.
    IIS, the Web Server, runs on a machine outside the firewall. It serves up all static html pages. All references to dynamic html (JSPs and Servlets) are forwarded to a Servlet Exec instance, the Web App Server, on a machine behind the firewall.
    IIS can not process Web Services outside a .NET-type configuration. The documentation has led me to believe that I have to deploy a Java web service on a Web App Server like ServletExec.
    >
    Sun Java System Application Server Platform Edition 8.1 Update 2
    is an application server provided by sun.
    But the installation called it a web container. You just called it an applciation server. But you also said earlier that an applciation server is not a web container, but rather contains a web container. Should they have called it an applciation server.
    (Just to make sure - application server = web app server, right?)
    You can download bundle which contains j2eesdk
    and application server together or you can download
    seperately. Both these options are available on Sun's website.
    I do believe ServletExec comes with j2eesdk, as I was able to run servlets without installing it. Though I did install jdk 1.5 and use it as my virtual machine when running Java, including any servlets.
    Sun Java System Web Server 6.1 is responsible only
    for web related applications like JSP, Servlets, Web services
    etc but Sun application server 8.2 can deploy EJB's also.
    So Web Server 6.1 is a front end web server which also serves up JSPs without having to call an application server? You only need an application server if you want to do EJBs?
    Tomcat 5.0 for Java WSDP 1.5 : Is this the Tomcat web app server?WSDP containts several library files and other files
    which are necessary for running a web service.
    ( lib files for sending and recieving SOAP request and
    response i.e mail.jar activation.jar, saaj .jar ....etc).
    It is not an application server. It acts as a supportive
    role for creating and deploying web services.
    That's what I thought. But I also thought Tomcat 5.0 IS a web app server (wheras Apache is the Web Server). It says "Tomcat 5.0 for Java WSDP 1.5" which does not make sense to me. Iwould think it would say "Java WSDP 1.5 for Tomcat 5.0" instead. What exaclty are they offering to download? WSDP or Tomcat? And if Tomcat, why are they calling it a web container when it is an application server? WSDP is not a web container, right? just some lib files for supporting web services.
    Regards,
    Piyush- still quite confused but grateful for your comments

Maybe you are looking for

  • How to set default channel colors

    channel colors can be changed after acquisition took place. How can I change the default used each time a new task is started? When entering the life data panel before acqiring there are no traces to change in the properties menu. Sincerely H.P. Bert

  • HELP - I LOST 3 DAYS WORK!!!

    Dear all. The demo I have been working on for the last 3 days keeps crashing out on me when I try to perform a simple action like adding a button! The error I get is the standard "windows has encountered a problem and needs to close" Can anything be

  • Darren's Occasional Nugget 09/21/2007

    Hi all, Another one of my favorite LabVIEW 8.5 features is the new "Connector pane terminals default to Required" option in Tools > Options: Enabling this option causes any new connection of a control (except error controls) on your connector pane to

  • Firefox locks/crashes on page navigation.

    I installed Firefox about weeks ago. Samsung Galaxy 3 running 4.1.1 OS (rooted). Especially after last two releases I have unresponsive links (touch and no response), non-responsive X to stop page loading, pages that take 2 minutes to load or time-ou

  • Safari freezes when I try to print from the webpate

    Has anyone else experienced the freeze when you go to the Command P screen? The only thing I'm able to do is Force Quit as Safari doesn't even show up as "not responding." I've had this problem only since I've been running 10.4.8 Any suggestions for