Has anyone deployed JAX-RPC based webservices on WebLogic8.1

Hi all...
I 've been trying to deploy the jaxrpc based webservices on weblogic8.1/6.1....but its not working...it works fine on tomcat server...
so if anyone has deployed and tested the webservices on weblogic successfully...pls help..
thanks
khajaM

Jwenting,
Thanks for your reply.Could you please tell me what should I need to perform to overcome this problem.I have pasted below my client program for your reference.
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axis2.Constants;
import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.context.MessageContext;
public class AxisBasedClientForJWS {
private static EndpointReference targetEPR =
new EndpointReference("http://localhost:7001/final/IntegWebservice");
private static OMElement getResponse(String symbol) {
OMFactory fac = OMAbstractFactory.getOMFactory();
OMNamespace omNs = fac.createOMNamespace("http://IntegratorWebservices.org/wsdl","");//"http://IntegratorWebservices.org/wsdl", "tns");
OMElement method = fac.createOMElement("add", omNs);
OMElement value = fac.createOMElement("symbol", omNs);
value.addChild(fac.createOMText(value, symbol));
method.addChild(value);
return method;
public static void main(String[] args) {
try {
     OMElement getResponse = getResponse("WSO");
     Options options = new Options();
options.setTo(targetEPR);
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ServiceClient sender = new ServiceClient();
sender.setOptions(options);
OMElement result1 = sender.sendReceive(getResponse);
String response1 = result1.getFirstElement().getText();
System.err.println("Current price of WSO: " + response1);
} catch (Exception e) {
e.printStackTrace();
System.out.println(e);
With regards
Ramesh.G

Similar Messages

  • Has anyone deployed converged access with 3850 switches and 5760 WLCs?

    Has anyone deployed a converged access network architecture with 3850 switches and 5760 WLCs? I have done lots of projects with the 5508 WLCs In a centralized deployment. Basically with this design, I manage 2 logical networks as the wireless network is an overlay over the wired network. I can design firewall to segregate traffic between the wired and wireless hence I can carry both staff and guest traffic.
    Now Cisco is telling us that there is new design such that the dats plane traffic can be dropped locally through the 3850 switched. I am not sold on this and have not found any recommended best practices on when should we use a converged access architecture.
    Pros
    With converged access, data traffic is terminated at the MA which is on the switches, hence the WLC will not be a bottleneck? This is to prepare adoption for 802.11ac?
    Less hops for voice calls from user A to user B as data control traffic is dropped locally.
    Cons
    Now how do I segregate guest and staff traffic if my security folks say I need a firewall?
    Troubleshooting wireless client mobility will be a nightmare as the 3850 switches are MA.
    Pushing and upgrading code for the Code will mean upgrading the stack of switches in the LAN riser. This will be painful in a huge campus environment like an university.
    Can someone convince me why would a customer choose converged access?
    Sent from Cisco Technical Support iPad App

    They choose CA because of the capwap termination at the switch. You can still use a 5508 and tunnel guest to a DMZ segment if you wish. You will need a 5508 though is you want to tunnel traffic to an anchor WLC.
    Sent from Cisco Technical Support iPhone App

  • Error deploying JAX-RPC war in JBoss

    I am using the JBoss 3.0.3 with Tomcat 4.1.12. After creating a JAX-RPC application I have tried deploying the completed war to JBoss, but get an error saying that Jboss cannot find the:
    com.sun.xml.rpc.server.JAXRPCContextListener. java.lang.ClassNotFoundException
    This class lives in the jaxrpc-ri.jar file, from the jwsdp-1_0_01 distribution (Java Web Services Developer Pack). I've tried copying this jar file to the Jboss lib directory, but it still doesn't get past the error.
    How can install this jar (and/or other JAX-RPC jars) for Jboss to use? See server errors below:
    9:56:31,071 INFO [Engine] WebappLoader[VehicleInfoService]: Deploy class files /WEB-INF/classes/space/jboss/jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/work/MainEngine/localhost/VehicleInfoService/WEB-INF/classes
    19:56:31,671 INFO [Engine] ContextConfig[VehicleInfoService]: Added certificates -> request attribute Valve
    19:56:31,852 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader delegation: true
    19:56:31,853 INFO [Engine] StandardManager[VehicleInfoService]: Seeding random number generator class java.security.SecureRandom
    19:56:31,856 INFO [Engine] StandardManager[VehicleInfoService]: Seeding of random number generator has been completed
    19:56:32,141 ERROR [Engine] StandardContext[VehicleInfoService]: Error configuring application listener of class com.sun.xml.rpc.server.http.JAXRPCContextListener
    java.lang.ClassNotFoundException:
    com.sun.xml.rpc.server.http.JAXRPCContextListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1428)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3217)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3524)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
    at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:427)
    at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:302)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
    at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy4.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:427)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:648)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
    at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:397)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

    Deploy the jax-rpc implementation along with your application.
    The library is found in the Webservices Developers Kit at
    jaxrpc-1.0.3/lib/jaxrpc-ri.jar

  • Create and deploy jax-rpc ws on weblogic 9.2

    I am finding a solution how to build a simple jax rpc web service using weblogic 9.2 ant tasks. I cant find a task which generate war out of my implementation.
    It have to be JAX-RPC ws (not JAX-WS).
    Please help me, I have been searching for hours yet...(without success)
    Edited by julius4 at 04/07/2008 3:58 AM

    Hi Carmen,
    WLS 8.1 provides a spec compliant, full featured JAX-RPC
    implementation. Mixing the impl can cause unpredictable and unexpected
    results because they share many of the same upper layers, but under the
    covers things can be quite different.
    If you are looking for J2EE 1.4 web service features, stay tuned...we
    are working at flank speed.
    Regards,
    Bruce
    Carmen wrote:
    >
    Hi All :
    I am a beginner and I need help ...!!
    as far as I know , weblogic 8.1 is a J2EE 1.3-compliant application server ..so
    does this mean that I can't deploy Sun's jax-rpc webservice (which is a standard
    way to develop webservices in j2EE 1.4 ) on weblogic 8.1..?
    and If I can't , is there a way to configure weblogic in order to deploy Sun's
    jax-rpc webservice..?
    would you please help me to find the answers..??
    Thanks,

  • Has anyone deployed Oracle Identity Analytics applciation in Websphere?

    Hi All,
    I am facing an issue in accessing the deployed application.I have deployed the application on the default virtual hosts The appserver logs does not show any errors but the application could not be accessed using the url. Below is the URL i am using.
    http://appservername:9081/rbacx.
    If anyone has already deployed OIA in Webspshere, please let me know the steps you had followed or atleast how you are accessing the application.
    Below are the details of my deployment.
    OIA version : 11.1.1.3.6
    Websphere version : 7
    Thanks,
    Jayakumar.

    Bryan,
    <p>I also put a lot of weight in Tom’s posts; I am however convinced that contacting Oracle Support is a better solution for direct, bug related questions. I do, for example not doubt that his human tasks did not work when put in parallel flows. There might be workarounds, such as putting the human workflow stuff in a separate service, but to me sounds like a bug and bugs should be reported, analyzed, and fixed.</p>
    <p>As you can see from my profile, I do not live in Poland so I do not know about the training situation there, but I have, personally, delivered five SOA Suite classes so far during 2007 and I know that I am not the only one running SOA training in Sweden. I might be wrong, but based on my own experience, I have assumed that the lack of training that Tom is experiencing is due to communication problems, and that contacting Oracle Education would sort things out. (Training in Europe tends to be given in the local language. A quick look at the web shows that the next 5 day SOA Suite training in Poland seems to be scheduled for November 19th.)</p>
    <p>On the topic of frequent changes in interfaces as mentioned above, I agree that an update of the table structure in a database must never cause business process updates. If that is the case, the architecture most likely suffers from tight coupling. I never recommend anyone to use adapters direct from BPEL try to but use (coarse gained) services published on the service bus as much as possible to avoid such problems. For an introduction to SOA best practices see (for example) Dave Schaffer’s 7 Steps to SOA in SOA World Magazine.</p>
    <p>I am sorry if you feel that my posts are not providing the level of support you where hoping to find. Perhaps it is our expectations community/forums vs official product support that differs. Regarding whether Oracle has figured it out or not, you do not have to trust me – take a look at what InfoWorld or Forrester are saying.</p>
    <p/>
    Best,<BR>
    Mathias

  • WSDL Parser [Is anyone else testing WCF-based webservices?]

    I'm encountering the following message when attempting to force the use of the .NET parser when interrogating the WSDL of a new webservice:
    Parsing specified wsdl...
    Connecting to https://BLAH-BLAH/MobileTerminated.svc?wsdl
    Validating https://BLAH-BLAH/MobileTerminated.svc?wsdl
    .NET Parser could not parse https://BLAH-BLAH/MobileTerminated.svc?wsdl
    Warning:Selected .NET Parser is invalid.
    Must installed the .net sdk Framework.
    Failed to parse https://BLAH-BLAH/MobileTerminated.svc?wsdl
    Am I correct in interpreting this as "you need the .NET SDK installed in order to use the .NET Parser within OATS"?
    I already have .NET framework 3.5(SP1) but not the SDK.
    [UPDATE] It is probably significant that the webservice I need to test is WCF-based.
    Edited by: IHodgetts on May 21, 2010 5:45 PM
    Edited by: IHodgetts on Jun 21, 2010 12:07 PM

    I know I'm answering my own post here, but a lot of work has gone into this and someone else may as well benefit from my findings...
    It would appear that OATSv9.10 does NOT support WCF-based webservices. The problem is apparently down to OpenScript not supporting WS-Addressing (part of Windows Communication Foundation) and this isn't currently scheduled for inclusion in v9.20 (much to my disappointment).
    However, I have in the meantime found a workaround. Basically IGNORE what OpenScript populates the request with!
    1) Use the OpenScript parser (the .NET parser will not work) to parse the WSDL.
    2) Add the method(s) you require to the script.
    3) The script will at this stage have two problems but can be used as a starting point.
    Problem #1 - The content-type will need to be manually changed from "text/xml;charset=UTF-8" to "application/soap+xml; charset=utf-8". Edit this by right-clicking on the request and selecting "Headers" then "Content-Type".
    Problem #2 - The contents of the request will not include the WS-Addressing information. One workaround is to obtain a working packet to replace this e.g. from a test harness for your WCF-webservice. Edit this by right-clicking on the request and selecting "Post Data". Replace the WHOLE string with a valid packet from your test harness.
    Hopefully this will assist anyone else trying to get this working :-)

  • Deploying JAX-RPC Client for client-side application

    I have a java Swing client side application that I am attempting to integrate web services capabilities into. The web services were already written (new to web services myself), I am just calling them. Using Oracle's JDeveloper I managed to create proxies for the web services and to call them just fine, once I added the JAX-RPC Client library to my project.
    My only issue is how to deploy. Again within the development environment all works perfectly. I tried references to all the jar files identified by the Oracle JAX-RPC Client library to know luck. I've referenced other jar files I use for deployment with no issues.
    Anyone created standalone applciations before that call web services? How did you deploy the web service related libraries.
    I'm using JDeveloper 10.1.3.3.0 with Java 1.5.0_06.
    I appreciate any guidance provided.

    I found a solution, but it shouldn't have been that difficult. JDeveloper provides a view of what JARs are part of a library. I used that as a starting point of what JARs might be required for my instance. I switched to linking to the individual JARs within their JDeveloper installed locations directly instead of the single library. I then systematically starting removing them one-by-one from my list to determine which were actually being used in my implementation. I did this because there were way too many to deploy. Once that was done I created a separate directory for holding the required JARs files local to my application.
    Lastly, I had to take care of any internal references within the JARs that may link to other JAR files. So I opened each JAR and looked at its manifest and copied those files over. Then I repeated the steps of deternmining if they were really necessary and copying over other internal references until I had the complete list.
    In the end I ended up with a considerable smaller list of JARs then if I had just assumed all JARs within the library and their references. However, it was much more difficult then it needed to be.

  • Has anyone deployed in production using SOASuite ?

    Just want to check if anyone is using ESB / Oracle BPEL in production.
    Lately we have been facing some issues and we r wondering if we should cut our losses or is it worth continuing ?

    Bryan,
    <p>I also put a lot of weight in Tom’s posts; I am however convinced that contacting Oracle Support is a better solution for direct, bug related questions. I do, for example not doubt that his human tasks did not work when put in parallel flows. There might be workarounds, such as putting the human workflow stuff in a separate service, but to me sounds like a bug and bugs should be reported, analyzed, and fixed.</p>
    <p>As you can see from my profile, I do not live in Poland so I do not know about the training situation there, but I have, personally, delivered five SOA Suite classes so far during 2007 and I know that I am not the only one running SOA training in Sweden. I might be wrong, but based on my own experience, I have assumed that the lack of training that Tom is experiencing is due to communication problems, and that contacting Oracle Education would sort things out. (Training in Europe tends to be given in the local language. A quick look at the web shows that the next 5 day SOA Suite training in Poland seems to be scheduled for November 19th.)</p>
    <p>On the topic of frequent changes in interfaces as mentioned above, I agree that an update of the table structure in a database must never cause business process updates. If that is the case, the architecture most likely suffers from tight coupling. I never recommend anyone to use adapters direct from BPEL try to but use (coarse gained) services published on the service bus as much as possible to avoid such problems. For an introduction to SOA best practices see (for example) Dave Schaffer’s 7 Steps to SOA in SOA World Magazine.</p>
    <p>I am sorry if you feel that my posts are not providing the level of support you where hoping to find. Perhaps it is our expectations community/forums vs official product support that differs. Regarding whether Oracle has figured it out or not, you do not have to trust me – take a look at what InfoWorld or Forrester are saying.</p>
    <p/>
    Best,<BR>
    Mathias

  • Cisco CSM - Has anyone deployed it in their environment for IDS/IPS devices

    We are an MSP and are evaluating Cisco CSM to manage about 50 IDS/IPS devices. Each of these devices has their own customer signature policy.
    Does anyone use it in their production environments? Do you find it useful?
    Regarding policy management for devices that already have a signature policy, I know you can discover the policy, what we want to do is take the current discovered policy, modify it if we need to and then re-deploy it to the device. I'm finding that this is all read only once the policy is discovered.
    Is there a way to modify the signature, for example, adding a logging parameter and then re-deploy?
    Just curious if others had similar experiences with CSM.
    Thanks!

    haxworthy,
    I currently use CSM to manager a variety of IPS devices (IOS IPS, 42xx Sensors, 65xx-series blades). The policies vary on some devices. CSM works wonderfully. CSM discoveries the various policies on the device on an individual basis. Policies can then be edited on a per-sensor basis or on a group level. Has worked wonderful in our environment. A nice upgrade from the old IPSMC. Let me know if you have any other questions.
    -Mike
    http://cs-mars.blogspot.com

  • Has anyone deployed Web Services on J2EE RI 1.3.1 using Studio ?

    I am getting the following run time exception -
    java.lang.RuntimeException: Failed to fnd SOAP deployment descriptor by the resource name '/as/WebService/ClaimsManagerWebServiceSOAP.dd'. Unable to automatically deploy as a SOAP service.
         at com.sun.forte4j.webdesigner.basecomponent.DeploySOAP.loadRegistry(DeploySOAP.java:47)
    And Studio has deployed my service under $J2EE_HOMEpublic_html/ClaimsManagerContext as follows -
    ClaimsManagerWebService.wsdl META-INF
    ClaimsManagerWebServiceClient_Error.jsp original.war
    ClaimsManagerWebServiceClient_SOAP.html soap.xml
    getLightWeightClaims_SOAP.jsp WEB-INF
    and under WEB-INF/classes/as/WebService i have my .dd -ClaimsManagerWebServiceSOAP.dd

    Sorry : my version xmlpserver is 101342

  • Invoking a jax-rpc based web service from a jsp

    hello
    i'm trying to invoke a WS from a jsp page, working on tomcat + jwsdp
    the ws i'd created and deployed on the server is named TestCNRPS, it contains the method: int exist(int ..)
    i wrote this jsp page for testing :
    <%@ page contentType="text/html;charset=windows-1252" import="cnrps.*" %>
    <HTML>
    <HEAD>
    <TITLE>Appel service Web</TITLE>
    </HEAD>
    <BODY>
    <%
    int num_cin=45475645;
    TestCNRPSIF_Stub stub = (TestCNRPSIF_Stub)(new TestCNRPSService_Impl().getTestCNRPSIFPort());
    stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,System.getProperty("endpoint"));
    out.println(stub.exist(num_cin));
    %>
    </BODY>
    </HTML>
    but i received this exception:
    java.rmi.RemoteException: Erreur de transport HTTP : java.lang.NullPointerException; nested exception is:
    Erreur de transport HTTP : java.lang.NullPointerException
    cnrps.TestCNRPSIF_Stub.exist(TestCNRPSIF_Stub.java:87)
    org.apache.jsp.invoqueWS_jsp._jspService(invoqueWS_jsp.java:58)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:268)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:258)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:205)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Has someone an idea ??
    thx
    ps : i tested the WS from a client class and it worked fine

    Hi Paul,
    This sound familiar, but I cannot at the moment locate a reference to
    the issue. I would encourage you to seek the help of our super support
    team [1].
    Regards,
    Bruce
    [1]
    http://support.bea.com
    [email protected]
    Paul Merrigan wrote:
    >
    I'm trying to invoke a secure 8.1 web service from a 6.1 client application and keep getting rejected with the following message:
    Security Violation: User: '<anonymous>' has insufficient permission to access EJB:
    In the 6.1 client, I've established a WebServiceProxy and set the userName and password to the proper values, but I can't seem to get past the security.
    If there something special I need to do on either the 8.1 securing side or on the 6.1 accessing side to make this work?
    Any help would be GREATLY appreciated.

  • Has anyone deployed a midlet on a virtual sensor under windows 7 64 bit?

    Hello
    I need help and I would really appreciate if any one can save me.
    when I want to deploy a midlet on a virtual sensor in Solarium, I get this error: "Cannot load C:\Program Files\Java\jdk1.7.0_21\jre\bin\client\jvm.dll"
    My OP is windows 7 (64 bit). my java is also 64 bit and I should remind that there is no jvm.dll in in client folder in 64 bit java. So I set the address of jvm.dll to:
    "C:\Program Files\Java\jdk1.7.0_21\jre\bin\server"
    but still I get the same error.

    Got the exact same problem aswell, finally fed up with it now as i just started up firefox and 14 new windows opened because of this bug, luckily my computer can handle them but someone with a slower processor it would have been a nightmare, needs fixing ASAP.
    Reverting back to 3.6.3 until this issue is solved. (link for anyone wanting to do the same below)
    http://www.filehippo.com/download_firefox/7345/

  • Has Anyone deployed an EMC Symmetrix VMAX 20K using FAST VP in a 50 TB RAC Environement?

    Hi All:
    My organization is about to undertake a hardware upgrade/migration of our largest dataset -- currently about 37TB and growing. Our intial provisioning will be for 50 TB. The RAC cluster will be 3 8 core servers with 256 Gb RAM and fiber attached EMC storage. We've met with the EMC reps and they are touting their tiered stroage solution called FAST VP. They use a mix of SSD, Fiber Channel and SATA devices and supposedly the SAN 'migrates seamlessly the data amongst these devices by activity'. my concern is that this is a DSS environement with little or no frequently accessed data to warm up into either cache or 'hot' storage. Our workload is characterised by massive parallel queries that do full table scans. I can't see how FAST VP will work to our advantidge in this envriorment and wanted to reach out and see if other DBA's are using this technology and what their perceptions are.

    Hi All:
    My organization is about to undertake a hardware upgrade/migration of our largest dataset -- currently about 37TB and growing. Our intial provisioning will be for 50 TB. The RAC cluster will be 3 8 core servers with 256 Gb RAM and fiber attached EMC storage. We've met with the EMC reps and they are touting their tiered stroage solution called FAST VP. They use a mix of SSD, Fiber Channel and SATA devices and supposedly the SAN 'migrates seamlessly the data amongst these devices by activity'. my concern is that this is a DSS environement with little or no frequently accessed data to warm up into either cache or 'hot' storage. Our workload is characterised by massive parallel queries that do full table scans. I can't see how FAST VP will work to our advantidge in this envriorment and wanted to reach out and see if other DBA's are using this technology and what their perceptions are.

  • JAX-RPC Client for VB-SoapToolkit3.0 WebService

    I need to develop a JAX-RPC client for a VB6.0 WebService (the WebService being generated through MS SoapToolkit3.0).
    I'm using JWSDP 1.0_01. The WSDL that the JWSDP is using to generate the stubs is the one generated by the MS SoapToolkit. My WebService
    has only one method (Public Test(xpto As String)As String) that receives and returns a string.
    So what's the problem:
    - JAX-RPC client sends a SOAP packet different than what the WebService expects, especially in the namespaces. JAX-RPC generates some strange namespaces, like xmlns:ns0="xpto" (xpto is the name of the argument of the WebService) or xmlns:ns1="Result xpto"
    - Looking at the JAX-RPC generated WebService interface, I see that instead of String, the method test receives a StringHolder (???). What's a string holder, and why isn't a String?
    The resumed message returned by the WebService:
    <mserror:description>WSDLReader:None of the matching operations for soapAction http://tempuri.org/Test/action/WS.Test could successfully load the incoming request. Potential typemapper problem HRESULT=0x80070057: The parameter is incorrect.
    - Server:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.
    </mserror:description>
    Any help would be apreciated.
    Thanks

    Can you send the WSDL that you used to generate the JAXRPC client?
    Thanks

  • J2EE Web services and JAX-RPC

    Hello..
    While working with J2EE web services using JDeveloper and OC4J, I noticed that it really doesn't confirm to Sun's JAX-RPC standard. The Web Service interface class does not extend the "Remote" and all methods don't throw "RemoteException" as mandated by JAX-RPC standard.
    I have few questions:
    (1) Are the OC4J J2EE web services completey different from JAX-RPC based web services.??
    (2) Does Oracle have any implementation of JAX-RPC??
    (3) Is Sun the only one promoting and implementing the JAX-RPC standard? Or are there other players?
    thanks...

    (1) Are the OC4J J2EE web services completey different from JAX-RPC based web services.??
    OC4J J2EE Web Services originate from Oracle/Apache SOAP with several differences:
    a. A model where each type of implementation gets a specific servlet (e.g. one for EJB's, one for PL/SQL, one for stateless and stateful Java classes. Architecturally, you can see the picture here:
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/orawebservices.htm#1024808
    (scroll down a half page for the picture)
    b. The packaging of the Web services rather than using the Apache SOAP registration mechanism uses something closer to JSR 109 (also known as Web Services for J2EE, part of J2EE 1.4 with JAX-RPC, SAAJ [SOAP API forAttachments in Java] and JAXP [Java API for XML Parsing]), where the Web service is packaged as an ordinary ear file for deployment.
    Oracle built this implementation by extrapolating from the JAX-RPC documentation that was available last year before it was a final specification in an effort to release a production quality Web services implementation that was aligned with JAX-RPC. It has been through two releases - Oracle9iAS 9.02 and Oracle9iAS 9.0.3 and is now being evolved to JAX-RPC as we move to J2EE 1.4.
    (2) Does Oracle have any implementation of JAX-RPC??
    We are planning to release a JAX-RPC implementation in the new year (I don't have specific dates yet) on OC4J. The production implementation of this will be as seamless a migration as possible from the existing implementation. Oracle9i JDeveloper will also add support for JAX-RPC as a 3rd option in its list of choices available. You can get a sense of how such a migration would work by running the Web services wizard in JDev for Apache SOAP and then, in a separate project, running it for Oracle9iAS J2EE Web Services - imagine there being another option for JAX-RPC. The work to migrate should be as simple as running a wizard or command line utility (known as the Web Services Assembler tool in Oracle9iAS).
    (3) Is Sun the only one promoting and implementing the JAX-RPC standard? Or are there other players?
    Pretty much every one in the Java side of industry will be implementing JAX-RPC. The important time to note is when J2EE 1.4 is released ... sometime in the new year ... I believe around March but may be mistaken. Part of J2EE 1.4 is required support for JAX-RPC, SAAJ, Web Services for J2EE etc etc. This will standardize the implementation of Web services. Oracle, like others in the industry, supports the standard protocols, (SOAP), interfaces (WSDL) and registries (UDDI) - what J2EE 1.4 does is standardize the packaging, deployment and implementation (the wrappers generated by the tooling).
    My guess is that around JavaOne (June 2003) there will be a rash of announcements from J2EE vendors announcing support of JAX-RPC and J2EE 1.4 (or early implementations) as we will be in the same race that happened in 2001/2002 when J2EE 1.3 was the spec to announce implementations around.
    Mike.

Maybe you are looking for