Java class namespace conflict between two Web services

We have been asked to develop a client that can call two different versions of a live Web service. Unfortunately the people who developed the services that we have to call used overlapping namespaces when they created the new version. We are using the Java 6 JDK Web Services stack. We have generated the classes for our 2 clients using wsimport and include them on our classpath in two separate jars. Of course this should never happen because you should never have two different objects sharing the same namespace. We don't control the service though, so can't change things there. Is there some way for us to remap to objects in a different namespace for one of the services. Any help would be much appreciated, even if it's just to say that this is not possible.
James

did you try specifying a different package when you run wsimport?
also, if you can't find a jaxws solution, you can always load each webservice jar in a separate classloader in your application and run your webservice access code from these separate classloaders.

Similar Messages

  • How to control transactions (WS-AT) between two web services in OSB?

    Could someone tell me if the OSB can have 2 diferents web services controlled by an unique transaction?
    For instance: in the OSB there are two wsdl, each one with its own Business Service and ProxyService respectively. In my vb.net aplication I started a transaction, called the first web service succefully and from the second web service I got an exception. I expected the first web service undo its work because the vb.net aplication excute a rollback command. Is this possible? How can I do? Any sample or tip will be helpfull.
    If I was developing without OSB, I would rely on WS-AT as shown in http://www.codeproject.com/Articles/38793/6-Steps-to-Enable-Transactions-in-WCF for two web services dot net, or for one web service dot net and other java, http://www.ibm.com/developerworks/websphere/library/techarticles/0707_lo/0707_lo.html.
    My question is basically: Is still possible to keep a single transaction between multiple web services when they are mediated by OSB? If so, is there a example showing how?

    Hi,
    When you create the proxy server, you have to check "Transaction required" box on Message Handling page...
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15867/proxy_services.htm#i1316487
    Cheers,
    Vlad

  • Failed to retrieve data from the database/invalid argument provided when employing link between two web services datasources

    Post Author: vpost
    CA Forum: Data Connectivity and SQL
    I am trying to join information from two related web services within CR XI. I have successfully set up the web services as data sources have been able to get to the point where I get good data back. However, when I try to pull in certain fields, I get an error that says "Failed to retrieve data from the database/invalid argument provided". Here's the scenario:
    The web services are structured as follows:Web Service 1 (Artist) has attributes of Artist Name and Date of Birth.Web Service 2 (CD) has attributes of CD Title and Release Date. Underneath each CD are songs, each of which have a Song Title and Artist Name.
    I have defined both web services and defined a link between Artist.Artist Name and CD/Song.Artist Name. I am able to run a report with Song Title and Date of Birth that crosses web services. I am able to run another report with Song Title and CD Title that crosses the different levels in the second web service. However, if I add CD Title to the first report or Date of Birth to the second (both of which effectively force CR to employ the link between the two web services AND the CD/Song hierarchical structure in the second web service, I get the aforementioned error.
    Any assistance understanding how multiple web services can be linked in this manner would be greatly appreciated.
    Thanks in advance.

    Post Author: Mike Wright
    CA Forum: Data Connectivity and SQL
    Not sure about your exact situation, but having similar problem with another application and have tracked down to security. Added user to group Domain Admin and it works fine. It appears to be accessing a subdirectory which it does not have permission to use and then times out and returns the "invalid....". Seems that once the query just over a certain size (and I'm not sure what triggers this) it needs to make use of temparory file disk, intead of ram.
    I'm still trying to track down which temporary it's trying to uses - so if you have any ques.
    cheers

  • Two web services in a pdf form

    I m designing a process which has two web services (adobe livecycle workbench) I can get respond from each of them but that means I have two xmls.
    The problem starts from here .I need one document put into pdf however I have two Documents, one from each web service
    ı just need to equal two xml to one xml that case I can have one document to put into renderPDFfrom process
    what should I do ?
    should I put another process to combine xml or is there any methods to combine xml
    I m waiting for your answers
    thanks for helping

    thank you very much Jasmin your answer is brilliant but in my case When I put  "Main" between Node1 and mainxml  (not really "Main" in my case form1) it doesnt work correctly  /process_data/mainxml/Main/Node1/Child
    this is my code and also another problem
    /process_data/wstranslatesum/Page1/tablo1   =      /process_data/wsresponse2/Envelope/Body/HelloWorldResponse/HelloWorldResult/diffgram/NewD ataSet
    /process_data/wstranslatesum/Page2/Sonuc    = /process_data/wsresponse/Envelope/Body/getMaxWaitingProcessStepsResponse/getMaxWaitingPro cessStepsResult/diffgram/NewDataSet
    when I use above example only
    /process_data/wstranslatesum/Page2/Sonuc    = /process_data/wsresponse/Envelope/Body/getMaxWaitingProcessStepsResponse/getMaxWaitingPro cessStepsResult/diffgram/NewDataSet
    above part works   they are on the other page
    when I use the below
    /process_data/wstranslatesum/Page2/tablo1   =      /process_data/wsresponse2/Envelope/Body/HelloWorldResponse/HelloWorldResult/diffgram/NewD ataSet
    /process_data/wstranslatesum/Page2/Sonuc    = /process_data/wsresponse/Envelope/Body/getMaxWaitingProcessStepsResponse/getMaxWaitingPro cessStepsResult/diffgram/NewDataSet
    it works perfectly   (did you notice that they are on the same page)
    so what is the problem I know you are Expert
    can youy recommend any resource which has real case example
    thank you so much
    Sincerely ,
    Joseph

  • Configuring SMTP Namespace Sharing between two Exchange Forests on the same LAN

    Hi guys, really hoping that someone can help me with configuring SMTP Namespace Sharing between two Exchange Forests on the same LAN.
    Basically, I have created a new forest and installed a new exchange organisation in this forest.  Both forests are located on the same IP subnet and a two way trust has been created between the forests.  Federated sharing has also been configured. 
    I can use ADMT to migrate the user and computer accounts to the new forest and also migrate test mailboxes over.  Ideally, I want to be able to do the mailbox migrations in stages so will need to be able to have mail flowing between the two forests. 
    I have read over the following article (http://ibrahimnore.wordpress.com/2012/09/06/configuring-smtp-namespace-sharing-between-two-exchange-forests-part-2/)
    which is good but it's demonstrating over the internet, can anybody advise how this can be achieved on the local LAN? 
    Any help greatly appreciated :-)

    Hi Gilliano,
    Thanks for correct link. I must say this is a very good article indeed, I read the entire article and if you go to the 3rd part of this article, please note the text "DOMAINC.COM is configured as Internal Relay Accepted Domain on both the domains"
    This is exactly what I asked you to check. Personally, I understand the method described in this article will work but its very complex to manage and administer, while the easiest option is to configure internal relay at the first place and no need to make
    so many DNS changes and customizations to your environment.
    The solution really depends on what your requirement is - Since you mentioned that you are migrating stuff over from source to destination - I feel this article is too complex for your situation and not really worth (for your requirement). The setup described
    in the article is an excellent choice if you are planning to keep both forests alive for longer duration due to several reasons like compliance or company mergers and so on...
    please let me know if my explanation is not clear enough.. we can even even have a one-on-one email conversation too!
    All the best!
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. Regards, Siva

  • Oracle service bus and composing two web services

    All,
    Do let me know your thoughts on this.
    Currently we have two web services
    Web Service 1 - Verify Eligibility
    Web Service 2 - Approve Proposal
    Web Service 1 has one operation and accepts a well defined set of input parameters similarly web service 2 also exposes a single operation and accepts a set of input parameters.
    These are deployed and running in our environment.
    Now we have a requirement to stitch together these two web services and expose them as one single composite web service on the Oracle Service Bus 11g.
    I want to create a proxy service on the OSB as unified web service (having its own WSDL) by composing the operations and input plus output parameters of the aforementioned two web services.
    This way we can publish the WSDL to the front-end apps and they will trigger it with the required parameters and the proxy service will orchestrate the call to WS1 and WS2 and send the final output back to the calling client.
    I was able to create an outbound call from the Proxy service to the underlying business services but I am not able to expose the Proxy service as web service with a WSDL i.e. create the proxy service by choosing operations of Web service 1 and web service 2
    Please let me know your thoughts on this.
    Regards,
    Sushant

    Thanks Atheek
    The proxy service I tried to create orchestrate 2 web services.
    But where we are struggling is How can i make this proxy service (composite) as a web service along with the WSDL.
    The proxy service should be able to accept calls from the client with set of inputs representing both the underlying web services and coordinate calls b/w these two services and return consolidated output back to the calling client.
    I am not finding a way to create a proxy service (web service along with the wsdl) which is representative of the underlying web services in a consolidated manner that can accepts inputs on behalf of both the underlying web services, orchestrate calls b/w the 2 web services and return the final output back to the calling client.
    example modified to keep it brief
    web service1
    operation name: Verify Eligibility
    Input: Complex type (String name, int Id, String address)
    Output: Complex type(String approval status, int Id, String reason)
    web service2
    operation name: Approve Proposal
    input: Complex type(String approval status, int Id, String reason, int Amount, int EmployeeCount)
    Output: Complex type (String final status, String recommendation)
    Composite Proxy Web Service
    name: Composite Eligibility and Approval
    Input: Complex type ( String name, int Id, String address, int Amount, int EmployeeCount)
    Output: Complex type(String approval status, int Id, String reason,String final status, String recommendation)
    The composite proxy should be created in a manner to jam the inputs of both the underlying web services and expose a representative interface on behalf of both the web services. This composite web service interface creation (WSDL) is where we are struggling a bit.
    Because the calling clients need a unified WSDL to able to communicate with the composite web service.
    Do post your thoughts.
    Thanks Again,
    Sushant

  • Difference between  a WEB service and a Enterprise Service?

    Can Anybody explain me the difference between  a WEB service and a Enterprise Service?

    Hi Anilkumar K Naidu ,
    Web service
    A Web service is a self-contained, modularized functionality, which can be published, discovered, and accessed across a network using open standards and which is supported by SAP NetWeaver. Web services cover services provision for integration within an enterprise as well as cross enterprises on top of any communication technology stack, whether asynchronous or synchronous, in any format. 
    Web Services in the NetWeaver framework play an important role in facilitating the integration of disparate applications from various departments or trading partners and thus increasing business productivity. This benefit allows small and medium businesses also to integrate their business applications with larger trading partners. The benefit derived from this seamless integration introduces security concerns when all the business logic is now being exposed through a standard interface that is a catalyst for security vulnerabilities. SAP Security Managers must use automated diagnostics tools to ensure that the security vulnerabilities are caught in pre-production and in post-production phase.
    Web Services Testing: SAP Netweaver Platform
    http://www.crosschecknet.com/web_services_testing_SAP.php
    How Web services play a key role on the SAP NetWeaver
    http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-500244687cbd30ffd
    How to develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How To... Set Up a Web-Service Related Scenario with SAP xi
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    Enhancing Your Web Services with SAP Exchange Infrastructure
    http://www.sappro.com/downloads/SAPXI.pdf
    Web Services, Part XI: Consuming Multiple Web Services
    http://www.webreference.com/js/column106/
    Vulneribility assesment of SAP Web Services
    http://www.crosschecknet.com/resources/white_papers/sap_va.pdf
    Enterprise Service
    Enterprise Service-Oriented Architecture (Enterprise SOA)
    Enterprise SOA is a blueprint for an adaptable, flexible, and open IT architecture for developing services-based, enterprise-scale business solutions. With SAP NetWeaver as a technical foundation, enterprise SOA moves IT architectures to higher levels of adaptability – and moves companies closer to the vision of real-time enterprises by elevating Web services to an enterprise level.
    An enterprise service is typically a series of Web services combined with business logic that can be accessed and used repeatedly to support a particular business process. Aggregating Web services into business-level enterprise services provides a more meaningful foundation for the task of automating enterprise-scale business scenarios.
    SAP Enterprise Services Architecture
    http://en.wikipedia.org/wiki/SAP_Enterprise_Services_Architecture
    ENTERPRISE SERVICEORIENTED ARCHITECTURE – DESIGN,  EVELOPMENT,AND DEPLOYMENT
    http://download.sap.com/platform/esoa/brochures/download.epd?context=FB8D5E235B637255604CD1EDB755014400C523BC4E4632245A59C838A212B5F04C71A43F8B38FC591628F4C698D8CAA859405AA974284758
    Enabling Enterprise Services
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/be7042f1e6d242e10000000a1550b0/content.htm
    Enterprise Service-Oriented Architecture
    https://www.sdn.sap.com/irj/sdn/enterprisesoa
    Define Enterprise Services using the Enterprise Services Community
    https://www.sdn.sap.com/irj/sdn/define-es
    Enterprise service bus
    http://en.wikipedia.org/wiki/Enterprise_service_bus
    Enterprise Services Workplace
    http://erp.esworkplace.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/flddisplay.asp
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Sharing Application Data Between 2 Web Services

    Hello,
    I have two web services that need to share data. They do not need to EXCHANGE data, but they need to have some sort of shared context to make the data available to each other.
    If its significant, one WS is jar-rs based, and the second is jax-ws based. In fact, there might be a third entity that is a conventional servlet, that also will participate in the data-sharing.
    Any response is greatly appreciated. Thank you for your time and support!

    No you can share data without exchanging it. If two or more web services have the same application context, they can create/update/remove shared attributes via servlet context. That is not exchanging data. Anyway I figured it out.
    All you have to do is grab the servlet context and add/replace attribute objects with names you share across the application

  • Web Start client for two Web Services

    Hello.
    I wrote a client application that uses two different web services.
    Both web services are created using Basic Authentication. They have different user_names and passwords, but must be deployed on the same application server. I must invoked methods of these web services one after another.The problem occures when I invokes mehods of second web service. No matter which of service would be first or second. The problem occurs on second calling. I got this exception:
    EXCEPTION: java.rmi.RemoteException: HTTP Status-Code 403: Access to the requested resource has been denied; nested exception is:
         HTTP Status-Code 403: Access to the requested resource has been denied
         at com.softlets.insurelet.security.InsureletSecurityServiceSEI_Stub.login(InsureletSecurityServiceSEI_Stub.java:89)
         at com.softlets.insurelet.test.TestRefundPolicy.main(TestRefundPolicy.java:61)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    IMPORTANT: Everything worked fine until I started to install this application using Java Web Start.
    MY ASSUMPTION: It's likely to me that web start executes my application in some environment where it caches the first web service's username and password and applies it to the second web service. Because, if I run both web services on my local machine and set ENDPOINT_ADDRESS_PROPERTY to different values (first - localhost:8080, second - 192.168.0.21:8080) everything works fine.
    CODE FRAGMENT:
    public static void main(String[] args) {
    try {          
    String user = "test"; String pass ="test";
    String host = "http://192.168.0.21:8080/insurelet-p/insurelet_p";
    Stub stub = (Stub)(new Insurelet_policies_Impl().getInsureletPoliciesServiceSEIPort()); stub1._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, host);
    stub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, user);
    stub._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, pass);
    InsureletPoliciesServiceSEI ws = (InsureletPoliciesServiceSEI)stub;
    String officeid = "test1"; String operatorid = "test2"; String mct = "1";
    // FIRST WEB SERVICE CALLING
    boolean result = ws.makeRefund(officeid, operatorid, mct);
    String suser = "test"; String spass ="test";
    String shost = "http://192.168.0.21:8080/insurelet-s/insurelet_s";
    Stub stub1 = (Stub)(new Insurelet_security_Impl()).getInsureletSecurityServiceSEIPort();
    stub1._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, suser);
    stub1._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, spass);
    stub1._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, shost);
    InsureletSecurityServiceSEI ws1 = (InsureletSecurityServiceSEI)stub1;
    // SECOND WEB SERVICE CALLING
    OperatorTO to = ws1.login("softlets", "admin", "admin"); // EXCEPTION
    ENVIRONMENT: Both web services are deployed in a single enterprise application on Sun Java System Application Server 8.1.
    Java version: 1.5..0_02

    In case anyone's search leads them here, I've posted the solution at:
    *[http://www.pby.com/general.nsf/webarticles/dominowebservice01]*
    It is an exhaustive article (not "Hello World"!) that goes through several versions of the web service and client - hopefully explaining all* pieces of the puzzle:
    ~ web service code,
    ~ WSDLs
    ~ schema
    ~ thoroughly-documented clients that do and do not use JAXB
    ~ ... that use generated artifacts
    ~ ... that customize existing POJOs
    ~ the SOAP messages generated in each direction
    ~ the necessary JAXB annotations
    ~ explanations of how the code works
    ~ explanations of how namespaces affect the code
    ~ on and on and on...
    My constant goal was to write an uncomplicated solution that uses as few artifacts (two) and annotations as possible. The end result is a small, fast JAX-WS 2.0 client that uses JAXB to invoke and consume a secured Domino 7 (1.4.2 JVM + AXIS) web service, using RPC/literal SOAP messages.

  • Java client failing to connect to web service - help!!

    Hi
    I have created a Web service using ASP Web Matrix, which currently resides on my C drive in c:\Service6\HelloWorld.asmx.
    The service can be tested from a browser on my local machine by calling: http://localhost/Service6/HelloWorld.asmx. This works fine, i.e. it takes a string as a parameter and returns an amended string.
    When I try to access this from a Java client I created in Netbeans, however, I get the following error message:
    Server did not recognize the value of HTTP Header SOAPAction: sayHiya.
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
    Can anyone advise what I am doing wrong?
    [nb. I have spent over a week trying to sort this, so I have tried!!)
    The code for the client follows:-
    // The Axis package is used to generate and handle the SOAP call
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    // The rpc package is used to create the RPC call
    import javax.xml.namespace.QName;
    import javax.xml.rpc.NamespaceConstants;
    // The java.net package gives a URL class
    import java.net.URL;
    public class HelloWorldClient {
        /** Creates a new instance of HiyaClient */
        public static void main(String[] args)
    try
    String endpoint = "http://localhost/Service6/HelloWorld.asmx";
    Service service = new Service();
    Call call = (Call) service.createCall();
    // Configure the call
    call.setTargetEndpointAddress(new URL(endpoint));
    call.setSOAPActionURI("sayHello");
    call.setEncodingStyle(NamespaceConstants.NSURI_SOAP_ENCODING);
    call.setOperationName(new QName("urn:HelloWorld", "sayHello"));
    //call.setReturnType(XMLType.XSD_STRING);
    System.out.println("**Works to here**");
    //Invoke the call
    String result = (String) call.invoke(new Object[] { "Diane" });
    System.out.println("Sent 'Diane', got '" + result + "'");
    catch(Exception e)
    System.err.println(e.toString());

    Hiya, did try that - tried
    "http://localhost:8080/HelloWorld.asmx" and
    "http://localhost:8080/Service6/HelloWorld.asmx" and it still didn't work.
    Thanks anyway.
    Anyone else got any bright ideas?

  • Unable to Find the Type Mapping Resource File (Two web services)

    Hello,
    I am using BEA weblogic 7.0 to deploy my applications. I have a web service and was able to deploy it sucessfully. I am trying to access this web service from another web service previously succesfully deployed too. When I call the second one, I have the next problem:
    java.io.IOException: unable to find the type mapping resource file for:tuoprec.sinsesion.TuOPRecService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegistry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at tuoprec.sinsesion.TuOPRecService_Impl.<init>(TuOPRecService_Impl.java
    I put the client jar file (2nd web service) obtained from the <clientgen> in the class path of the ear file (1st web service), but I have the same error.
    Can anybody help me?,
    jose luis

    Hello,
    I am using BEA weblogic 7.0 to deploy my applications. I have a web service and was able to deploy it sucessfully. I am trying to access this web service from another web service previously succesfully deployed too. When I call the second one, I have the next problem:
    java.io.IOException: unable to find the type mapping resource file for:tuoprec.sinsesion.TuOPRecService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegistry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at tuoprec.sinsesion.TuOPRecService_Impl.<init>(TuOPRecService_Impl.java
    I put the client jar file (2nd web service) obtained from the <clientgen> in the class path of the ear file (1st web service), but I have the same error.
    Can anybody help me?,
    jose luis

  • How to exchange data between two web application (servlet)

    Hello, all,
    I have two servlets: SerlvetA and ServletB, they are deployed as web appA and appB in the same web container(tomcat)
    How ServletA exchange data with ServletB?
    I have tried follow methods:
    1) appA and appB could not share HttpSession, so I could not transfer data through session
    2) I write a new sigleton java class called AppBroker, servletA get AppBroker's instance, and set some data into the it. ServletB could not get the same instance of the AppBroker, because the appA and appB use different class loader.
    tell me how to?

    thanks reply, but
    1. static class can not solve the problem, it is same
    as my sigleton class method, as different web app use
    different class loaderhmm... at least in tomcat this seems not be true since i can use static classes in one webapp that are available in another web app on the same host/servlet runner.
    Maybe if you build your own classloader than the "scope" of the static class is limited to that classloader (for my understanding this shouldn't be the case since i think it depends on the instance of the jvm and not of the classloader..?!).
    2. rmi and object serialization are too expensive!
    I am working on how to use jndi to solve this problem.
    And I think this maybe a Sevlet specification's
    shortcoming: maybe a Local Method as EJB local
    interface need been introduced into servlet spec.
    could you suggestion other methods?none at the moment. i guess the basic methods are listed.
    Maybe there's just one left, a really ugly one. Depending on what kind of data and how often you have to exchange you could think of building a file-based queue, i.e. a dir where you drop files in an read out from the other web app (maybe based on a file/directory listener). But this would only be an appropriate way to go for kind of email and messaging systems i guess...

  • 9.0.3 two web services questions

    OK, I'm trying to get web services to work and having two problems.
    The (hopefully) simple one: I want to install a web service on the local OC4J, and I can't seem to get the connection to work. Getting connection refused. Not sure why. Didn't see any problems like this with 9.0.2, but we mostly installed them on 9iAS.
    The more complex one: I started working with a PLSQL web service. While I can't execute it yet (see above), I can create one with a simple return type. For example, something like f_seq_to_name (i_seq in number) return varchar2. And the stub is pretty easy.
    But if I want to return a rowtype, for example
    f_seq_to_row (i_seq in number) return facility_table%rowtype,
    the routine is grayed out because JDev decides there is an out parameter of type "null". I could explicitly include each individual parameter, but that seems like a waste of developer effort. And this happens for both rowtypes and ref cursors, so it will be pretty hard to move any significant amount of data. So am I missing something, or is this a bug? If it's a bug, will it be fixed in 9.0.3 production?
    Of course, I can go over to BC4J and try this there with view objects. But I'm looking to see which of the tools are usable.
    -- jim

    Here is some pointers that might help:
    1. A PL/SQL Web Services Tutorial using Oracle9i JDeveloper 9.0.3 including the setup necessary to configure OC4J. As you will see you don't have to actually create a SOAP connection in JDev; for PL/SQL you simply need to have an app server connection as per the writeup. See:
    http://otn.oracle.com/tech/webservices/htdocs/series/plsql/content.html
    2. To see what data types are supported for PL/SQL take a look at:
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95453/plsqlservices.htm#1030045
    ROWTYPE and REFCURSOR are not supported. This does not appear to change between 9.0.3 preview and 9.0.3 production. There are some other approaches to consider, though your milage may vary. For example, VARRAYS and abstract datatypes are supported - you can see the ADT support in the above tutorial and try VARRAYs by tweaking it to return an array of employees rather than a single employee.
    Hope this gets you going.
    Mike.

  • Direct java invocation without using of a web services

    Hi all
    I cannot figure out how it is possible to call a java method (plain java class or ejb) without wrapping it into a web service.
    Sometime it is reasonable to avoid using web services when performance is critical.
    Is it possible at all?

    Hi Alex,
    If you are still interested in this topic I can suggest something to you.
    You can develop an EJB, then assign it as mapping function in your Process Composer project.
    After that you can use the mapping function in a mapping activity or for the input or output mappings of any other process model element.
    For more information how to do so you can read this articles :
    [Using a Custom EJB Function as a Mapping Function in SAP NetWeaver Business Process Management (CE 7.11)|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/609c9982-39af-2b10-768b-e5bd8813c1f3]
    [Using an EJB as a Custom Mapping Function in SAP NetWeaver Business Process Management (CE 7.2)|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10cdec44-0add-2c10-078a-93124d0b570b]
    Hope this helps.
    Best Regards
      Ivo Simeonov

  • Class path problem with POJO web service

    I created a simple web service manually:
    - created java class;
    - generated web-services.xml
    - coplied web-services.xml into my *.war file, WEB-INF directory.
    This works fine as long as the class that implements web service is in the war file in folder /WEB-INF/classes.
    I need the java class to be in one of the jar files in the folder /WEB-INF/lib. This does not work. I am getting class not found error.
    I tried to modify <java-class> element to specify the jar file (the same way as ejb-link element does):
    <java-class class-name="my.jar#my.Service" name="MyService">
    </java-class>
    This did not help either. How can I specify name of POJO class in the *.jar file?
    Thanks,
    Serguei

    PATH and CLASSPATH are different. PATH is an environment variable used by windows to locate programs. CLASSPATH is an environment variable that java uses to find classes.
    You need to create a new environment variable. The easiest way to do it in win2k (and to keep it after you reboot) is to do this: right click on "My Computer" and click "Properties" (or go to "System" in the control panel). Click on the "Advanced" tab. Click the "Enviroment Variables..." button. In that window, add a system variable by clicking "New..." in the bottom half. Variable Name: "CLASSPATH" Variable Value: ".;J:\Skribe\Tools\mysql-connector-java-3.0.0-beta\mysql-connector-java-3.0.0-beta-bin.jar;J:\jakarta-log4j-1.2.6\dist\lib\log4j-1.2.6.jar"
    You have to make sure that ".;" is the first thing on the line. This tells java to look in the current active directory first for classes it doesn't recognize, then in locations you specify. By default, it just looks in the current directory.
    Hope this helps.

Maybe you are looking for

  • How can I get a search field?

    In fewer times there was a field for adress and one for searching. Since the last modification there is no searching field. I like this field. How can i get it back? Thanks for help.

  • Smartform in Abap Webdynpro

    Hi Expert, I am new to SmartForm and WDP. I try to follow the below instruction to do, but got lots of error. Could anyone help me on this? http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785 My sma

  • Problem with symbol euro

    Hi, I have a problem with xml publisher when i used a symbol euro (€). I have a ? in my output. Have you an solution ? Thank you

  • Passing Parameters to a report query

    I have built a report query, the query has 3 parameters. select * from EMP_DETAIL where emp=:EMPP and loc=:LOCP and seq=:SEQP When I test the query, enter the parameters manually, it renders and I get my report. When I add this layout to a standard o

  • Download assistant error 101 during Photoshop installation

    I am unable to install Photoshop using Adobe Download Assistant. Because after finishing download it saying "Unable to extract.. error 101...". I'm trying to download it here: C:\Users\me\Downloads and I am the administrator. My system configuration: