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

Similar Messages

  • Help needed in web service example. Thank!!!

    Hi,
    I tested WebLogic 6.1 message-style web service example. For the
    ProducerClient.java example, I tested successfully. But for
    the ConsumerClient.java example, I kept getting error messages.
    Can any expert offers some explanation or advice? Need to
    show my boss the cool thing. Any help is highly appreciated.
    Thanks.
    David
    The server-side message is:
    Servlet failed with Exception
    java.lang.NullPointerException
    at weblogic.soap.server.servlet.QueueReceiveAdapter.doPost(QueueReceiveA
    dapter.java:124)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    The client-side message:
    Server returned HTTP response code: 500 for URL: http://localhost:70
    01/msg/receiveMsg
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:674)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURL
    Connection.java:1163)
    at weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:5
    09)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:477)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at ConsumerClient.main(ConsumerClient.java:52)

    Hi,
    I tested WebLogic 6.1 message-style web service example. For the
    ProducerClient.java example, I tested successfully. But for
    the ConsumerClient.java example, I kept getting error messages.
    Can any expert offers some explanation or advice? Need to
    show my boss the cool thing. Any help is highly appreciated.
    Thanks.
    David
    The server-side message is:
    Servlet failed with Exception
    java.lang.NullPointerException
    at weblogic.soap.server.servlet.QueueReceiveAdapter.doPost(QueueReceiveA
    dapter.java:124)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:263)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2390)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1959)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    The client-side message:
    Server returned HTTP response code: 500 for URL: http://localhost:70
    01/msg/receiveMsg
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:674)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURL
    Connection.java:1163)
    at weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:5
    09)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:477)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:431)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at ConsumerClient.main(ConsumerClient.java:52)

  • Help needed creating Web Service Proxy with SSL

    Hi All, I really need your help. I need to create a Web Service proxy for a web service which is SSL enabled and developed in Netbeans. I have been given keystore as well as certificates files and I have copied "keystore.jks" in my c:\Documents and Settings\<user> and the certifcates to <JAVA_HOME>\jre\lib\security\cacerts. Now when I run the Proxy creation wizard and give the location of the WSDL file, JDeveloper gives an error "Error importing schemas: Default SSL Context init failed: Invalid keystore format". Can anyone please guide me what I am doing wrong here. I will appreciate your help.
    Thanks in advance.
    John

    I am using JDeveloper 10.1.3.3.0. Thanks Heaps

  • Help needed: Handling web service requests from a J2SE application

    I want to write an J2SE application that is able to receive and parse web service requests. I want the application to, when started, start listen for incoming requests on a specific port.
    So far, I have embedded Apache Tomcat and Apache Axis in my application so that they parse the incoming requests and pass them on to my application logic.
    This seems like a very cumbersome way of doing it. I have included an almost full J2EE server in my application just to be able to parse web service requests.
    Is there an easier way? What technologies could I use? Any help would be greatly appreciated.

    Thanks for the help!
    It seems awfully complex though. Couldn't one just
    listen to incoming requests on a socket and use some
    good tool to parse them?
    Of course you could. One of the projects in that list is a 1 class java file. It could listen for requests, then you could parse the posted SOAP messages using JAXP and pass the requests on to your application. This will require a good understanding of SOAP however, and it may end up taking more time than simply using the JWSDP with a slightly beefier server.
    Given that there is only a handful carefully
    specified requests that the application needs to be
    able to respond to it seems overkill to include a
    full servlet enabled server...

  • Help needed on web services assignement

    Hello everyone!
    I am a student and i have to build a web service in one of our courses, using java, xml, jaxp, soap...
    I have taken an export of a library's database in XML format. The question is how to build a web service on this material in a way that as an application could be considered as a web service.
    Sorry for my questions that may seem silly, but after studding for over a month now, i steel cannot recognize easily a web service and a service over the web.
    Any suggestion would be highly appreciated.
    Thanks for your time,
    A.T.

    Hey,
    To develope webservice by using you have so many options.i.e In java so many SOAP engines are available like AXIS,XFIRE,CXF,by using weblogic api,by using websphere api.In intial stage just start with AXIS framework.To develope webservice follow the below steps .
    Step1:Download AXIS framework the following URL
    http://ws.apache.org/axis/
    Step2:Write a java class and configure about the service in serverconfig.wsdd file and write one more wsdd for deploy.
    Step3:Deploy that service in AXIS by running the following command
    java org.apache.axis.client.AdminClient urdeploy.wsdd
    Thanks&Regards,
    M.Kumaraswamy.

  • Help needed on : Web-Services Error!

    Hello,
    I included all the web service modules to assemble my applications ear.
    I verified the web.xml entries in my application web-inf folder.
    I started the application on JBOSS server.
    Even though i followed all steps i cannot see the webservices in the webservice registry link.
    I am trying to access a webservice called : getOrderStatus through SOAP UI application.
    Endpoint url used is :
    http://localhost:8080/commerce/order/getOrderStatus/getOrderStatus
    request sent is :
    <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.atg.com/webservices">
       <soapenv:Header/>
       <soapenv:Body>
          <web:getOrderStatus soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
             <orderId xsi:type="xsd:string">12345</orderId>
          </web:getOrderStatus>
       </soapenv:Body>
    </soapenv:Envelope>I get this response:
              JBoss Web/2.1.3.GA - Error report
              HTTP Status 404 - /commerce/order/getOrderStatus/getOrderStatus
              <HR size="1" noshade="noshade">
                   <p><b>type</b> Status report</p>
                   <p><b>message</b>
                        <u>/commerce/order/getOrderStatus/getOrderStatus</u></p>
                   <p><b>description</b> <u>The requested resource
                        (/commerce/order/getOrderStatus/getOrderStatus) is not
                        available.*</u></p>
                        JBoss Web/2.1.3.GA                    Please let mek now where i am going wrong?
    Also i am not able to view ant webservice in the webservice registry.

    Already had checked that the .war of the webservice is there in the final deployed .ear of my application.
    I consider it as ATG installation issue this issue is not arising on a fresh installation on another machine.
    But now i have problems accessing the webservice through SOAP UI. There is some syntax mismatch of the SOAP request generated and ATG expected for the webservice to be called.
    Thanks for your help.

  • Can anybody help me regarding no service message on iphone 4

    can anybody help me regarding no service message on iphone 4

    even tried other sim its also not working while other sim is operating good in other phone

  • Need help in using web service of UCM in C#

    I am trying to use the "Search" web service of UCM in C#.
    The code below is what I did,
    ucm_server.Search search = new ucm_server.Search();
    search.Credentials = new NetworkCredential("sysadmin", "idc");
    QuickSearchResult result = search.QuickSearch("xKeywords like `lvl`", null);
    "xKeywords" is a custom metadata field and it works well in content server. "lvl" is what I want to search.
    And this is the error message:
    Unable to retrieve search results. Parsing error at character 13 in query: "xKeywords like `lvl`"
    Here is what I tried in the "queryText" parameter, but I got the same error message
    [*]xKeywords like 'lvl'
    [*]xKeywords <substring> `lvl`
    [*]xKeywords <substring> 'lvl'
    [*]xKeywords like &quot;%lvl%&quot;
    I got the error whatever I define for extraProps.
    I don't know what the "queryText" parameter should be in C#. Could someone help me with this? Thanks a lot.
    I knew the reason. xKeywords is a custom metadata field and it works with a default metadata field like "dDocName".
    But I still do not know how to make it to work with a custom field:(
    Edited by: [email protected] on Jun 24, 2010 7:49 PM

    Its a UCM setting... go to "Administration > System Audit Information" and enable socket tracing. Then click the "view server output" button to see what raw data is coming to the UCM from your .NET application. You may need to turn on "verbose" tracing as well. Do this one a test box, because it will generate a TON of output...

  • Need help in EJB Web Services

    I have been programming an EJB Web Service. I programmed the EJB and I have programmed the Client. It works properly when I execute it in the command line.
    However, I would like to access it using a web page. I have tried with a JSP (I posted some messages in the forum before) but I had lots of problems because of the versions. I have tried with a servlet but it doesn't work (I don't know really how to execute it, where to deploy it, what is the address to write in the iExplorer, and so on).
    Please, if somebody can help me I will be very thankful.
    I am new in developing with J2EE and OC4J and I am desperate!
    I need documentation or a complete example for OC4J 9.0.3.
    Thank you very much!
    Paloma

    I have been programming an EJB Web Service. I programmed the EJB and I have programmed the Client. It works properly when I execute it in the command line.
    However, I would like to access it using a web page. I have tried with a JSP (I posted some messages in the forum before) but I had lots of problems because of the versions. I have tried with a servlet but it doesn't work (I don't know really how to execute it, where to deploy it, what is the address to write in the iExplorer, and so on).
    Please, if somebody can help me I will be very thankful.
    I am new in developing with J2EE and OC4J and I am desperate!
    I need documentation or a complete example for OC4J 9.0.3.
    Thank you very much!
    Paloma

  • Need help calling stateful web service from BPEL 10.1.3.1

    I found the tutorial located at http://www.oracle.com/technology/products/ias/bpel/htdocs/callingstatefulwsfrombpel.html which talks about how to call a stateful web service, it is also mentioned on Clemens Utschig's SOA blog.
    The problem is that the code for the handlers will not compile as given under 10.1.3.1 -- it seems that the method signature for the invoke method has changed in the interface com.collaxa.cube.ws.HeaderHandler
    Has anyone gotten this to work in 10.1.3.1 or can anyone give me a tip on how to call a stateful web service in a different manner from BPEL?
    Thanks!

    Hi,
    'm trying to call a username/password secured service,
    with
    <property name="basicHeaders">credentials</property>
    <property name="basicUsername">username</property>
    <property name="basicPassword">password</property>
    But getting the following exception,
    FAIL :: Cause : :exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Bad Set-Cookie header: JSESSIONID_twos=Lf1VTn7Q5KG5PhtJlGjTTM0nhhJ5FLyR51zZJLLBGfVs04VY8fmv!-728969536; domain=wosdev; path=/; secure=true, WLAUTHCOOKIE_JSESSIONID_btwosfportal=ZHfuVwF5kudqtHEoR6Ap; path=/; secure Expected ';' or ',' at position 131:
    Kindly help!
    Thanks,
    ChandraMouli
    Edited by: user13110451 on Sep 8, 2011 5:52 AM

  • 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.

  • NEED HELP WITH DATABASE WEB SERVICE INTEGRATION

    Hello everybody. I have created a web service with returns a list of records extracted from a database. It works, Apex references the web service and get the result when I test it, but I want to display results in a page type "Form and Report on Web Service" and when I associate the web service to the page and click on "Finish Button" I get this message:
    "This Web service does not have a result tree in its definition that is appropriate for a report. You may wish to run the Form on Web Service wizard instead.".
    It is correct, of course, but I do not have an example of how to do an appropriate definition for this kind of report.What kind of definition is it waiting for? What I do in the web service is to return a list of items (a resultset of a query such as "SELECT PRODUCTID, PRODUCTNAME, PRICE, IMAGEHREF FROM PRODUCTS") concatenated in a string (commas-separated values). What kind of output must the web service produce or how have I to structure the associated wsdl document in order to display the result with a "form and report on web service" page?
    Every help or example is welcome.
    Thanks a lot and have a nice day
    Stefano-ITALY

    i saw that it is giving this below error but not sure why ??
    org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method registerEmployee
    at org.apache.axis2.util.Utils.getInboundFaultFromMes sageContext(Utils.java:486)
    at org.apache.axis2.description.OutInAxisOperationCli ent.handleResponse(OutInAxisOperation.java:343)
    at org.apache.axis2.description.OutInAxisOperationCli ent.send(OutInAxisOperation.java:389)
    at org.apache.axis2.description.OutInAxisOperationCli ent.executeImpl(OutInAxisOperation.java:211)
    at org.apache.axis2.client.OperationClient.execute(Op erationClient.java:163)
    at webservice.EmployeeServiceStub.registerEmployee(Em ployeeServiceStub.java:488)
    at webservice.EmployeeClient.main(EmployeeClient.java :22)can anyone suggest why this might come ?
    thanks

  • Need some help choosing what web service technology to use

    I'm going to be developing a project which will expose a wen service on a WebLogic 11g server. The web service needs to have security options such as SSL, message encryption and/or access control security.
    What I am struggling to determine is what is the best web service framework to use.
    I'd like to know which one is easiest for WebLogic to handle - is it Axis2 ? How is Metro handled by WebLogic?
    Basically I want to avoid wasting time configuring things or having conflicts between what the web service api needs and what weblogic has by default.

    Tap Settingss > General > Restrictions
    iOS: Understanding Restrictions

  • System processes needed for web service call

    Hi experts,
    one theoretical question: how about the system processes needed for a web service call? If have created a test service that does nothing except to wait for 10 seconds. When I call it from outside, no extra process is busy (as seen in trx SM50). Is it possible that one web service call (from outside -> SAP machine) does not need a DIA or BTC process on SAP machine?
    Thanks in advance for your help!
    Kind regards, Matthias

    Hi,
    Of course a web service needs a dialog workprocess to run.
    But if you used the "wait" abap instruction, it may be that this instruction frees the work process ?
    Regards,
    Olivier

  • 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

Maybe you are looking for

  • Search and replace elements in a 2D Array

    Hello, i have a programming problem in Labview 7.1 under Win XP. I want replace elements in a 2D Array. The code works fine but I want replace elements in the 2D Array (for example all elements between 2 and 5 should replace to zero). Thank you in ad

  • Imovie error The project could not be prepared for publishing because an error occurred. (-50)

    I can't export my imovie project. Appears this message: "The project could not be prepared for publishing because an error occurred. (-50)" What can I do?

  • How can i open up adobe photoshop cs6 on mac?

    i recently purchased a mac mini and i had purchased the photography plan previous to getting the mac mini and im trying to open the programs now but it will not allow me to do so can any one help me ????? oh and i was also told that creative cloud di

  • HT1199 mirroring doesn't stay "on" anymore

    I use an external monitor with my MacBook Air. Until yesterday, the "turn mirroring on" feature would stay on after I turned it on. Now, I have to turn it on everytime I start up my computer. What happened and how can I get it to stay on all the time

  • /etc/hosts for dhcp

    Hello People i have installed 11.2.0.1 on oracle linux release 5 update 7 and is working fine i have logged into the actual system where i installed and checked that sqlplus "/as sysdba" is working and i can log into the database my company has all i