Web services in jdk 1.3, is it possible?

do you know if there are any java web services toolkit to run in jdk 1.3 as a client?
I have to connect to an axis server, but I cant use axis because it needs jdk 1.4 or above... :( and my client MUST be jdk 1.3
I developed a proxy to connect java virtual machine 1.3 to this proxy jdk 1.4 using rmi... then i connect axis client ws to axis server ws.. .but its a poor solution, i think...
Any help would be great!
thanks,
Jose Cruz

i didn't find the method that return the readallquery object i need from my named query
i'm doing something wrong ?
public class FlexTreeSetHierarchicalClause
  public static void setHierarchicalClause(oracle.toplink.descriptors.ClassDescriptor descriptor)
    // instantiante expression builder to build the expressions
    ExpressionBuilder expressionBuilder = new ExpressionBuilder();
    // Specifies a START WITH expression
    Expression startExpr = expressionBuilder.get("Flextree").get("flexitemI").equal(expressionBuilder.get("Flextreenode").get("flexitemparentI"));
    // Specifies a CONNECT BY expression
    Expression connectBy = expressionBuilder.get("Flextreenode").get("flexitemchildI").equal(expressionBuilder.get("Flextreenode").get("flexitemparentI"));
    //Specifies an ORDER SIBLINGS BY vector
    Vector order = new Vector();
    order.addElement(expressionBuilder.get("Flextreenode").get("flexitemchildI").get("flextext").get("label"));
    // get the readallobject to add the hierarchical clause
    DatabaseQuery dq = descriptor.getQueryManager().getQuery("getFlexTreeByName");
    ReadAllQuery raq = descriptor.getQueryManager().getReadAllQuery();
    // add the hierarchical clause
    raq.setHierarchicalQueryClause(startExpr, connectBy, order);

Similar Messages

  • Calling web Service from the Custom Adapter.Is it Possible?

    Hi Experts,
                    I am having requirment in which i have to cal com.sap.aii.mapping.lookup.LookupService for calling web Service from the Custom Adapter.Is it Possible?
    Regards,
    Rajesh.D

    Hi Rajesh..
    Just looking the problem in another angle.. if there is no constraint that you have to use XI specific API to call the web service, why dont you use usual Java API used for calling a web service inside you custom adapter (I have Microsoft background.. donno exactly how it is done in Java,, but in .NET kind of a language it is possible). SInce your adapter is in Java itself and is capable of calling web service.. collect or lookup the data whatever you want and validate...
    Just a thought..
    VJ

  • Web Service in JDK 6 - client resends request after certain time ?

    Hi,
    I am using the JAX-WS in JDK 6 to build a web service.
    The client sends a request to the server and server starts processing the request. The Server side processing is time consuming.
    I am not sure what exactly happens, but after a certain time, a new thread gets started for server-side processing. I have not used any multi-threading in my coding .
    Does JDK WS include a built-in timeout after which the client automatically resends the request to the server ?
    Thank you.

    Hi Andy,
    I found a workaround: I added some additional resources using a link "http://localhost:8079/"NAME"/:x/:x/:x/:x/:x/:x/:x​/:x/:x/:x/:x/:x/:x/:x/:x/:x" for each type (PUT, GET, POST, DELETE) where I handle the error message with the "Set HTTP Response Code VI"
    Attachments:
    ws_error.PNG ‏9 KB

  • Web Services with JDK 1.4.2

    I have the following class:
    import javax.xml.soap.*;
    import javax.xml.messaging.*;
    class CSTalkComms {
    public CSTalkComms() {
    public static void main(String[] args) {
    try {
    debug("Creating Connection Factory");
    SOAPConnectionFactory connFactory = SOAPConnectionFactory.newInstance();
    debug("Creating Connection");
    SOAPConnection con = connFactory.createConnection();
    debug("Creating Message Factory");
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage message = messageFactory.createMessage();
    debug("Creating SOAP Part");
    SOAPPart soapPart = message.getSOAPPart();
    debug("Creating SOAP Envelope");
    SOAPEnvelope envelope = soapPart.getEnvelope();
    debug("Creating SOAP Header");
    SOAPHeader header = envelope.getHeader();
    debug("Removing SOAP Header");
    header.detachNode();
    debug("Creatig SOAP Body");
    SOAPBody body = envelope.getBody();
    debug("Adding Text");
    body.addTextNode("<response><text><req length=\"15\">12345678</req><flag length=\"2\">03</flag><msgno length=\"6\">123456</msgno><title length=\"2\">Mr</title><name length=\"60\">Andrew Harris</name><tel_hp length=\"11\">1234567890</tel_hp><tel_of length=\"11\">0987654321</tel_hm><tel_hm length=\"11\">1234509876</tel_hm><faxno length=\"11\">6789054321</faxno></text></response>");
    debug("Creating Element");
    Name bodyName = envelope.createName("xmlText");
    debug("Adding Body");
    SOAPBodyElement gltp = body.addBodyElement(bodyName);
    debug("Creating Endpoint");
    URLEndpoint endpoint = new URLEndpoint("http://localhost/WBDS/Service.asmx");
    debug("Sending Message");
    SOAPMessage response = con.call(message, endpoint);
    debug(response.toString());
    } catch(Exception ex) {
    debug(ex.getMessage());
    private static void debug(String message) {
    System.out.println(message);
    All compiles fine but I get the follwoing output:
    Creating Connection Factory
    Creating Connection
    Creating Message Factory
    Creating SOAP Part
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/dom/DocumentImpl
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.<init>(SOAPPartImpl.java:63)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.<init>(SOAPPart1_1Impl.java:29)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.getSOAPPart(Message1_1Impl.java:52)
    at CSTalkComms.requestMessage(CSTalkComms.java:24)
    at CSTalkComms.main(CSTalkComms.java:11)
    Problem I have is that I can only find the com/sun/org/apache/xerces/internal/dom/ package in JDK 1.5.
    Can anyone help?
    Regards
    Andrew

    The com.sun package is part of jwsdp. You may want to download the JWSDP 1.3 package from java.sun.com and add the jar files to your classpath before proceeding.
    Cheers,
    vidyut

  • Problem with web service deployment Oracle AS 10.1.2

    Hi All!
    I have built a java web service using JDK 1.4 and J2EE 1.3 from Jdeveloper 10.1.3 and trying to deploy it on Oracle AS 10.1.2 (Unix). When I deploy it from Jdeveloper it gives me an error of DCM servlet and status code as (-1).
    But when i deploy it from the Enterprise manager using [b]EAR (WAR also tried), it deploys the service successfully but I am not able to access it. When I try to access it shows me "Page Can not be displayed".
    These are the details of my project
    My project name: TestWebserviceForDeployment
    webservice name: Testservice
    While deploying I gave the
    application name: Testservice
    url mapping :/test
    Now I am trying to access it from the browser as http://<host>:<port>/Testservice/test but it shows "Page can not be displayed". Am I doing right?
    Pl help!
    Thanx!
    Neeraj!

    Try http://<host>:<port>/test instead.

  • Calling web services from PL/SQL

    Hi,
    We have a requirement where we need to call a web services from PL/SQL.
    I believe we have a PL/SQL API that allows you to consume external web services.
    I was looking for other possible options too to consume web Service from PL/SQL.
    Can any one suggest the other possible options , and which option is best to consume web service.
    Thanks
    AB

    AB,
    I didn't realize you cannot attach documents to your post. You will have to provide me with an email address that I can send the documents to. They are a little rough (ie not commented etc) but they do illustrate the point. The basic idea is to build up the payload of the soap envelope using pl/sql. Meaning as I loop through the cursor I use each record in the cursor to build an xml string. This string of xml becomes the payload of the soap message. This could also be done using xml functionality provided by the db meaning xmlelement, xmlforest etc. The issue I ran into was the size of the message. That is why I elected to build the xml message by string concatenation as I moved through the cursor.
    Ryan

  • How to call an ABAP based web service from a web page (form)

    Hi,
    I am trying to figure out how I can call my own developed ABAP based web service. I was able to successfully test it in the WS navigator and am now wondering what I need to do to embed the service call in a plain simply web page (form). Basically I'd like to create a web form allowing to specify the parameters and with a 'Submit' button pass the parameters to the web service and launch it.
    Is this possible or do I need some kind of SDK to accomplish this?
    Thanks for any hints and tips.
    Wolfgang

    Hi,
    refer the following link and this is for cosuming the web service form Web dynpro Java
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50d70a19-45a3-2b10-bba0-807d819daf46&overridelayout=true
    and please go throught the following link if you want to cosume it through web dynpro abap and find the answer given by the Moderator Thomas Jung
    regards
    Manohar

  • Accessing BPEL processes via a proxy web service performance issues

    Hello,
    I have more BPEL processes implemented, each such a process implementing business functionality in a certain domain (generally, a domain has more business processes).
    The request was to provide a single web service for each domain. It means that all the business methods (processes) in the same domain should be accessed through the same web service. This request doesn't make possible to expose the BPEL processes themselves as web services that could be directly consumed by different clients of the application.
    The alternative will be to implement the "domain" web services through a Java class, for instance. With this approach, the Java based domain web services will expose the needed business methods to the clients. And the Java class will get the request input parameters and will call the corresponding BPEL process via SOAP. This scenario would be fine, but... this approach would imply a supplementary marshalling/unmarshalling process at the domain web service level. The data returned by the BPEL processes could be very large and in such a situation the Java based domain web service will introduce an important performance drawback.
    Is there any other solution to this case that will allow the using of a "proxy" domain web services that will not introduce any important drawback via marshalling/unmarshalling?
    Many thanks in advance!
    Regards,
    Marinel

    Hello,
    First, thank you Sandor for your answer.
    I understand that it is possible to create a BPEL process that exposes multiple operations/messages. This would be exactly what I need: a single process (web service) that will expose many operations. Could anyone, please, point me to such an example?
    So far I thought that there is possible to have only one operation exposed with a BPEL process, what is delimited between the receive/reply blocks (in the synchronous case).
    Regards,
    Marinel

  • Leverage Inheritance Benefits in 'document/literal' Web Services

    Greetings,
    I have developed a document/literal web service that receives an object I created, say ParentObject.
    I developed it under the assumption that once I create a web service for ParentObject, I'll be able to use the same web service for ChildObject as well, which is a sub-class from ParentObject. Unfortunately, it did not work.
    Please correct me if I'm wrong; is it really not possible to leverage inheritance capabilities web services? And if it's not possible, what workaround(s) do you use in such scenarios when you don't want to create a new web service for each object type despite that they all have the same logic?
    Your thoughts are highly appreciated.
    Thanks in advance,
    Ahmed Motaz

    Jason, have you made any progress with CF7 and WS Security?
    It doesn't seem like enough information on this is available. Is it
    even possible? and how?

  • Web Service problem with J2EE server

    Hi,
    I am trying to test my web service from WSADMIN and it's giving me following error:
    HTTP Status 404 - /wsnavigator/jsps/index.jsp
    type Status report
    message /wsnavigator/jsps/index.jsp
    description The requested resource (/wsnavigator/jsps/index.jsp) is not available.
    As my SAP System is not running on J2EE server, So i downloaded J2EE (SDK) from sun web site
    and after starting the server i tested my webservice but still it's giving the above error.
    J2EE server Address that i entered in WSADMIN is http://localhost:8080.
    So please tell me what should i do to run this web service and let me know is it possible to use web service if sap sytem is not on J2EE server.
    Thanks,
    Rahul

    Hi Rahul,
    If you don't mind, can you explain how did you resolve the error.
    Thanks in advance.
    Shiven

  • Errors/warnings occurred when generating the local proxy dll and VI wrappers for web service

    Hello,
    I'm new to web services - trying to import a WSDL that was created by an outside vendor and placed on a company server.  I imported a previous version successfully.  The error I'm getting doesn't make a lot of sense to me, here it is:
    The following errors/warnings occurred when generating the local proxy dll and VI wrappers for this web service.
    Can't generate files.
    Possible reasons are:
    1. The output file(s) might be read-only.
    Remove the read-only attribute and import the Web service again.
    2. A proxy DLL that LabVIEW created under the same file path exists in memory.
    Restart LabVIEW and import the Web service again.
    I don't see any read-only attributes on the output files and I've tried restarting LabVIEW - no luck.  Any help is greatly appreciated.
    Thanks,
    Al Rauch
    Merck & Co., Inc.

    Aaron,
    I was able to successfully import and run the web services from the WSDL file in question in LV2009 on a different computer than the one on which I had the original problem.  Unfortunately I am still having the original problem on the project computer and will need to get it working there . . . still looking for a solution to that.  Apparently LV2009 is perfectly capable of importing and running this WSDL file, but there is something still in the way on the project PC.
    Thanks,
    Al

  • Web service - is it possible to send a file consuming a web service ?

    Hello expert,
    I need to send a file via web service. I think that i have to expose my web service, but my question is:
    is it possible send or receive a file only consuming one or more web service ?
    tks.

    yes,  but transforming the file in a internal table.

  • Web Services in AS3

    I have been following a couple of discussions online bout the
    absence of the web service classes in AS3. As far as I can tell,
    the Adobe Developer Team will implement them eventually, but
    unfortunately this has not yet been confirmed by Adobe.
    I would very much like to know if the web service classes
    will be coming and if possible an approximate timeframe.
    The only proper solution I have seen so far is to use
    compiled swc's, which is a very download heavy solution.
    Our business rely heavily on web services, and the old AS2
    WebService classes and the web service panel, was a great
    implementation, inspite a few bugs in the system :)
    Long story short; Will web services be implemented in AS3 by
    Adobe, or do I need to look elsewhere for a solution?

    Hi bnailWedge,
    That doesn't sound quite right to me, at least not the way
    I'm seeing it
    put together. AMFPHP does what SOAP does, literally. It does
    it using a
    different message format (AMF instead of the XML-based SOAP),
    but the uses
    and applications of both are the same. AMF is smaller and
    faster and
    Flash-only, and AMFPHP is one of the few "break-out" projects
    that allows
    you to use this binary format without having to run a
    ColdFusion server.
    However, running AMFPHP and SOAP side-by-side seems to me to
    be duplicating
    functionality.
    That's not to say this can't be done; I'm sure it's 100
    feasible, just
    seems somewhat redundant. Was there a specific application
    that you were
    aiming to use this on? If you're looking for something fast,
    small, easy to
    maintain, easy to deploy, scalable, adaptable (not limited to
    Flash and
    PHP), and unique, I wrote something very similar called XMLs
    (XMLserialization). It sends data back and forth from Flash
    to/from PHP. It
    also has the unique feature of allowing remote method
    invokation
    bi-directionally. Flash can invoke server methods, PHP can
    invoke Flash
    methods. Right now, all web services are invoked on the
    server only. I
    integrated an older 128-bite encryption library which, from
    what I
    understand, no remoting or web services platform currently
    offers. I'm
    working on whole-system serialization so that I can transfer
    and
    store/retrieve any Flash content like MovieClip instances,
    audio data, or
    anything else I can stick in a byte array. Also, a big bonus
    from my point
    of view, it's 100% free and open source (LGPL). If nothing
    else, I could
    point you to the code sections where the magic happens and
    you could rip out
    what you wanted. It is actually simple and easy to
    understand. It still
    needs a bit more work but it's not far off from what I would
    consider 100%
    complete.
    Please free to drop me a line if you want me to send you a
    package (it
    will be on SourceForge soon, just have to "professionalize"
    the package and
    associated libraries a bit). patrick (AT) baynewmedia (dot)
    com
    Regards,
    Patrick Bay
    BAY NEW MEDIA
    "bnailWedge" <[email protected]> wrote in
    message
    news:[email protected]...
    > The reason I am asking is that I saw, over a year ago,
    examples of
    > amfphp/PHP
    > acting as a bridge between Flash and some SOAP services
    (Google was the
    > example
    > I think). Thought it might be of help. I cannot find it
    now though.
    >

  • Web Service attachement is returned in response body

    Dears,
    I have the following problem:
    I created a web service that return attachement. When I tested the web service from SOAP UI utility, I found that the webservice return the attachement in both ways, as inline in the responce body and as an attachement to the responce but without adding the href to responce body.
    Please advise how I can add the href and remove the attachement from responce body.
    Regards,
    fadi

    Hi Surya,
    Would you let us know from where you are calling web service and for what?
    And if possible provide error log as screenshot or txt file. So that it will be easy to trace issue.
    For gland your issue, go through below posts
    Not able to execute MII Transaction as web service
    Error calling BLS Transaction as Web service
    Problem in generating wsdl ?
    Create MII transaction & MII Web Service and consume them in ABAP
    Regards,
    Praveen Reddy

  • How to create document/literal web services with WLS7

    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried this yet
    - Is there another mechanism?

    That would be the <web-service> element in the web-services.xml file, of course.
    "Michael Wooten" <[email protected]> wrote:
    >
    Hi Rich,
    Try adding a style="document" attribute to the starting <web-service>
    element.
    The might be a way to get <servicegen> to do this for you, but I haven't
    found
    it yet :-)
    Regards,
    Mike Wooten
    "Rich Muth" <[email protected]> wrote:
    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried
    this yet
    - Is there another mechanism?

Maybe you are looking for

  • In ALV Grid to eliminate the zero.

    Hi Experts,   i am working with abap hr .In my grid there is location allowances amount is 2750.00. I want to eliminate the .00. I tried with  SHIFT l_res RIGHT DELETING TRAILING '0(2)'.But this not working. Can any body suggest how to eliminate the

  • Some keys on keyboard are not working

    Laptop: HP DM4 2070us just recently, some of my keys are not responding or working when i press on them. I have not spilled or dropped my laptop but suddenly, my backspace, various numbers, and various f1 to f12 will not respond when i try to use the

  • Chromium weird font rendering

    Hey, i was wondering if anyone else has the same problem with chromium font rendering, i already tried setting the .Xresources as stated on wiki, but it didnt seem to take effect. I also tried the fonts.conf from this thread: https://bbs.archlinux.or

  • Practical requirment of hardware and software to run small scale industry

    Suppose any small scale industry or any chemical plant want to use SAP then what is the requirment of hardware and how much he/she needs to pay to purchase SAP software. Assume that 5 to 10 workers are working in the industry on Rs.1000 to Rs.3000 as

  • How to start learning German?

    I love Arch.  Absolutely love it.  But with the announcement of April 1 regarding the transition to German, I was wondering if there are any books available that will help me learn this fine lanaguage and continue using this excellent distro? Hopeful