WSDP w/ Apache SOAP-RPC

Hi,
Has anyone tried to develop/deploy a web service under WSDP and invoke it from a client app written under Apache SOAP-RPC? Can this be done w/ or w/o 'axis'
from Apache-SOAP?
Thanks,
Marcia

yes, this can be done ...and even vice versa.
This is just a soap call and it dees not matter from where it is called.
Generate the webservice and deploy it. Use the WSDL generated to create the client with Apache Soap. Point to the end point URL for the webservice made with JAX-RPC.
I tried by creating a webservice with Apache Soap-RPC and accessing through the client made with Jax-RPC.
regards

Similar Messages

  • Org.apache.soap.rpc.Call is hanging on invoke()...

    Hi.
    What do you do when you're making a call to a webservice with
    org.apache.soap.rpc.Calland it just plain hangs on the Call.Invoke() method?
    -pfv

    Hi.
    What do you do when you're making a call to a webservice with
    org.apache.soap.rpc.Calland it just plain hangs on the Call.Invoke() method?
    -pfv

  • Failing silently when trying to construct org.apache.soap.rpc.SOAPContext

    OK This is really weird. I have an app that runs fine in eclipse. I have deployed to using webstart but when I try to instantiate org.apache.soap.rpc.SOAPContext default constructor it fails.
    All my jars are signed and I have given all permissions in the jnlp
    here is the jnlp
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+" codebase="http://cs12895.adm.bju.edu/dc" href="dc.jnlp">  
         <information>     
              <title>DC App</title>     
              <vendor>Bob Jones University</vendor>     
              <homepage href="http://www.bju.edu"/>     
              <description kine="one-line">The Discipline Committee Application</description>     
              <description kind="short">The Discipline Committee Application</description>            
               <icon href="imageIcon.gif"/>     
               <shortcut online="false">     
               <desktop/>     
               </shortcut>    
               <offline-allowed/>  
          </information>  
          <security>     
              <all-permissions/>  
          </security> 
         <resources>     
              <j2se version="1.5+" max-heap-size="256m"/>
              <jar href="dc.jar"/>          
              <jar href="looks-2.0.2.jar"/>     
              <jar href="log4j-1.2.12.jar"/>         
              <jar href="jdnc20060529003752.jar"/>        
              <jar href="hibernate3.jar"/>        
              <jar href="forms-1.0.7.jar"/>                   
              <jar href="soap.jar"/>
              <jar href="swingx20060529003241.jar"/>
         </resources>  
         <application-desc main-class="edu.bju.dc.rich.LoginFrame"/>
    </jnlp>Here is the code. In this cod ethe first debug messageI see but i do not see the second message. Which is how I now it is not getting constructed.
         log.debug("Setting up call to auth ws");
        Call call = new Call();
        log.debug("Finished setting Call up");
        String soapActionURI = "urn:AuthService";

    OK I got it working. It was not throwing an exception but when I put I try catch looking for throwables I discovered it was looking for mail.jar. So all better now :-)

  • Package org.apache.soap does not exist

    Hi,
    I'm trying to deploy a webservice made out of stateless session bean.
    When i run the service by invoking its method through browser then I get an exception as
    Servlet error: Cannot generate Class:
    package org.apache.soap does not exist
    import org.apache.soap.Header;
    -- It seems that the oc4j is not loading soap.jar under soap/lib
    But when I add soap.jar to WEB-INF/lib then I get an exception as
    java.lang.LinkageError: Class org/apache/soap/rpc/SOAPContext violates loader constraints
    Which means soap.jar is loaded previosuly
    The required classes are present in soap.jar
    Can you please help me on this
    Regards
    ~Anil

    Yippee... problem solved... classpath setting problem

  • Apache SOAP with websphere 6.1

    I want to use Apache SOAP in websphere 6.1 since we will be reusing the framework developed already using Apache SOAP.This has been implemented only with weblogic previously.
    Now we are trying to use this in combination with websphere 6.1,Is this supported?How to proceed?

    Hi Thierry,
    When we wrote the web services layer for BEA we purposefully left out
    stateful session beans and entity beans because they did not match the
    "services" model and there is no standard way to keep the state between
    calls to the service. I believe the Apache implementation uses the HTTP
    session for this behaviour. I don't know what the problem is with the
    Apache SOAP implementation but I can try and help you either 1) use a
    stateless session bean to call your sfsb, or 2) convince me that stateful
    beans implemented outside the web services standard is something BEA should
    support.
    Sam
    "Thierry Janaudy" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    I wanted to use BEA's implementation of SOAP, but the problem is that you
    cannot call SFSB.
    Therefore I tried to install and run Apache SOAP (Which provides a service
    for SLSB, SFSB, EB).
    However, you I try to remotely list the services through:
    java -cp %CP% org.apache.soap.server.ServiceManagerClient
    http://localhost:7001/soap/servlet/rpcrouter list
    I always get
    Exception in thread "main" java.lang.NoSuchMethodError
    at org.apache.soap.util.xml.QName.<init>(QName.java:80)
    at org.apache.soap.util.xml.QName.matches(QName.java:146)
    at org.apache.soap.Envelope.unmarshall(Envelope.java:237)
    at org.apache.soap.rpc.Call.invoke(Call.java:230)
    at
    org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
    t.java:129)
    at
    org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:1
    51)
    at
    org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
    37)
    Do you have any idea why?
    Thx

  • APACHE SOAP Errors .Problem with client

    Hello, i have installed a jakarta-tomcat 4.1.31 server
    and added soap to it.
    i 've deployed some services as taught by some tutorials
    but when i try to test the service i get errors.
    Exception in thread main java.lang.NoClassDefFoundError : org/apache/soap/server/ServiceManagerClient
    the same error but with another file
    samples/addresssbook/PutAddress
    it seems to me that the client cannot access the files!
    is it so?
    in case you need further info please say it

    When i try to list my services i get this
    \lib\soap.jar;C:\soap\jakarta-tomcat-4.1.31\common\lib\mail.jar;C:\soap\jakarta-
    tomcat-4.1.31\common\lib\activation.jar
    C:\soap\jakarta-tomcat-4.1.31>set CLASSPATH=C:\soap\jakarta-tomcat-4.1.31\common
    \lib\soap.jar;C:\soap\jakarta-tomcat-4.1.31\common\lib\mail.jar;C:\soap\jakarta-
    tomcat-4.1.31\common\lib\activation.jar;C:\soap\jakarta-tomcat-4.1.31\common\lib
    \xerces.jar
    C:\soap\jakarta-tomcat-4.1.31>java org.apache.soap.server.ServiceManagerClient h
    ttp://localhost:8080/soap/servlet/rpcrouter list
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=No Des
    erializer found to deserialize a ':return' using encoding style 'http://schemas.
    xmlsoap.org/soap/encoding/'.; targetException=java.lang.IllegalArgumentException
    : No Deserializer found to deserialize a ':return' using encoding style 'http://
    schemas.xmlsoap.org/soap/encoding/'.]
    at org.apache.soap.rpc.Call.invoke(Call.java:244)
    at org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
    erClient.java:127)
    at org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
    .java:149)
    at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
    .java:235)

  • Trying to invoke Apache SOAP 2.3.1 RPC services

    I have several legacy apache SOAP 2.3.1 RPC services I am trying to invoke using a synchronous BPEL process. The services are invoked (confirmed by tailing the log on the machine hosting the service) , however, the return value is null in all cases.
    I used the snoop utility and I verified a response is indeed being returned, so I am perplexed as to why BPEL is not able to interpret the response.
    Any help/ideas would be appreciated as I would prefer not to have to rewrite these services.
    Thanks,
    RM

    Did you specify the correct message type for your return variable?
    <Invoke_1_Authenticate_OutputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Result">
    null
    </part>
    </Invoke_1_Authenticate_OutputVariable>
    As is returns:
    <ns1:AuthenticateResponse
    xmlns:ns1="http://vitalstream.com/webservices" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <return xsi:type="xsd:int">1</return>
    </ns1:AuthenticateResponse>
    Regards,
    Marc

  • "invalid request" when calling Apache Soap 2.2 webservice using 8.1.1

    I have tried setting soap-style to RPC as advised in the documentation but keep
    getting this same error. Server is Apache Soap 2.2. Another test client using
    Apache Soap 2.3.1 got the same error. I am trying to call a webservice in a WLI
    process flow. I have generated the web service control from the wsdl. Error follows:
    <01-Oct-2003 11:04:04 o'clock EST> <Warning> <WLW> <000000> <Id=bank_so_11; Meth
    od=processes.bank_so_1.GetNextAccountNumber(); Failure=com.bea.control.ServiceCo
    ntrolException: SOAP-ENV:Clientinvalid request>
    <01-Oct-2003 11:04:04 o'clock EST> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.TestWSBank_wf.$__clientRequest(); Failure=com.bea.wli.bpm.runtime.Un
    handledProcessException: Unhandled process exception [ServiceException]>
    <01-Oct-2003 11:04:04 o'clock EST> <Error> <WLW> <000000> <Failure=com.bea.wli.b
    pm.runtime.UnhandledProcessException: Unhandled process exception [ServiceExcept
    ion]>

    Hi Jerry,
    There is not much to go on here to help solve your problem. Can you
    successfully invoke the external service from Workshop's Test View? If
    this works OK you might ask your question to the integration newsgroup
    and see if they have some insight:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.integration
    Hope this helps,
    Bruce
    Jerry Shea wrote:
    >
    I have tried setting soap-style to RPC as advised in the documentation but keep
    getting this same error. Server is Apache Soap 2.2. Another test client using
    Apache Soap 2.3.1 got the same error. I am trying to call a webservice in a WLI
    process flow. I have generated the web service control from the wsdl. Error follows:
    <01-Oct-2003 11:04:04 o'clock EST> <Warning> <WLW> <000000> <Id=bank_so_11; Meth
    od=processes.bank_so_1.GetNextAccountNumber(); Failure=com.bea.control.ServiceCo
    ntrolException: SOAP-ENV:Clientinvalid request>
    <01-Oct-2003 11:04:04 o'clock EST> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.TestWSBank_wf.$__clientRequest(); Failure=com.bea.wli.bpm.runtime.Un
    handledProcessException: Unhandled process exception [ServiceException]>
    <01-Oct-2003 11:04:04 o'clock EST> <Error> <WLW> <000000> <Failure=com.bea.wli.b
    pm.runtime.UnhandledProcessException: Unhandled process exception [ServiceExcept
    ion]>

  • Tomcat & Apache Soap Installation

    I have install the Tomcat successfully and also install the Apache Soap.
    But when I tried to do the test (from: http://xml.apache.org/soap/docs/index.html):
    Point my browser to:
    http://localhost:port/soap/servlet/rpcrouter
    there is no expected answer like following appears:
    The browser should display the following:
    SOAP (RPC|Message) Router
    Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.
    the brower only says it cannot find the webpage!
    does anyone know the reason? your help is appreciated in advance now!!
    Gang

    This may be due to the classpath problem. xerces.jar should be first in the classpath. Otherwise for xml related files tomcat goes to jaxp.jar
    U read the following document. It'll help u a lot in installing apache soap.
    http://www.javaworld.com/javaworld/jw-04-2001/jw-0427-soap.html
    -seenu_ch

  • 'Apache SOAP 3.0 (Axis)'

    How do i configure the proxy generator to use 'Apache SOAP 3.0 (Axis)'?

    The interop with OC4J904 adds a pretty major feature with its untyped support. If you look through the list here you will see almost 80-90% of the questions to do with interop have to do with untyped. So I am hoping that this change will solve the most prominent use cases. There is one unsupported case in the preview that has now been fixed for production and that is support for arrays with untyped elements (e.g. the SOAP messages has the array definition through SOAP encoding but the contents of the array are untyped).
    Going forward to the JavaOne timeframe we expect to be previewing our JAXRPC implementation on OC4J that will have our first step towards WS-I compliance - as both sides MS and the Java camp both are working heavily in the WS-I organization and expect to have WS-I compliant engines, I believe/hope this will be the next big step towards interop between platforms.
    So as for your question on Apache AXIS ... if you are planning to stay with the integrated Oracle stack that is evolving pretty tightly with the standards, the answer would be no - stick with Oracle's stack. Especially since development right now is heavily focussed around JAX-RPC support.
    However, there are things that AXIS has today that we do not have so there may be tactical reasons to go to it today. For deployment of AXIS on OC4J you shouldn't have to use Tomcat at all ... in the 1.0 and the 1.1 RC there is essentially a WEB-INF directory with all the required files in it - the lazy way to test it out without thinking at all is to create an empty J2EE application called "XXX" where XXX is some meaningful name, deploy XXX to OC4J and then drop in a new WEB-INF directory from AXIS in there and away you go.
    Mike.

  • Apache soap with WL5.1

    Hi everyone,
    I have a problem to install apache soap.
    I have register rpcrouter and set my classpath correctly. It look like RPCRouterServlet
    get started but it has following error. Anybody has an idea what went wrong and
    how to fix?
    SOAP RPC Router
    Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.
    Thanks,
    Ho.

    Just means that the servlet method would not accept a "GET" method.
    Try communicating with a POST.
    I tried and it worked.
    --Naggi
    "Ho An" <[email protected]> wrote in message
    news:3acdcd05$[email protected]..
    >
    Hi everyone,
    I have a problem to install apache soap.
    I have register rpcrouter and set my classpath correctly. It look likeRPCRouterServlet
    get started but it has following error. Anybody has an idea what wentwrong and
    how to fix?
    SOAP RPC Router
    Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk tome.
    Thanks,
    Ho.

  • Invocation of SOAP Sender Adapter using Apache SOAP

    Hi,
    I'm trying to invoke the XI SOAP Sender Adapter using the Apache SOAP API. It seems that my message header is missing a few parameters (see exception below). Does anybody know which to set?
    Regards,
    Heiko
    ==========
    Exception:
    <?xml version='1.0'?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
              <context>XIAdapter</context>
              <code>Exception</code>
              <text><![CDATA[
    com.sap.aii.af.mp.module.ModuleException
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:502)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:227)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
         at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:162)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:392)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java:321)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
    Caused by: java.lang.Exception: Bubble configuration error: parameter 'XI.InterfaceNamespace' is missing
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.getParaRequired(XISOAPAdapterBean.java:895)
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.createDefaultMessageHeader(XISOAPAdapterBean.java:942)
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.setup(XISOAPAdapterBean.java:214)
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:496)
         ... 22 more
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>

    Hi Heiko,
    You are missing the Namespace Parameter in the sender soap adapter configuration in XI3.0
    Thanks
    Prasad

  • Linkage Error when using Apache SOAP 2.2 with Weblogic 6.1

    Has anyone seen this error before? Apparently I've got some incompatible versions of xerces being loaded. I tried putting different versions of xerces.jar in the front of my classpath, and creating an XML Registry to point to org.apache.xerces.jaxp..., but I always get the same error message.
    D:\soap>java -classpath "/soap-2_2/lib/soap.jar;activation.jar;mail.jar;xerces.jar;." org.apache.soap.server.Servic
    eManagerClient http://localhost:8001/App/servlet/rpcrouter list
    Ouch, the call failed:
    Fault Code = SOAP-ENV:Server.Exception:
    Fault String = loader constraints violated when linking org/xml/sax/InputSource class

    Has anyone seen this error before? Apparently I've got some incompatible versions of xerces being loaded. I tried putting different versions of xerces.jar in the front of my classpath, and creating an XML Registry to point to org.apache.xerces.jaxp..., but I always get the same error message.
    D:\soap>java -classpath "/soap-2_2/lib/soap.jar;activation.jar;mail.jar;xerces.jar;." org.apache.soap.server.Servic
    eManagerClient http://localhost:8001/App/servlet/rpcrouter list
    Ouch, the call failed:
    Fault Code = SOAP-ENV:Server.Exception:
    Fault String = loader constraints violated when linking org/xml/sax/InputSource class

  • How to install Apache Soap in OC4J?

    I used Soap in Tomcat an couple of weeks ago. I try to use Soap in OC4j. I can not find any instruction in soap web site. Could you please tell me if you know how to do it?
    Thank you.
    Marian

    Hi,
    to deploy the Apache SOAP (Axis I guess) you can do the following (this deployment is to the global application of OC4J):
    Add to application.xml:
    <web-module id="axis" path="C:\\TEMP\\xml-axis-alpha3\\webapps\\axis" />
    Add to http-web-site.xml or default-web-site.xml (depending if you are running 1.0.2.2 or the pre-release of OC4J v2.0):
    <web-app application="default" name="axis" root="/axis" />
    You can now access the app using the following URL: http://localhost:8888/axis
    Thanks,
    Andy

  • Authentication and EJB Providers in Apache SOAP 2.0

    Has anyone tried to modify the latest Apache SOAP code to pass the rpcrouter
    servlet Basic Authentication information (from HTTPSession) on to the JNDI
    initial context in the Stateless Session EJB Provider code (i.e. impersonate
    the authenticated http user for EJB calls)? I am thinking about allowing
    SOAP users to inherit the EJB deployment descriptor access control setup.
    Dan Meany

    With the link attached.
    Hi Denes, This is a configuration for configuring mod_auth_sspi on Apache 2.2 (and proxy to the EPG) I haven't tried 2.0 but I'm pretty sure it should work in the same way.
    Re: NTLM Authentication
    Rob..

Maybe you are looking for

  • Why won't iTunes load?

    When I try and access the iTunes Store from within iTunes, the 'Accessing iTunes Store...' progress bar keeps going round but nothing loads. I see a big grey line of text saying "iTunes Store" and that's it. I've disabled my anti-virus and restarted

  • Interactive Heuristic not working in product view

    Good morning, I am trying to run a Heuristic in the Product view (sapapo/rrp3) and I get the following message: 'Stage number algorithm can not be run in the simulation version' but I am trying to run this in our active version, any ideas? thanks in

  • Editing music info in itunes

    I recently bought a new computer and reloaded my itunes into it. I had to deauthorize all of my other computers to get it to work. Everything is fine now except I cannot edit any of the info of a song, such as title or artist. When I go into get info

  • Not all photos on photostream sync to iPad

    IPhoto says I have 197 photos in my photo stream. I recently had to delete my iCloud account on my iPad 2 because the notes were not syncing. When I added my iCloud account back only a few photos from the photostream synced back up. What can I do to

  • I have Windows 8 and need to transfer my pictures and videos from my iPhone 5S to my computer.

    Please list the instructions on transferring my pictures and videos from my phone to my computer.  I am trying to free up space so that I may sync my phone.