Help regarding web services

hai iam a java developer building web application,i wanted to learn the web services with soap client.i dont know where to start?,what a web services are?,so to learn from basic what r the softwares needed.and from where i can get best tutorial please help

Visit http://ws.apache.org/axis/index.html and download Axis which I found to be a simple and excellent means of learning web services. It has Developer & User guide which you will definetly find very useful to begin with.

Similar Messages

  • Help needed regarding web service

    I implemented a stateless session bean(also remote and home interface)
    and created a jar file for that bean. After that I converted this bean into a web service using 'servicegen' task and created corresponding client jar using 'clientgen' task. After that I can access that bean method(only one method which accepts List object as parameter) by using URI.
    Here I got the problem. When I give the URI I got the method name and I clicked on it, it asks the input for the List object.
    I give the data as
    <list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xsi:type="java:language_builtins.util">
    <linkDataDecorator xmlns:n1="java:com.b2.indigo.layout.display"
    xsi:type="n1:LinkDataDecorator">
    <n1:linkData xmlns:n2="java:com.b2.indigo.layout.display"
    xsi:type="n2:LinkData">
    <data>ggg</data>
    <label>hhh</label>
    </n1:linkData>
    </linkDataDecorator>
    </list>
    when click on Invoke button I got exception like Failed to invoke service:
    javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: type mapping lookup failure on type=['java:com.b2.indigo.layout.display']:n1:LinkDataDecorator TypeMapping=TYPEMAPPING SIZE=2 ENTRY 1: class: java.util.List xsd_type: ['java:language_builtins.util']:p2:List ser: [email protected]1430 deser: [email protected]d62f1 ENTRY 2: class: com.b2.indigo.layout.display.HtmlBuildingInfoVO xsd_type: ['java:com.b2.indigo.layout.display']:p1:HtmlBuildingInfoVO ser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@19ac931 deser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@10ec447 at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:389) at weblogic.webservice.tools.pagegen.SampleInstance.getJavaObject(SampleInstance.java:145) at weblogic.webservice.server.servlet.ServletBase.getJavaParams(ServletBase.java:438) at weblogic.webservice.server.servlet.ServletBase.invokeMultiOutput(ServletBase.java:342) at weblogic.webservice.server.servlet.WebServiceServlet.invokeMultiOutput(WebServiceServlet.java:353) at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:300) at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:343) at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266) at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158) at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:254) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) Caused by: weblogic.xml.schema.binding.DeserializationException: type mapping lookup failure on type=['java:com.b2.indigo.layout.display']:n1:LinkDataDecorator TypeMapping=TYPEMAPPING SIZE=2 ENTRY 1: class: java.util.List xsd_type: ['java:language_builtins.util']:p2:List ser: [email protected]1430 deser: [email protected]d62f1 ENTRY 2: class: com.b2.indigo.layout.display.HtmlBuildingInfoVO xsd_type: ['java:com.b2.indigo.layout.display']:p1:HtmlBuildingInfoVO ser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@19ac931 deser: com.b2.indigo.layout.display.HtmlBuildingInfoVOCodec@10ec447 at weblogic.xml.schema.binding.RuntimeUtils.lookup_deserializer(RuntimeUtils.java:443) at weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec.deserialize(XSDAnyCodec.java:106) at weblogic.xml.schema.binding.SoapArrayCodecBase$EntryIterator.getNextObject(SoapArrayCodecBase.java:751) at weblogic.xml.schema.binding.SoapArrayCodecBase$EntryIterator.(SoapArrayCodecBase.java:707) at weblogic.xml.schema.binding.SoapArrayCodecBase.deserialize(SoapArrayCodecBase.java:288) at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:428) at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:328) at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:384) ... 21 more

    Hi,
    What is the version of the weblogic server and service pack you are using ?
    Regards
    Anilkumar kari

  • Help:Invoke web service after receiving a user task response

    Hi, All:
    We encountered a problem while developing user task. The detail is as follows:
    We need to invoke a web service after a user task's response, that is to say, the web service needs some data from the response of the user task.
    Take the loan flow tuturial as a example, what we need to do is to invoke a web service after the BPEL process get the start loan APR. the web service needs the APR for its input message. how can I handle this situation?
    Thank you very much for your help!

    Thanks for your immediate response Jan Vervecken.
    I have created the Data Control from web Service proxy and I am able to recieve the output from the web Service.
    But, Currently I am invoking the webservice process method by a command button which populates my SelectOneChoice.
    My requirement is to invoke the web service 'process' method by value change event in the SelectOnechoice control.
    So, Can you pls. let me know how do I bind the web Service method 'process' to value change event of SelectOnechoice control?
    Thanks and Regards,
    Sandeep T

  • Multiple selection in value help  with Web service

    Hi All,
    I want to get data from web service and store in data base. I created input form with set of inputfields. For some input filds in that input form, I want to get value from web service.So I have used value help wizard. I followed below link to create value help wizard for web service.
    Value help wizard working with java web service ?
    While creating value help, it is only showing 'single selection' option. It does not showing any other options. Here I want to get multiple values from value help. How can I acheive this?.
    Thanks,
    Venkatesh R

    Hi Venkat,
    Try the below links for value help in visual composer.
    Visual Composer: Value Help Data Service
    Choosing Multiple Values within Visual Composer
    http://help.sap.com/saphelp_nw04s/helpdata/en/50/91db4238bbf140e10000000a1550b0/frameset.htm
    Regards
    Basheer

  • Help starting web services

    Hi, I am new to web services and after reading a lot of literature on the subject I am completely lost. I am running Axis2 1.3 and I have just got my WSDL2Java to work. I am using Eclipse and now also have the wsdl plugin working.
    However the problems I have is that after I create the stub I have many errors, all of which are from missing imports...org.apache.axis2.... I was wondering if anyone has any suggestions for sorting this out. I cant find these files anywhere on my system.
    I may have made a mess up ofinstalling Axis but I think its correct. I would really appreciate some basic help/tutorials on accessing a service from the internet suhc as aweather forecast (http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=50) to get me started as i have been trying now for 3 weeks with no luck. I have tried to follow tutorials and code examples but I still have many probelms.
    Any help would be much appreciated.
    J

    Hi,
    Im not great with Eclipse and the errors are all to do with org.apache... such as this one: extends org.apache.axis2.client.Stub. It says tehse canot be resolved to a type. I have tried to import the libraries but I cannot find the ones required. It appears all my WSDL2Java createions require this package but I cannot find it anywehre.
    Do you know what these are and which ones i need to import?
    Sorry its a bit vague, i think/hope im missing some libraries, i just cant locate them on my machine or the web and I am stuck until i get around this problem.
    Regards, j

  • Regarding Web Service.

    Hi Experts,
    Can you please let me know when we define a servce as web service in XI.
    Under which type of scenario it is used.
    Thanks
    Vishal

    Hi,
    this might be helpful:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20013414-b7a9-2b10-8fa1-fc7e5ec02659
    Regards
    Patrick

  • Regarding Web Services

    Hi Rich,
    i have built one application i.e. one program in ABAP, which has some 10-15 Dialog Screens in it, but the requirement is to call that program from an external Website , i am totally dumbstruck, and have no clue on how to do it, my last Query was answered by you, so i am directly adressing you, as u said, we can handle this kind of situations with Web services. Please explain me in detail, if its possible with an example.
    Regards
    Siddhartha

    Hi,
    SAP has a number of different ways that data can be presented to or obtained from a web page.
    - If the web page is to be built using external tools that just want to call SAP as an interface, then the Web Service is probably the best choice.  This requires you to build the business logic independant of the screen logic as described by Rich.
    - If SAP is to produce the Web page, then tools such as BSP, Web Dynpro and ITS can be used.  BSP gives the best presentation at a cost of having to code to handle some browser peculiarities.  Web Dynpro gives slightly less flexible presentation, but is more stable in handling supported browsers and is SAP's preferred way forward for web presentation within a company.  ITS is older technology and requires more HTML and Javascript coding, but can provide a simple front end for Dynpro based screens (eventually these will need to be migrated to BSP / Web Dynpro as SAP reduces support for ITS - they are already moving most internal services, and have made documentation on the ITS almost impossible to find in SAP Help).
    Andrew

  • Need help developing web services on Jdeveloper

    Hi,
    I'm having some problems developing a particular web service using jdeveloper 10.1.2.1.0 (build 1913).
    The web service is located on a remote computer (windows server 2003 SP1), deployed on a jboss3.2.5.
    I got the following error:
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLText
    at oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.fromElement(WrappedDocLiteralStub.java:614)
    at mypackage1.PdfGenStub.getConfigurationXML(PdfGenStub.java:189)
    at mypackage1.PdfGenStub.convertDocumentToPdf(PdfGenStub.java:241)
    at mypackage1.PdfGenStub.main(PdfGenStub.java:42)
    The web service is from a product that we have that converts documents to pdf.
    Any ideas ??
    However, I will try to intall the product on another machine that has connection outside the company network to put the WSDL link here for anyone who wants to test it .
    thanks

    Hi,
    Would really help if you could provide the wsdl and also steps to reproduce this exception, for us to try it out locally.
    You could also try to install the latest JDev 10.1.3.1 available on OTN, to see if it works on it.
    Regards,
    Sunil..

  • Help? Web service crashes whenever I check "enable SSL"

    Whenever I try to enable SSL for one of my virtual domains, Server admin reports
    "A service has encountered an error"
    and disables web service for that virtual domain.
    Everything was working fine (ftp, webdav, websites, mail).
    So my final step was to try to enable secure webdav via https.
    So I
    * bought a certificate (godaddy $30) for my domain EXAMPLE.COM (no www, since everything is hosted on one box, for email, webdav, ftp we just use "example.com"
    * manually pasted my key into /etc/httpd/ssl.key/server.keyx
    * manually pasted my cert into /etc/httpd/ssl.crt/server.crtx
    * manually pasted the CA cert into /etc/httpd/ssl.crt/ca.crtx
    * entered my pass phrase I used when I made the key
    * used the log file default /var/log/httpd/sslenginelog
    (when crashed the first time I thought the file not being there could be the problem, so I copied another file, and ensured the permissions were the same: owner root, group admin)
    all that was fine. checked the enable SSL box, and clicked Save and that's when it reports the error and disables the virtual domain.
    My server is 10.3.9.
    The first time I used 10.4 admin. When it crashed the service I did a restart on the server, then on the server used the 10.3 admin. Same deal. (Only difference is on 10.4 admin it set my port to 443; on 10.3 it didn't)

    I did get it working. But my recollection of what I did to get it working is fuzzy. I think what I noticed is that whatever I put into the various SSL key fields was not getting saved, so I tracked down the appropriate locations and edited them manually. Sorry I don't recall the specifics.
    Another thing I do remember is that I was unable to CHANGE an existing "site" setting from port 80 to 443 -- I had to delete the entry, then re-create it from scratch with the SSL settings and PORT #.
    Hope that helps.

  • Help with Web Services

    hi,
    am trying to call a web service from a particular WSDL, i need to use JAX-WS 2.0 as part of this assignment am currently working on, but i just cannot put my head around it and where to start,,
    would i need to just write a client that would call a specific method and pass the parameteres through it ?
    would i need to use annotations ? as i was reading, you only use them if you expose the web service. All i was supplied with is a WSDL, and i need to design an interface using JFrame and call a specific service of my choice and receieve a response back.. and display it back.
    Any helpful tips, suggestions, sample code ??
    thanks

    You can easily work with WSDL2Java class in axis.jar found from apache site
    java -cp axis.jar:commons-logging.jar:commons-discovery.jar:wsdl4j.jar:jaxrpc.jar:saaj.jar org.apache.axis.wsdl.WSDL2Java -va "wsdl file"
    This will create a stub files for the webservice, then you work with that.

  • Please help on Web Services

    Guys,
    I am very new in Web Service and VB.Net
    I downloaded sample source of VB.NET and downloaded WSDL of Service Request.
    What should I do with WSDL? where should this file located?
    In VB.NET sample source,I put server = secure.crmondemand.com also put UserName and Password.After click login,I got error Forbidden
    Could you please advice
    Pitiporn

    i want to enter a lead in Oracle Siebel On Demand through java programming, i got a ref. from below link:
    http://wiki.netbeans.org/attach/J1PodDemoWebservices/jaxws_service_designer.html
    I am using Netbeans6.1 IDE, i follow all steps and incorporate .wsdl file with my Java Project.
    My Problems:
    * i got all classess made by IDE but i donot know which class i should use to enter lead? and how?
    Please help me to solve this problem, my email id: [email protected], Waiting for your reply...
    Thank you very much in advance.

  • Help on Web services

    Hi
    I would like to create a Web DynPro (Java) project using web services and leverage R/3 system for information, but not really sure how web services leverage on the function of R/3 to retrieve and store information. Will be very much appreciated if someone can shed some light on this.
    Thanks
    Rayden

    hi Rayden,
    yeah sure there is some concept called as EJB where we can write our business logic instead of calling FM, also RFC calls are considerd as little expensive,
    check out some info about them here
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5f/af6e420c48c353e10000000a1550b0/frameset.htm
    follow these links for creating them,
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/b5/f5bb805b2e9243ac9a1eafc4ecbd5f/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/bd/b127af68234e868cfd4e9f440aa0bf/frameset.htm
    in the above link just understand writing logic in methods and skip part of creating frontend with jsp
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c
    also check out this (these may not be of great help)
    Accessing  database using EJBs in WebDynpro
    Example for WebDynpro using EJBs
    hope it helps
    let me know if you face problem
    regards

  • Need help with Web Services SDK.

    I am new to Web Services SDK can I get documentation on same.

    For documentation about the BOE XI R2 SP2 Web services go to our DevLibrary: http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    then locate the Web Services topic under which, you will find the necessary info to help you deal with BOE Web Services.
    Cheers
    Alphonse

  • Please help with web services (JSR 172)

    Hello!
    I'm in need of some help. I've only worked with web services some few weeks. I have two web services that I want to access from J2ME.
    Both works nice in regular Java (J2SE). I use axis so with the help of WSDL2Java I got a working client.
    One of them has four operations
        public boolean tryToLoginUser( String username, String password ) {}   
        public boolean tryToLogOffUser( String username, String password ){}
        public boolean createUserAccount( String username, String password ){ }
        public boolean removeUserAccount( String username, String password ){ } The problem is when I want to use Sun's Wireless Toolkit 2.2 and create stubs that way with the Stub Generator. It complains with this
    warning: Operation tryToLoginUser is of the wrong encoding SOAP style/use (rpc/encoded).  Document/literal only.  Skipping generation of operation.
    warning: Operation tryToLogOffUser is of the wrong encoding SOAP style/use (rpc/encoded).  Document/literal only.  Skipping generation of operation.
    warning: Operation createUserAccount is of the wrong encoding SOAP style/use (rpc/encoded).  Document/literal only.  Skipping generation of operation.
    warning: Operation removeUserAccount is of the wrong encoding SOAP style/use (rpc/encoded).  Document/literal only.  Skipping generation of operation.What I can tell is I need to put this in my axis deployment descriptor
    <service name="UserWebService" provider="java:RPC" style="document" use="literal">instead of this:
    <service name="UserWebService" provider="java:RPC">This wont work. It don't work with HTTP GET I get this error
      <?xml version="1.0" encoding="UTF-8" ?>
    - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <soapenv:Body>
    - <soapenv:Fault>
      <faultcode>soapenv:Server.userException</faultcode>
      <faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>
    - <detail>
      <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">slukare</ns1:hostname>
      </detail>
      </soapenv:Fault>
      </soapenv:Body>
      </soapenv:Envelope>I doesn�t work with WSDL2Java and when I run Sun's Wireless Toolkit 2.2 to generate stub it complains with
    warning: ignoring operation "tryToLoginUser": more than one part in input message
    warning: ignoring operation "tryToLogOffUser": more than one part in input message
    warning: ignoring operation "createUserAccount": more than one part in input message
    warning: ignoring operation "removeUserAccount": more than one part in input message
    warning: Port "UserWebService" does not contain any usable operationsDoes this mean I can only use one parameter for input in an operation when I use style="document" use="literal" ??
    I understood it that way, so I created a new web service that takes username and password in one String.
    The new web service has four operations
        public boolean tryToLoginUser( String usernameAndPassword ) {}   
        public boolean tryToLogOffUser( String usernameAndPassword ){}
        public boolean createUserAccount( String usernameAndPassword ){ }
        public boolean removeUserAccount( String usernameAndPassword ){ }The problem is that I get this error when running HTTP GET.
      <?xml version="1.0" encoding="UTF-8" ?>
    - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <soapenv:Body>
    - <soapenv:Fault>
      <faultcode>soapenv:Server.userException</faultcode>
      <faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>
    - <detail>
      <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">slukare</ns1:hostname>
      </detail>
      </soapenv:Fault>
      </soapenv:Body>
      </soapenv:Envelope>If I get a WSDL2Java client it works (!) if I manually changes the parameter names. I have four operations which all takes
    String usernameAndPassword
    in one String since I can only use one parameter with style="document" use="literal"
    The WSDL2Java automatically set the parameter names to
    usernameAndPassword
    usernameAndPassword1
    usernameAndPassword2
    usernameAndPassword3
    for the different operations. If I manually changes them to all have the name
    usernameAndPassword
    it works. Why doesn�t it work without manual changes? I haven�t tested the code from Sun�s Wireless Toolkit 2.2 Stub Generator yet, but that at least doesn�t give any errors .
    My other web service doesn�t work either if I set style="document" use="literal".
    This web service returns my own classes I have written. It works as I said previously in J2SE with WSDL2Java, but not with style="document" use="literal�. When I set this my byte[] which is returned is null when using the client from WSDL2Java, this wasn�t the case without style="document" use="literal�.
    I also get an error in Sun�s Wireless Toolkit 2.2 that byte[] is not recoigniced. This wasn�t the case with axis WSDL2Java.
    If I put this inside the axis deployment descriptor
    <deployment xmlns="http://xml.apache.org/axis/wsdd/"
             xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
           <service xmlns:j2melab2="urn:businessobject.j2melab2"
                     name="RecipeWebService" provider="java:RPC" style="document" use="literal">
              <parameter name="scope" value="session"/>
              <parameter name="className" value="j2melab2.webservices.RecipeWebService"/>
              <parameter name="allowedMethods" value="*"/>
                    <typeMapping qname="j2melab2:ArrayOfString"
                                 type="java:java.lang.String[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>
                    <beanMapping qname="j2melab2:Recipe" languageSpecificType="java:j2melab2.businessobject.Recipe"/>         
                    <beanMapping qname="j2melab2:Ingredient" languageSpecificType="java:j2melab2.businessobject.Ingredient"/>         
                    <typeMapping qname="j2melab2:ArrayofIngredient"
                                 type="java:j2melab2.businessobject.Ingredient[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>
                    <typeMapping qname="j2melab2:ArrayOfByte"
                                 type="byte[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>                            
         </service>
    </deployment>instead of this
    <deployment xmlns="http://xml.apache.org/axis/wsdd/"
             xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
           <service xmlns:j2melab2="urn:businessobject.j2melab2"
                     name="RecipeWebService" provider="java:RPC">
              <parameter name="scope" value="session"/>
              <parameter name="className" value="j2melab2.webservices.RecipeWebService"/>
              <parameter name="allowedMethods" value="*"/>
                    <typeMapping qname="j2melab2:ArrayOfString"
                                 type="java:java.lang.String[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>
                    <beanMapping qname="j2melab2:Recipe" languageSpecificType="java:j2melab2.businessobject.Recipe"/>         
                    <beanMapping qname="j2melab2:Ingredient" languageSpecificType="java:j2melab2.businessobject.Ingredient"/>         
                    <typeMapping qname="j2melab2:ArrayofIngredient"
                                 type="java:j2melab2.businessobject.Ingredient[]"
                                 serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
                                 deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
                                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding"/>
         </service>
    </deployment>axis WSDL2Java won�t work anymore. And Sun�s Wireless Toolkit doesn�t work either with this. How can I get this to work with Sun�s Wireless Toolkit 2.2?
    So my questions are:
    Do I really need style=�document� use=�literal� for J2ME?
    Can I only have one parameter as input when I use style=�document� use=�literal� ?
    Why do I need to manally change the parameter names?
    How can I make Sun�s Wireless Toolkit 2.2 understand byte[] ?
    Many thanks for help :) (I have to present a solution in 1 � week to my J2ME teacher L).

    hi,
    i was wandering if you manage to successfully generate the stubs through the wireless toolkit at the end? i am currently having similar problem (i.e., trying to generate stub files based on wsdl from axis)? it seems that the WTK can only handle document/literal format, and so i change the wsdl to that. however, now it complains that it can't handle more than one input part in the message, (which is similar to the problem you had). so did you manage to find a solution to that, or J2ME simply does not support more than one arguement as the input?
    thanks in advance,
    lee

  • Regarding Web services security.

    Can I implement a database level username/password security for a web service.
    So only database users can access the web service.is it possible?
    Any implementation example or related document?
    Thanks!

    Hi Soni,
    Yes, you could.
    Two options I can think of:
    - Program WS-Security for your specific web service
    - Use Oracle Web Services Manager
    With respect to the latter: I believe there is no OWSM policy step to handle your requirement out of the box. OWSM comes with policy steps for file-based authentication as well as for authenticating against Active Directory or a generic LDAP directory.
    In this case you could opt for the creation of a custom policy step.
    Hope this help.
    Sjoerd

Maybe you are looking for

  • Whenever I leave the main VI screen, the data is no longer able to be read.

    I have a VI that I have used on and off on a test stand of mine for a year and a half. Yesterday, I ran it for the first time in about a month, and the VI had developed a peculiar problem. Whenever I leave the main VI screen and go back to it, data i

  • Kernel panics and storms of them by startup

    I am experiencing wierd problems with my iMac G5 that slowly drive me mad. My problems started around time I installed patch 10.4.6 but I am not sure if it is directly connected to it as I did not find any report of similar problems. Last adds campai

  • Images from Illustrator to DW don't show

    I resisted moving away from CS2 and GoLive for a long time, but finally threw in the towel and recently bought CS4 web premium.  GoLive was like your favorite pair of old jeans you wore on a Saturday morning [sigh]..  Anyway. Photoshop was always my

  • I cannot load plug ins into pse 13 like I did with pse 11.

    I have tried taking the plug ins from pse 11 and installing in pse 13 but cannot get them to work, your help will be appreciated.

  • Enhanced Podcasts images not appearing in iTunes

    I'm using the host site Podbean.com to publish to iTunes. My enhanced podcasts (m4a) files appear on the host site (http://bias.podbean.com) just fine. But when I watch them on the iTunes host page (below) the images do not appear in the podcast whil