Apache Soap vs Java Webservices Pack

Can anyone tell me how Apache Soap's implementation (AXIS) relates to what SUN is doing with their Webservice and XML packages? With SUN's upcoming standard will the Apache AXIS project have to incorporate the new code or is this all independent since it is based on SOAP and WSDL standards?

sorry - i moved this topic to the correct forum.

Similar Messages

  • Apache soap and java

    Hi I wanted to know which websites have Apache SOAP webservices which we can write a client for in java and implement

    First, it shouldn't matter whether they're running apache or not - that's the point of web services. Second, IBM and Microsoft have UDDI sites that list various web services. One public one I know of is google's. Is this for school?

  • "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]>

  • Code webservices in WLS 6.1 sp2 using apache soap servlet

    Please let me know the steps necessary to use the soap servlet from apache while
    coding the webservices.
    Thanks
    Vaneet

    Please let me know the steps necessary to use the soap servlet from apache while
    coding the webservices.
    Thanks
    Vaneet

  • Java Webservice Developer Pack client code generation

    Hi,
    I am working on Weblogic Webservices, i am trying to generate client code using 'xrpcc' tool.
    Client code has been generated, and i am able to invoke webservices on the server. But i am not able to receive return value from the server and getting follwing error.
    D:\TMP\java\webservices\wsdl\test\checkfree\nawf>java test.checkfree.nawf.NAWFCl
    ient
    java.rmi.RemoteException: Runtime exception; nested exception is:
    java.lang.NullPointerException
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:234
    at test.checkfree.nawf.GateWayPort_Stub.receiveAccountInfo(GateWayPort_S
    tub.java:60)
    at test.checkfree.nawf.NAWFClient.main(NAWFClient.java:10)
    Caused by: java.lang.NullPointerException
    at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
    ormerIdentityImpl.java:354)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:95)
    ... 2 more
    Please, can any one tell immdly?
    Thanks
    Shiva

    could u post more info !!! like your wsdl ?

  • 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

  • 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

  • Problems calling SOAP in JAVA program

    Hello Experts,
    I'm quite new to using SOAP. I just want to ask how to call SOAP in JAVA specifically NetBean. I already created a webservice using the WSDL a created in SAP XI but problem is when I'm trying to invoke the webservice I always get error "401 Unathorized". Is there a way to specify the user name and password when calling the webservice via JAVA code?
    Error Message:
    Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
    Sample Code:
    public class Main {
    @param args the command line arguments
        public static void main(String[] args) throws UnsupportedEncodingException {
            ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT Req = new ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT();
            Req.setCompanyCode(" ");
            Req.setCustomerNumber("00110");
            RespCustDetailsDT cdwsMI = cdwsMI(Req);
            System.out.println("Customer :" + cdwsMI.getCustomerNumber());
            System.out.println("Name     :" + cdwsMI.getName());
            System.out.println("Street   :" + cdwsMI.getStreet());
            System.out.println("Coutnry  :" + cdwsMI.getCountry());
            System.out.println("City     :" + cdwsMI.getCity());
            System.out.println("MSG Type :" + cdwsMI.getMessageType());
            System.out.println("Message  :" + cdwsMI.getReturnMessage());
        private static RespCustDetailsDT cdwsMI(ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT reqCustomerNoMT) {
            ph.co.amkor.atp.ppmodule.synch.CDWSMIService service = new ph.co.amkor.atp.ppmodule.synch.CDWSMIService();
            ph.co.amkor.atp.ppmodule.synch.CDWSMI port = service.getCDWSMIPort();
            return port.cdwsMI(reqCustomerNoMT);
    SAP Netweaver Information
    Session Information
    Application:
    Design: Integration Builder
    User:
    aafri
    Logon Language:
    Korean
    Server:
    atpxisd01_XD1_01
    Server Node:
    server0
    Runtime Environment
    Java version:
    1.4.2_12
    Java vendor:
    Sun Microsystems Inc.
    Version
    Service pack:
    12
    Release:
    NW04S_12_REL
    Latest change:
    29423
    Sync time:
    ${sync.time}
    Regards,
    Alfred

    Hello John Wu,
    Points were given.
    The code you gave me worked. Thanks! but now I'm having another error below. It seems that it did not returned anything at all cause cdwsMI object is null.
    Error:
    Exception in thread "main" java.lang.NullPointerException
            at xiwebservice.Main.main(Main.java:31)
    Java Result: 1
    Line were error happened:
    public class Main {
    @param args the command line arguments
        public static void main(String[] args) throws UnsupportedEncodingException {
            ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT Req = new ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT();
            Req.setCompanyCode(" ");
            Req.setCustomerNumber("00110");
            RespCustDetailsDT cdwsMI = cdwsMI(Req);
            +System.out.println("Customer :" + cdwsMI.getCustomerNumber());+
            System.out.println("Name     :" + cdwsMI.getName());
            System.out.println("Street   :" + cdwsMI.getStreet());
            System.out.println("Coutnry  :" + cdwsMI.getCountry());
            System.out.println("City     :" + cdwsMI.getCity());
            System.out.println("MSG Type :" + cdwsMI.getMessageType());
            System.out.println("Message  :" + cdwsMI.getReturnMessage());
        private static RespCustDetailsDT cdwsMI(ph.co.amkor.atp.ppmodule.synch.ReqCustomerNoDT reqCustomerNoMT) {
            ph.co.amkor.atp.ppmodule.synch.CDWSMIService service = new ph.co.amkor.atp.ppmodule.synch.CDWSMIService();
            ph.co.amkor.atp.ppmodule.synch.CDWSMI port = service.getCDWSMIPort();
            BindingProvider prov = (BindingProvider) port;
            prov.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "aafri");
            prov.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "betanew3");
            return port.cdwsMI(reqCustomerNoMT);
    Regards,
    Alfred

  • Calling a java webservice from another application say a Vb client

    Hi,
    I have written a simple web service which greets the user "Hello" and using Apache axis and deployed on Tomcat.Everything works fine.
    But lots being said about interoperability but right now i cannot appreciate that as i don't know how to call my webservice written in java to be called from say a VB application or a component running on IIS server.
    Can anyone write a small snippet of code to do that..
    Your help is highly appreciated...
    thanks
    vasubabu bathina

    Hi,
    Thanks for your reply but i am looking for something more.Like how to get the WSDL file from my webservice and writing a simple clinet application accessing the webservice written using Apache Soap.

  • Apache SOAP 2.2 - Weblogic 6.1SP2

    Hi,
    Has anyone managed to get Apache SOAP working with Weblogic 6x?
    I can get everything up and running, but for some reason the classloader
    for the web application (ie; the actual Apache SOAP app) doesn't load the
    classes in my jar file containing the EJB files, serializers, etc.
    Therefore whenever I make a SOAP request I get a server side error reported
    via SOAP that some class or another (one of my own ones) cannot be found.
    I can cure this by sticking my jar file in the server's classpath - however
    this isn't great as it means the JVM's classloader is picking everything up
    and I lose the ability to redeploy.
    Any ideas? In the absence of any other information it would seem that
    Weblogic's classloaders are buggy...
    Cheers,
    Trev

    Hi Trev,
    Let's recap here:
    1. You are deploying the .war file for Apache SOAP, into WLS 6.1 SP2, right? If
    yes, you copied the .war file into the $WL_HOME/config/examples/applications directory,
    or something similar, right?
    2. It (some class or classes in soap.war) couldn't find the classes for your EJB
    so, you "unwarred" it, created a WEB-INF/lib directory, and copied the .jar for
    your EJB into that directory. Then you re-jarred the soap.war, right? If so, did
    you put a <ejb-ref> element in the web.xml (for soap.war), so it (the SOAP webapp)
    would know about the ejb?
    The <ejb-ref> should look something like this:
    <ejb-ref>
    <description></description>
    <ejb-ref-name>examples.webservices.security.PhoneBookService</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>examples.webservices.security.PhoneBookServiceHome</home>
    <remote>examples.webservices.security.PhoneBookService</remote>
    </ejb-ref>
    You'd also need to create a WEB-INF/weblogic.xml file and put something like this
    in it:
    <reference-descriptor>
    <ejb-reference-description>
    <ejb-ref-name>examples.webservices.security.PhoneBookService</ejb-ref-name>
    <jndi-name>examples.webservices.security.PhoneBookService</jndi-name>
    </ejb-reference-description>
    </reference-descriptor>
    But, I would do any of this because your EJB doesn't have "diddly squat" to do
    with Apache SOAP ;-) The Apache SOAP web app is a "standalone" thing, right? You
    want to use your EJB "with it", not be part "of it" right? Exactly! So, let's
    abandon that route...
    3. Next, you tried to turn the Apache SOAP Web Application (.war) into the Apache
    SOAP Enterprise Application (.ear). I'm assuming that you created a META-INF/application.xml
    that looked something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application
    1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
    <application>
    <display-name>Apache SOAP 2.2</display-name>
    <module>
    <web>
    <web-uri>soap.war</web-uri>
    <context-root>/soap</context-root>
    </web>
    </module>
    <module>
    <ejb>{name of the .jar for your ejb}</ejb>
    </module>
    </application>
    But, you didn't create the <ejb-ref> stuff in #2 above. Again, I don't think it
    makes a lot of sense to put "your EJB" in the "Apache SOAP" Enterprise application
    What's going on here (the Apache SOAP code not being able to find your EJB classes)
    is "expected behavior" as far as the BEA docs go. Everyone I know (including me!)
    that deploys the Apache SOAP web app in WebLogic, creates a .jar that contains
    a copy of all the remote (and home) interface classes that the rpcrouter servlet
    will call, and puts this in the -classpath used to start WebLogic. That way, it
    (the Apache SOAP web app) will be able to find them. I don't put the jar for the
    EJB in the -classpath, though. To be honest, I don't use Apache SOAP because it
    doesn't support WSDL yet ;-)
    Regards,
    Mike Wooten
    "ts" <[email protected]> wrote:
    Hi Mike,
    Cheers for the response. I've read the documentation you've linked to
    and I
    understand how WLS performs class loading.
    However, the documentation implies that I could either;
    A) Package the SOAP war file together with my EJB jar file in an EAR
    file
    and deploy, and the SOAP web app would subsequently be able to reference
    classes/beans. (Ref: "Although you could deploy the .war and .jar files
    separately, deploying them together in an .ear file produces a classloader
    arrangement that allows the servlets and JSPs to find the EJB classes.")
    B) Simply place my EJB jar file in the WEB-INF\lib subdirectory of the
    deployed SOAP web app. (Ref: J2EE specification).
    In fact, neither of these work, and I am forced to include the EJB jar
    in
    the server's classpath.
    Surely theres some kind of problem here?
    Cheers,
    Trev
    "Michael Wooten" <[email protected]> wrote in message
    news:[email protected]...
    Hi Trev,
    Technically, this is not so much an issue with the classloader(s) inWLS,
    as it
    is with J2EE packaging. WLS uses a pretty sophisticated, hierarchicalclass loading
    architecture. The main reason for using this approach, was to supportundeploying/redeploying
    J2EE components (i.e. Servlets, EJBs) without shutting down the JVM.
    What you are encountering is a phenomena where Apache SOAP is deployedas
    a Web
    Application, with it's own ServletContext and classloader.
    See the following links for specifics on class loading and J2EE packagingin WLS:
    http://e-docs.bea.com/wls/docs60/programming/packaging.html#1048725
    After reading this, you will see why the classloader associated withthe
    Apache
    SOAP web app, cannot see the classes (i.e. serializer, EJBs, etc.)you are
    using
    to implement your web service.
    Regards,
    Mike Wooten
    "ts" <[email protected]> wrote:
    Hi,
    Has anyone managed to get Apache SOAP working with Weblogic 6x?
    I can get everything up and running, but for some reason the classloader
    for the web application (ie; the actual Apache SOAP app) doesn't load
    the
    classes in my jar file containing the EJB files, serializers, etc.
    Therefore whenever I make a SOAP request I get a server side error
    reported
    via SOAP that some class or another (one of my own ones) cannot befound.
    I can cure this by sticking my jar file in the server's classpath-
    however
    this isn't great as it means the JVM's classloader is picking everything
    up
    and I lose the ability to redeploy.
    Any ideas? In the absence of any other information it would seem that
    Weblogic's classloaders are buggy...
    Cheers,
    Trev

  • Problem using VB Client with a JAVA Webservice

    Hi people!
    I'm using JDeveloper (9.0.3) to create a JAVA Webservice on OC4J container. I followed tutorial of Oracle and I got to execute my webservice, including I can invoke my methods by HTTP using HTML forms.
    I need to invoke my methods using a VB Client with MIcrosoft SOAP ToolKit. My VB code is:
    Function autenticar(login As String, senha As String)
    Dim ObjWS As New MSSOAPLib30.SoapClient30
    Dim retorno As Variant
    Call ObjWS.MSSoapInit("http://10.71.200.40:8888/iSimp-Web-Root/br.gov.anp.isimp.controleVersao.ControleVersaoEJB?WSDL")
    retorno = ObjWS.autentica(login, senha)
    autenticar = retorno
    End Function
    My webservice publish a method called autentica that receives two parameters (a login and a password) and authenticates to obtain access to my system.
    When I try to execute this function, I got this message error:
    No deserializer found to deserialize a ":login" using encoding style "http://schemas.xmlsoap.org/soap/encoding/". [java.lang.illegalArgumentException]
    Anyone knows what is this error?

    If you could post what solved your problem that would be useful for others that run into the same issue. Thanks if possible!
    Mike.

  • SOAP Receiver   java.io.IOException: unable to create a socket

    Hi All,
    I have scenario where i invoke a external webservice  (over internet)  using SOAP adapter. I can reach the external target as they see my traffic on firewall but i always get:
    com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: unable to create a socket
    I cannot find any logs which provide more information on this. I have imported all the clients certificates into my J2EE keystore (webservice is over HTTPS). Any suggestions on where better logs can be found would be appreciated. So far checked RWB and the default trace log.
    Since my certificates arent in ABAP stack I cant use SM59 to test. I have used test tool like soapUI and can invoke the web service (although on different network to my XI server) so not sure why XI is failing
    Any suggestions would be greatly appreciated!
    Sorry forgot to mention - The error its self i suspect is firewall and will need to get network people to look at but any information on how to debug errors like this on J2EE side would be appreciated - is there a J2EE version of SM59?
    Message was edited by:
            Chris Mills

    Hi Chris,
    Check this thread..
    SOAP Adapter: java.io.IOException: unable to create a socket
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • 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

  • Problems using a VB Client to access a JAVA Webservice

    Hi people!
    I'm using JDeveloper (9.0.3) to create a JAVA Webservice on OC4J container. I followed tutorial of Oracle and I got to execute my webservice, including I can invoke my methods by HTTP using HTML forms.
    I need to invoke my methods using a VB Client with MIcrosoft SOAP ToolKit. My VB code is:
    Function autenticar(login As String, senha As String)
        Dim ObjWS As New MSSOAPLib30.SoapClient30
        Dim retorno As Variant
        Call ObjWS.MSSoapInit("http://10.71.200.40:8888/iSimp-Web-Root/br.gov.anp.isimp.controleVersao.ControleVersaoEJB?WSDL")
        retorno = ObjWS.autentica(login, senha)
        autenticar = retorno
    End FunctionMy webservice publish a method called autentica that receives two parameters (a login and a password) and authenticates to obtain access to my system.
    When I try to execute this function, I got this message error:
    No deserializer found to deserialize a ":login" using encoding style "http://schemas.xmlsoap.org/soap/encoding/". [java.lang.illegalArgumentException]Anyone knows what is this error?

    Thanks guys! I'm already solve my problem.

  • Error message : soap fault: java.lang.NumberFormatException

    Hello,
    I have Idoc to SOAP scenario. We I send Idoc, I get following error,
    SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: java.lang.NumberFormatException Message being parsed:
    To be on safer side, I have populated all the fields with values. I have tested the same scenarion using SOAP UI tool with payload from XI & it works fine.
    This is very annoying. Can anybody help?
    Regards,
    Sunil

    Prateek,
    Here is my xml which goes to web service via SOAp adopter,
       470 {/ns0:company_code} 
       Constant {/ns0:userid} 
       Constant {/ns0:password} 
       1 {/ns0:acklm} 
       20090821 {/ns0:badat} 
       1020104878 {/ns0:banfn} 
       A {/ns0:banst} 
       NB {/ns0:bsart} 
       20090821 {/ns0:erdat} 
       Constant {/ns0:temp1} 
       Constant {/ns0:temp2} 
       Constant {/ns0:temp3} 
       Sunil.Joyous com {/ns0:email} 
       146474 {/ns0:ernam} 
       Sunil Joyous {/ns0:name} 
       {/ns0:zossatb}
       TEST OSAT {/ns0:afnam} 
       1 {/ns0:anln1} 
       1 {/ns0:anln2} 
       1 {/ns0:aufnr} 
       1020104878 {/ns0:banfn} 
       1 {/ns0:bednr} 
       00010 {/ns0:bnfpo} 
       NB {/ns0:bsart} 
       1.000 {/ns0:bsmng} 
       1.000 {/ns0:bumng} 
       1 {/ns0:catalog_info} 
       1 {/ns0:ebakz} 
       T02 {/ns0:ekgrp} 
       IZ {/ns0:ekorg} 
       IZ {/ns0:gsber} 
       5300642603 {/ns0:infnr} 
       1 {/ns0:knttp} 
       1 {/ns0:kostl} 
       20090812 {/ns0:lfdat} 
       1 {/ns0:lifnr} 
       X {/ns0:loekz} 
       BOX CARDBOARD TELESCOPIC PART {/ns0:maktx} 
       00441010 {/ns0:matkl} 
       000000000002647430 {/ns0:matnr} 
       ST {/ns0:meins} 
       10.000 {/ns0:menge} 
       1 {/ns0:mfrpn} 
       1 {/ns0:peinh} 
       10.000 {/ns0:preis} 
       0 {/ns0:pstyp} 
       X {/ns0:repos} 
       1 {/ns0:saknr} 
       1 {/ns0:statu} 
       470 {/ns0:temp1} 
       PACKING {/ns0:temp2} 
       20090821 {/ns0:temp3} 
       BOX CARDBOARD TELESCOPIC PART {/ns0:txt01} 
       TRY {/ns0:waers} 
       1 {/ns0:wempf} 
       X {/ns0:wepos} 
       IZ {/ns0:werks} 
       1 {/ns0:zdegsta} 
       TEST TEST {/ns0:zsastxt} 
       F442617301 ,4085212101 ,JL/QSC-70108949 ,OUT ,7064 58 049 , , , , , , , , , , {/ns0:ztanim} 
       {/ns0:zossatd}
       1020104878 {/ns0:banfn} 
       00010 {/ns0:bnfpo} 
       NB {/ns0:bsart} 
       470 {/ns0:temp1} 
       Constant {/ns0:temp2} 
       Constant {/ns0:temp3} 
       PO TEXT {/ns0:zmetin1} 
       1 {/ns0:zmetin10} 
       1 {/ns0:zmetin2} 
       1 {/ns0:zmetin3} 
       1 {/ns0:zmetin4} 
       1 {/ns0:zmetin5} 
       Constant {/ns0:zmetin6} 
       Constant {/ns0:zmetin7} 
       Constant {/ns0:zmetin8} 
       Constant {/ns0:zmetin9} 
       {/ns0:zossatt}
    Out of these following fields are of decimal type,
    BSMNG, BUMNG, MENGE, PEINH, PREIS
    Rest all are of string type.
    Edited by: Sunil Joyous on Aug 21, 2009 2:01 PM
    Edited by: Sunil Joyous on Aug 21, 2009 2:02 PM
    Edited by: Sunil Joyous on Aug 21, 2009 2:02 PM

Maybe you are looking for