Deserialization Error while connecting to web service

I am getting a deserialization error while connecting to a web service.
Deserializing parameter 'ScheduleReceiveService': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType...
There are two methods ex
UserDefinedClass1 methodA(java.lang.Object ) and
UserDefinedClass2 methodB(UserDefinedClass3)
And when i generate java files using WSDL2Java using apache axis the UserDefinedClass is generated as follows.
public class UserDefinedClassA implements java.io.Serializable {
private java.lang.Object _return;
// There are other methods for setting the attributes,hashCode,equals etc
Now when i try to invoke the method from the client i get this as an error ?
Deserializing parameter 'UserDefinedClass': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
Appreciate any suggestion.

Hi Manohara,
To download the file from SharePoint, I recommend to use the credential for a user who can access the file in SharePoint in the client object model.
NetworkCredential credentials = new NetworkCredential(“username”, “pwd”, “domain”);
ClientContext context = new ClientContext(“http://thesitecollection”);
context.Credentials = credentials;
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • 401 - unauthorized error while connecting to web service -Sharepoint 2010

    hi,
    i am calling webservice which is installed in sharepoint from custom pages.
    my server is not load balanced
    but i got error like 401 unauthourized.
    I set dword value to 1 for loopback issue
    still i got the same error
    i also used default credentials true;
    requestHTML = myClient.DownloadData(fileUrl);
    this line take too much time results in 401 error.
    Thanks Manohara R

    Hi Manohara,
    To download the file from SharePoint, I recommend to use the credential for a user who can access the file in SharePoint in the client object model.
    NetworkCredential credentials = new NetworkCredential(“username”, “pwd”, “domain”);
    ClientContext context = new ClientContext(“http://thesitecollection”);
    context.Credentials = credentials;
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Receiving the internal 500 error while testing java web service

    HI,
    Problem Summary:
    Receiving the internal 500 error while testing java web service in integrated weblogic server.
    my scenario is like,
    retrieve the Payload from Dehydration tables.
    We are connected to SOA_INFRA schema and we are retrieving the payload from the dehyadration tables based on InstanceId and ECID using Java Classes.After that i make it as a web service and i deployed in to intergrated weblogic Server.It is generating the Target End Point URI.When am i hitting this it is showing structure of the service.I am testing this service from soapUi it is returning the Server internal error with 500.Here i am passing inputs as InstanceId and ECID.
    I had verified in my Jdeveloper,Proxy settings are available.
    Error Payload:
    I am receiving the Internal 500 error because of JDeveloper HTTP Analyzer encountered an error retrieving: CONNECT https://192.168.0.41:9102 HTTP/1.0.
    An exception occurred while retrieving the response for https://192.168.0.41:9102.
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1293)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:65)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:50)
         at oracle.jdevimpl.webservices.tcpmonitor.model.HttpMessageBase.readLine(HttpMessageBase.java:658)
         at oracle.jdevimpl.webservices.tcpmonitor.model.HttpRequest.read(HttpRequest.java:327)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.getResponse(ConnectionHandler.java:405)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:331)
    Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:1916)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateSSL(ConnectionHandler.java:707)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateForwardedSSLConnection(ConnectionHandler.java:672)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:311

    An exception occurred while retrieving the response for https://192.168.0.41:9102.
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?This error says that port 9102 is a plain HTTP port so either use the correct port (which is listening for HTTPS connections) or use HTTP instead of HTTPS in the URL.
    Regards,
    Anuj

  • "RABAX" occurs on server side error while testing asynchoronous web service

    I got error while testing asynchronous web service in WS navigator. I have created asynchronouse web service using RFC. Then I configured it in SOAMANAGER. When I tested it, got error "RABAX occurs on server side". Also I got dump in ST22. It is 'UNCHAUGHT_EXCEPTION - CX_SOAP_SEQ_SCD_ERROR'.
    I have tested for synchronous web service it works fine.  I found a difference in both web service WSDL file for below parameters value -
    commit
    blocking
    transaction
    wsrm
    I tried different way .. but no solution .. Plz suggest if someone have any idea.....Its very helpfull....

    your problem:
    Missing class: oracle.tip.adapter.jms.JmsManagedConnectionFactory
    Dependent class: oracle.tip.adapter.fw.wsdl.WSDLUtils
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/bpel/lib/orabpel.jar
    Configuration: <code-source> in /oraclesoa/oraclesoa/product/10.1.3.1/OracleAS_1/j2ee/home/config/server.xml
    It happens when server is custom installed, try to reinstall it as full version and problem should disappear otherwise your need another full installation to retrieve and replace orabpel.jar file from (or maybe more)

  • Error: Error #2170  Connection Type: Web Service

    Hi all,
    In BO I have changed the external address on DNS say abc.com
    Now when I try to access the dashboard internally it gives the error trying to access xyz.com which was previous external ip.
    The error I get is
    To access external data, add a cross-domain policy file to the external data web server.
    For more information, on the Adobe website, see the article "Cross-domain Policy File Specification".
    If the problem persists, contact the file creator or your system administrator.
    Error: Error #2170
    Connection Type: Web Service
    File URL: http://abc.com...
    External Data URL: http://xyz.com...."

    May be in connections, you have hardcoded the server as xyz.com. It is always advisable to use relative url so that the servername and port is resolved in runtime.
    Also, check in CMC > Applications > Web Service > Properties what is the server name specified ? Is it still the old one ?

  • Error while creating a web service

    Hi all,
    I am trying to create a webservice for doing SOAP to JDBC scenario. I created a WSDL file in Configuration. I am using NWDS for developing a web service using this WSDL file.
    While creating a web service, I am getting 2 errors after creation of Custum controllers. The errors are as follows:
    1. Request_SOAP2RFC_MI_SOAP2RFC_MI cannot be resolved or is not a type
    2. WDMessageManager cannot be resolved or is not a type
    I am making use of the following pdf file to create the web service.
    <a href="https://">www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555</a>
    Please help in this regard
    Regards,
    Pavani

    Hi
    Check this thread
    WD Message Manager
    Reward opints if usefull....

  • Error while creation of web service model in web dynpro

    Hi,
    I am getting following error "no services available or local server not accessible"  while creation of web service model.
    I have already created my web service nad deployed it. It was deployed successfully.
    In the web service model creation wizard I am not able to see neither my web service nor any other standard service.
    Regards,
    Anubha Pandey

    Are you using the deprecated Web Services model or the new adaptive web services model?
    Take a look in this document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7

  • Error while executing the web service

    Hi All,
    I have created a Offline interactive Adobe Form using blog:
    BLOG URL:  http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0483890350DB20045892361770696350End?blog=/pub/wlg/7588
    FIrst I created it, It worked fine. I got thee pop up fot authentication.
    Then wrote some logic then tried, It stopped executing.
    Then removed all logic. Just the three lines of the code as ahown below:
      var cURL = enter the WSDL url generated in the first step;
         var service = SOAP.connect(cURL);
         xfa.connectionSet.name of your custom data connection.execute(0);
    But now, when I click on the button, it does not connect to Web service but throws exception.
    I am not understanding what is the error. It throws at the line :
    xfa.connectionSet.name of your custom data connection.execute(0);
    Your help needed urgently!!!
    Regards,
    Aditya Deshpande
    Edited by: Aditya Deshpande on Oct 22, 2009 10:17 AM

    HI,
    RFc is not called becuase:
    1. we tried RFC debuggin with proper user. it never stopped at break point.
    2. TCODE: sxmb_moni in PI did not show any entry for incoming messages.
    The import bindings are proper. We tried using .execute(1) , nothing happened.
    We are able execute freely avaliable Web service but not the one exposed from PI.
    Hence we feel their is problem between PDF and PI itself.
    The user we put in the pop up is SERVICE USER. The PI consultant uses the same user and is able to execute but from PDF we are not able to execute.
    We also tried with a DIALOG USER with same roles and authhorizations as the SERVICE USER. BUt still it did not execute.
    Thanks and Regards,
    Aditya Deshpande
    Edited by: Aditya Deshpande on Nov 16, 2009 1:00 PM

  • Error while completing a web service

    Hi,
      I have create a RFC,  now   to use that as a web service I have done the stpes for creating a web service as given in the link
    sap technical link tutorial, web service create
    when I click  on complete button system is giving a messge as Error during activation of web service.
    what  configuration required for this    we have ECC6 system.
    regards,
    zafar
    Edited by: zkarnalkar on Dec 3, 2010 11:13 AM

    I guess that would depend on the error you're receiving - what is it?  I've never seen a generation error for a service provider when following the few steps required, but you could debug the activation if the message isn't clear.  Service consumer errors happen all the time and are generally related to WSDL file compatibility.

  • Error while executing ECC_SALESORDERCRTRC web service

    hello,
    I am getting error while executing the we service ECC_SALESORDERCRTRC using webservice navigator
    XML Serialization Error. Object content does not correspond to Schema restrictions of type [http://sap.com/xi/APPL/SE/Global][BusinessDocumentMessageID.Content].
    can any one tell me why am i getting this error ?
    thanks in advance

    Hi Ajantha,
    The Message Header node is optional. You can skip the complete Message Header node.
    Otherwise you need to generate a unique ID for the message and map this ID to BusinessDocumentMessageID.
    Try removing Message Header from your input XML. This should solve the error.
    Regards,
    Shankar

  • Error while calling a web service from BCM to CRM

    Dear Experts,
    I'm calling a CRM web service from BCM via Custom IVR. The web service works fine when run using SOAPUI. But when called from BCM, there is an error in the CEM logs as mentioned below:
    11:16:51.515 (11224              ) ERR> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: SoapClient::Invoke3 - Unknown operation ZCRMU_CUST_AUTHO_ONCALL
    11:16:51.515 (11224              ) ERR> [EXC] : IvrApplication.callSoapMethod (CALL_ID=48B73B3988FDD541BD0722E4D6512E26): Exception
    11:16:51.516 (11224              ) ERR> <type 'exceptions.RuntimeError'> : SoapClient::Invoke3 - Unknown operation ZCRMU_CUST_AUTHO_ONCALL
    11:16:51.518 (11224              ) ERR> File: .\IvrApplication.py (1728)  Func: callSoapMethod          <None>
    11:16:51.518 (11224              ) ERR> File: .\soaplib.py    (  25)  Func: __call__                <None>
    11:16:51.518 (11224              ) ERR> File: .\soaplib.py    (  40)  Func: __request                <None>
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: TcpConnection::OnDisposed
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: Disposed while still connection open
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: Close
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: CloseMySocket - closed
    11:16:51.518 (08220/IpcWorker    ) DBG> ThreadPool[00558068]: WorkerThread GetQueuedCompletionStatus result=0 poverlapped=09E21C6C key=0C3D6220 bytes=0
    11:16:51.518 (08220/IpcWorker    ) DBG> ThreadPool[00558068]: IIoCompletion pending=1
    11:16:51.518 (08220/IpcWorker    ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: OnIoCompletion 09E21C6C result=0 bytes=0
    11:16:51.518 (08220/IpcWorker    ) DBG> (0C3D6294) LastError::WinError TcpConnection::OnIoCompletion - 10038 (0x2736) An operation was attempted on something that is not a socket.
    11:16:51.518 (08220/IpcWorker    ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: OnIoCompletion 09E21C68 receive
    It seems that through the IVR the web service is not even reached. I discovered this by inserting an external break point in the CRM Function Module which is called by the web service.
    Can anybody help me in resolving this error? I'm working on BCM 7 SP 6.
    Thanks in Advance.
    Regards,
    Swapna

    Hi Swapna,
    from your screenshot it seems that you actually try to call the service in your Data Source Expression field. You should set path to the WSDL file here actually - this could be either URL to SAP or to filesystem, as Anton suggested (this could be faster). Have you created endpoint binding for your service in transaction SOAMANAGER? If yes, then simply download the corresponding WSDL with binding or copy the URL which leads to it. But also test whether you are able to retrieve the WSDL without logging into SAP (close all browser windows and then open a new one otherwise session ID from other browser windows can be reused).
    If you have to give username and password, then setup anonymous alias in transaction SICF, for example.
    Pleas, check my previous post on the same subject here: Re: BCM7 IVR : SOAP request for client identification in CRM .
    Maybe it could help.
    Regards,
    Dawood.

  • QName error while calling a web service from Sourcing

    I need to call a web service from Sourcing script. The web service team has provided us the WSDL and I have generated the required stubs using wsimport and packaged the required java classes in a custom JAR. Now while calling a web method using this jar from my script, I am getting and exception. The exception message that I printed out was this:
    Caught exception e with msg Connection IO Exception. Check nested exception for details. (Connection
    IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
    java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).)
    The same jar and same code works fine when called from a standalone java program.
    I am not using or creating QName anywhere in my script. The only place where QName is used is in the generated java class and there it is created from the correct namespace URL
    Can anyone please help me out in figuring out what is the issue?

    This is the stack trace of the error:
    #2.0 #2014 05 08 09:02:30:915#+00#Error#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#
    #BC-ESI-WS-JAV-RT#webservices_lib#C000CF8242BA4B800000002100002648#2174850000000005#sap.com/E-Sourcing-Server#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#VAC53324#89##D811EE96D68E11E3C9E0000000212F82#3cf7fe38d68f11e3c963000000212f82#3cf7fe38d68f11e3c963000000212f82#0#Thread[RequestHandler.RqThread: fullsave,5,Dedicated_Application_Thread]#Plain##
    Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
    [EXCEPTION]
    com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:256)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1318)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:991)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:945)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
        at $Proxy2539.grantOrganizationRoles(Unknown Source)
    I tested the same custom JAR, that is deployed in Sourcing, separately using a standalone java program and there it gave back the correct SOAP response

  • Error while creating adaptive web service model

    Hi All,
    There is a requirement where the webdynpro application is deployed in backend system while the web service is created in the front end system. We need to connect to this web service and execute it in our webdynpro application to get response. For this we have created Logical Destination in backend system that points to the web service in the front end system.
    The web service, when tested directly through Web Services Navigator, works fine.
    Here, while creating an Adaptive Web Service Model in the webdynpro application, after giving name, package, destination name etc when I enter wsdl url and click on Next I am getting an error as u201CError in downloading the WSDL fileu201D.
    The error log says u201Ccom.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException:Exception on creation of service metadata for WSDL URLu201D.
    Even if I try to create model with url only by selecting u201CNo Logical Destinationsu201D, error remains the same.
    What may be the reason for this and possible solution?
    Appreciate an early response.
    Regards,
    Mitali

    Hi
    Plesae go thriugh the Wiki and the pdf file
    https://wiki.sdn.sap.com/wiki/display/WDJava/FAQ-Models-AdaptiveWebService
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7&overridelayout=true
    Thanks
    Susmita

  • Error while scheduling through web service

    We have created Web service through WSDL of OBI Publisher. Also we created a web service proxy client to call the services offered by OBI Publisher. We actually want to  "Automate the Scheduling of Reports" according to our requirement:
    1. We used to schedule the reports manually by giving the parameters(used to populate data in reports) and other fields like select report name, report destination, format of reports ( .pdf, .docx,etc) through Oracle BI Publisher.
    2. As there are thousands of permutations of report input parameters possible, so it is difficult to schedule them manually. 
    3.We also want to schedule report to a particular folder according to some parameter, for the ease of the user visibility.
    Above requirements are not currently available with Oracle BI Publisher.
    We are getting error while scheduling through ScheduleRequest class.
    The client.java is as follows:
    public class ScheduleServiceClient
      @WebServiceRef
      private static ScheduleService_Service scheduleService_Service;
      public static void main(String [] args)
        scheduleService_Service = new ScheduleService_Service();
        ScheduleService scheduleService = scheduleService_Service.getScheduleService();
        // Add your code to call the desired methods.
        try {      
                    FTPDeliveryOption ftpdo =new FTPDeliveryOption();
                    ftpdo.setFtpServerName("ServerName");
                    ftpdo.setFtpUserName("Username");
                    ftpdo.setFtpUserPassword("Password");
                    ftpdo.setRemoteFile("/path/TestFile");
                    ftpdo.setSftpOption(true);
                    List<FTPDeliveryOption> listobj=new ArrayList<FTPDeliveryOption>();
                    listobj.add(ftpdo);
                    ArrayOfFTPDeliveryOption ar =new ArrayOfFTPDeliveryOption(); 
                    ar.setItem(listobj);
                    DeliveryChannels dc = new DeliveryChannels();
                    dc.setFtpOptions(ar);
                    ScheduleRequest scheduleRequest = new ScheduleRequest();
                    scheduleRequest.setDeliveryChannels(dc);
                    scheduleRequest.setJobLocale("en-US");
                    scheduleRequest.setUserJobName("Job_1_WebService"); 
                    scheduleRequest.setDataModelUrl("Url");
                    scheduleRequest.setStartDate("Mar 27, 2015 12:40:00 PM");
                    scheduleRequest.setJobTZ("[GMT+05:30] Calcutta, Chennai, Mumbai, New Delhi");
                    String userID = "BI_Publisher_Username";
                    String password = "BI_Publisher_Password";
                    scheduleService.scheduleReport(scheduleRequest,userID,password);
                } catch(Exception exception) {
                    exception.printStackTrace();
    Snapshot of error is attached.
    Kindly suggest the way of getting out of this error.

    Hi
    Check this thread
    WD Message Manager
    Reward opints if usefull....

  • Error while deploying a web service whose return type is java.util.Date

    Hi
    I have written a simple web service which takes in a date input (java.util.Date) and returns the same date back to the client.
    public interface Ping extends Remote
    * A simple method that pings the server to test the webservice.
    * It sends a datetime to the server which returns the datetime.
    * @param pingDateRequest A datetime sent to the server
    * @returns The original datetime
    public Date ping(Date pingDateRequest) throws RemoteException;
    The generation of the Web service related files goes smoothly in JDeveloper 10g. The problem arises when I try to deploy this web service on the Oracle 10g (10.0.3) OC4J standalone. it gives me the following error on the OC4J console :
    E:\Oracle\oc4j1003\j2ee\home\application-deployments\Sachin-TradingEngineWS-WS\
    WebServices\com\sachin\tradeengine\ws\Ping_Tie.java:57: ping(java.util.Date) in com.sachin.tradeengine.ws.Ping cannot be applied to (java.util.Calendar) _result  = ((com.sachin.tradeengine.ws.Ping) getTarget()).ping
    (myPing_Type.getDate_1());
    ^
    1 error
    04/03/23 17:17:35 Notification ==&gt; Application Deployer for Sachin-TradingEngineWS-WS FAILED: java.lang.InstantiationException: Error compiling :E:\Oracle\oc4j1003\j2ee\home\applications\Sachin-TradingEngineWS-WS\WebServices: Syntax error in source [ 2004-03-23T17:17:35.937GMT+05:30 ]
    I read somewhere that the conversion between java to xml datatype and vice versa fails for java.util.Date, so it is better to use java.util.Calendar. When I change the code to return a java.util.Calendar then the JDeveloper prompts me the following failure:
    Method Ping: the following parameter types do not have an XML Schema mapping and/or serializer specified : java.util.Calendar.
    This forces me to return a String data.
    I would appreciate if someone can help me out.
    Thanks
    Sachin Mathias
    Datamatics Ltd.

    Hi
    I got the web service working with some work around. But I am not sure it this approach would be right and good.
    I started altogether afresh. I did the following step :
    1. Created an Interface (Ping.java) for use in web Service as follows :
    public interface Ping extends Remote{
    public java.util.Date ping(java.util.Date pingDateRequest)
    throws RemoteException;
    2. Implemented the above interface in PingImpl.java as follows :
    public class PingImpl implements Ping
    public java.util.Date ping(java.util.Date pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    3. Compiled the above 2 java files.
    4. Generated a Stateless Java Web Service with the help of JDeveloper. This time the generation was sucessful.(If I had "java.util.Calendar" in place of "java.util.Date" in the java code of the above mentioned files the web service generation would prompt me for error)
    5. After the generation of Web Service, I made modification to the Ping interface and its implementing class. In both the files I replaced "java.util.Date" with "java.util.Calendar". The modified java will look as follows :
    Ping.Java
    =========
    public interface Ping extends Remote{
    public java.util.Calendar ping(java.util.Calendar pingDateRequest)
    throws RemoteException;
    PingImpl.Java
    ================
    public class PingImpl implements Ping
    public java.util.Calendar ping(java.util.Calendar pingDateRequest) throws RemoteException {
    System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
    return pingDateRequest;
    6. Now I recompile both the java files.
    7. Withour regenerating the Web Service I deploy the Web Service on OC4j 10.0.3 from JDeveloper. This time the deployment was sucessful.(The Deployment fails if I don't follow the step 5.)
    8. Now I generated a Stub from JDeveloper and accessed the stub from a client. It works fine. Here if you see the Stub code it takes java.util.Date as a parameter and returns a java.util.Date. (Mind you I am accepting a java.util.Calendar and returning the same in my Web Service interface. Step 5)
    The confusing thing is the Serialization and Deserialization of Data from Client java data to Soap message and Soap message to Server java data.
    From Client to SOAP :
    java.util.Date to datetime
    From SOAP to Server :
    datetime to java.util.Calendar
    From Server to SOAP :
    java.util.Calendar to datetime
    From SOAP to Client :
    datetime to java.util.Date (I am not able to understand this part of the conversion)
    Any help or inputs would be appreciated.
    Thanks
    Sachin Mathias

Maybe you are looking for

  • Servlet Engine for IIS

    Hi! I wanna ask if somebody knows a servlet engine for the IIS, which is free for commercial use & which is certificated by Microsoft. Hope somebody can help me! Thanks

  • How to connect oracle 11g to nodejs ?

    hi when i want to connect to oracle with node.js , i use this article on this link https://github.com/mariano/node-db-oracle , when i want to install db-oracle with " npm isnatll db-oracle " , the error in below is shown : npm install db-oracle npm h

  • I can not down load pictures to my laptop computer?

    I can not down load pictures to my laptop computer running windows 7

  • Return stock bootloader to ZTE Open C

    Recently, I followed a guide on how to install android 4.4 on a zte open c, mostly to see how it was: https://www.youtube.com/watch?v=axOYIfo7y2s After quickly getting bored and wanting to return to Firefox OS, I installed the 'droid to FFOS package,

  • Upload is very slow

    zzzzzzz 500mb takes about 3 hours???? that is slow...