Web Service error deserialisation failed.

Hi Guru's,
I have set up a Web Service, generated via a Z-Bapi. When posting to the webservice I am getting an error message saying:
deserialisation failed
So i did a search and found 2 SAP notes:
- SAP Note 892944 Deserialisation failed
- SAP Note 830340 SOAP request - Deserialisation failed
Both notes I checked, I renegerated the webservice and checked the package. The package is even a higher version, so must be ok.
This is the WSDL generated from the Z-Bapi; http://www.koopmann.nu/test/ZBAPI_GET_MAT_DESC_2.wsdl
This link contains the actual soap message used during posting: http://www.koopmann.nu/test/soap_msg_example.xml
Does anyone have another idea on this? maybe the soap message is not correct?
Best regards,
Guido Koopmann

Another strange thing is that when I post this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:rfc:functions">
   <soapenv:Header/>
   <soapenv:Body>
     </soapenv:Body>
</soapenv:Envelope>
Basicly just the SOAP enveloppe, I get an HTTP 200 Ok back.

Similar Messages

  • Error "Deserialisation failed" when trying to use BAPI via a web service

    I created a web service in BW with the help from the wizard WS_WZD_START. The web service contains
    (among others) the RFC BAPI_ODSO_READ_DATA_UC.
    The web service runs OK & can be used from the SAP Web Services Navigator.
    Now when i try to use the web service from Delphi i get
    an error: "Deserialisation failed" (SimpleTransformationFault) "ODSOBJECT erwartet".
    The ODSOBJECT parameter is there to be sure.
    I saw the same error before in this forum but found no real solution there. I am using BW 6.40 & SP 12.
    XML sent:
    <?xml version="1.0" encoding="UTF-8" ?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Header>
    <sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/">
    <enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header>
    <SOAP-ENV:Body><ns1:BAPI_ODSO_READ_DATA_UC xmlns:ns1='urn:sap-com:document:sap:rfc:functions'>
    <DATALAYOUT></DATALAYOUT><INFOOBJECTLIST><item>
    <INFOOBJECT>/CIVGM/NUM</INFOOBJECT></item></INFOOBJECTLIST>
    <MAXROWS>2</MAXROWS><ODSOBJECT>/CIVGM/BPLO001</ODSOBJECT><ORDERBY></ORDERBY>
    <RESULTDATA></RESULTDATA><SELECTIONCRITERIA></SELECTIONCRITERIA><UNICODE>N</UNICODE>
    </ns1:BAPI_ODSO_READ_DATA_UC></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Answer:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode>
    <faultstring xml:lang="en">Deserialisation failed</faultstring>
    <detail><n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">
    <MainName>/1BCDWB/WSS0050825153239449000</MainName>
    <ProgName>/1BCDWB/WSS0050825153239449000</ProgName>
    <Line>73 </Line>
    <Valid>X</Valid>
    <MatchFault>
    <DescriptionText>Element 'ODSOBJECT' erwartet</DescriptionText>
    <TokenType>S</TokenType>
    <TokenName>CODEPAGE</TokenName>
    <TokenNameSpace>urn:sap-com:document:sap:rfc:functions</TokenNameSpace>
    <TokenValue></TokenValue>
    </MatchFault><Caller>
    <Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
    <Method>IF_SXML_PART~DECODE</Method>
    <Positions>1 </Positions>
    </Caller></n0:SimpleTransformationFault>
    </detail></soap-env:Fault>
    </soap-env:Body></soap-env:Envelope>
    The same error occurs when I take the exact XML that was sent from Web Services Navigator (the XML that worked) and send that from Delphi.
    What could be wrong?

    Hi Simon,
       Other thing you can do is compare the HTTP requests (including header) from both Delphi and XMLSPY. I suspect if the SOAP message is same in both case the difference might be in the header. But one thing is certain, WAS can not respond differently for same request, don't you think so ?
    Cheers,
    Sanjeev

  • Web Service over SSL failing in BEA Workshop

    I have deployed a web service on weblogic 9.2
    I have enabled one-way ssl on it. got a trial ssl certificate from verisign. installed them on the keystore/truststore on the server as well as the jre (cacerts and jssecacerts truststores) being used by the client. the client is on different machine than the server.
    i have developed the service through 'bea weblogic workshop 9.2' now when i try to test the service through the 'web services explorer' within bea weblogic workshop i receive the following error:
    IWAB0135E An unexpected error has occurred.
    IOException
    sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    on server:
    <Jul 13, 2009 6:45:44 PM EDT> <Warning> <Security> <BEA-090485> <CERTIFICATE_UNKNOWN alert was received from yunus.l1id.local - 10.10.2.72. The peer has an unspecified issue with the certificate. SSL debug tracing should be enabled on the peer to determine what the issue is.>
    if i try to access the web service (over ssl) through the browser (ie/firefox), it works fine. i have generated a proxy class to access this web service through the same bea workshop and that works fine too. certificates are identified and all. i also created a small .net (c#) application that calls this secure web service over ssl from another machine and it works fine too!
    of course non-secure url for the web service is working fine in every case.
    what can be the reason for this failing only in 'web services explorer' in bea workshop?
    cross posted at: http://www.coderanch.com/t/453879/Web-Services/java/Web-Service-over-SSL-failing
    thanks.

    Hello,
    I used this example, when I made my experiments with SSL and Glassfish (GF):
    http://java.sun.com/developer/EJTechTips/2006/tt0527.html#1
    If you have problems with GF I suggest to post a message here:
    http://forums.java.net/jive/forum.jspa?forumID=56
    e.g. here is one thread:
    http://forums.java.net/jive/thread.jspa?threadID=59993&tstart=0
    Miro.

  • The Web Service plug-in failed in OrganizationId and Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation

    Hi All,We are receiving below errors in our production envrionment as The Web Service plug-in failed in OrganizationId: c28f361a-8111-e211-b7f2-68b599c03df8; SdkMessageProcessingStepId: 36ccbb1b-ea3e-db11-86a7-000a3a5473e8;
     1.EntityName: userquery; Stage: 30; MessageName: RetrieveMultiple;
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.IndexOutOfRangeException: #TotalRecordCount
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.IndexOutOfRangeException: #TotalRecordCount
    2.EntityName: email; Stage: 30; MessageName: RetrieveMultiple
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    3.
    EntityName: plugintype; Stage: 30; MessageName: RetrieveMultiple;
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first.
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed firstPlease give us idea on above issues.
    Natarajan.V

    Hi,
    What version of CRM you are using? Does this happen when you open the case record?
    We have faced the similar for Account record and was solved using below query. I am not sure about incident.
    Update ACC
    SET ACC.Merged = 0
    from AccountBase ACC
    WHERE ACC.merged is null
    Do you have case merge option enabled on incident entity? As per the MS it is enabled for CRM 2013 SP1 and CRM 2015.
    http://www.microsoft.com/en-us/dynamics/crm-customer-center/merge-similar-cases.aspx 
    Thanks!
    Kalim Khan

  • LS Join Launcher Web Service error 64008

    I getting multiple
    LS Join Launcher Web Service errors (id 64008) on my Front-end servers (LHPv2) and online meetings stopped working. I have reinstalled Web components, but it didn't
    help. Any ideas?
    An exception was encountered when sending Conference Error Report.
     Conference Error Report + Exception Details. CER = Machine:SERVERNAMEBrowserId:Join
    attempted at(UTC):12/10/2013 6:28:13 AMError: request context was lostException = System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Rtc.Internal.JoinLauncher.JoinLauncherTelemetryProxy.SendCERReport(JoinLauncherAsyncContext asyncContext)
    Cause: Failed to report Conference Error Report. Please look through the exception details for more information.
    Resolution:
    Please check if the Data collection agent is running fine & Storage Service is accepting connections

    Process I followed on my FE servers:
    1. stop-cswindowsservice
    2. net stop w3svc
    3. unistalled Web Components and URL-Rewrite
    4. rebooted FE server
    5. run Bootstrapper and install Web
    Components and URL-rewrite module
    6. run LyncserverUpdateInstaller.exe
    from LHPv2 ISO image and install recent updates for Web Components.
    7. one more reboot 
    Now, Lync Online Meetings are working,
    but LS Join Launcher error 64008 is still there, repeating every 15-20 seconds on every FE servers(I have five)
    I tried Lync Server 2013 Logging Tool
    on one of my FE servers and I found these additional errors:
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000117 (JoinLauncher,JoinLauncherProxyRouter.ComputeIncomingURL:3166.idx(2740))
    (0000000000403C61)URL Path is either NULL / empty or points to resources directory
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000135 (JoinLauncher,Default_aspx.Page_Load:849.idx(1915))
    (00000000010FCA91)Context flag is missing !
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000137 (JoinLauncher,Default_aspx.Page_Load:849.idx(1961))
    (00000000010FCA91)Proxy module didnt find this meeting to be valid. Preparing to send the correct error response !
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000138 (JoinLauncher,JoinLauncherTelemetryProxy.SendCERReport:1579.idx(152))
    (0000000003581F88)Failed to report CER to the DB.

  • LYNC Server 2013 LS Address Book and Distribution List Expansion Web Service error - Event ID 62005

    Hi,
      Recently,  I found some of LS Address Book and Distribution List Expansion Web Service error from Lync 2013 Front  End Server, kindly advise help how to solve it. many thanks
    Distribution List Expansion Web Service failed to initialize.
    Exception: The server is not operational.
    Cause: Unexpected exception occurred during initialization.
    Resolution:
    Examine exception details in event to determine the resolution.
    Best Regards
    Thomas

    Hi,
    You can do the following steps to solve the issue:
    Please double check the Windows Firewall is turned off.
    Please check if the CMS replication update to the latest version.
    Make sure Lync Server update to the latest version.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • SAP Web Service error text : The database returned a value containing an error , type  CX_SY_OPEN_SQL_DB

    Hello Guru's,
    we are creating sales order in SAP from a quote created in .NET,  through Web Service created in SAP, and consumed in .NET.
    When ever a order is created in SAP for a given quote, SAP returns the sales order number to .NET.
    Orders are getting created as expected, but once in a while we are getting the following error from webservice :
    Web service processing error; more details in the web service error log on provider side (UTC timestamp 20140609173429; Transaction ID 4DFCEFE33301F1EBB5CE00155D0B4530)
    But the problem is order is getting created in SAP for the perticular quote for which we are getting the above error and this order number is not getting returned to .NET.
    Upon analysis in TCODE  SRT_UTIL for the above transaction ID, has the following details , which are hardly help full to resolve the error.
    ----TYPE                                  CX_SY_OPEN_SQL_DB
    ----ERROR_TEXT                   The database returned a value containing an error
    ----CX_SY_NO_HANDLER
    -----CLASSNAME                     CX_SY_OPEN_SQL_DB
    This Exception raised by Web Service application
    Could you please help in resolving this issue or alteast provide an approach for the same.
    Thank you,
    Suresh.

    Thank you Bhaskar,
    How can we clarify whether the error is from SAP or Web part.
    I have checked ST22, but there is not entry for the perticular  exception transaction ID
    My exception time stamp is
    -------------------START-------------6/9/2014 1:34:33 PM
    Error :Web service processing error; more details in the web service error log on provider side (UTC timestamp 20140609173429; Transaction ID 4DFCEFE33301F1EBB5CE00155D0B4530)
    -------------------END-------------6/9/2014 1:34:33 PM
    In al11, i found the following for the perticular exception time stamp
    **** Trace file opened at 20140609 133431 Eastern Daylight Time, by disp+work
    **** Versions SAP-REL 720,0,500 RFC-VER U 3 1442251 MT-SL
    XRFC> Begin of user trace
    XRFC> ---------------------------------------------------------------------
    XRFC>                                                                     <
    XRFC> TRACE SOAP RUNTIME - header                                         <
    XRFC>                                                                     <
    XRFC> ------------------------------------------------------------------  <
    XRFC> REQ_SIZE   : 2685                                                   <
    XRFC> RESP_SIZE  : 0                                                      <
    XRFC> PARENT_ID  : ROOT_CALL_ID                                           <
    XRFC> TRC_KEY    : 40FCEFE3BD6EF184B5CE00155D0B4530                       <
    XRFC> REQ_BASED  :                                                        <
    XRFC> SESSION_ID : 0003925540FCEFE3BD6EF17DB5CE00155D0B4530               <
    XRFC> TS_CALL    : 20140609173408.2880000                                 <
    XRFC> SY_UNAME   :                                            <
    XRFC> HOSTNAME   :                                              <
    XRFC> SY_SID     : PRD                                                    <
    XRFC> SY_MANDT   : 300                                                    <
    XRFC> SYS_NR     : 19                                                     <
    XRFC> APPLSERVER :                                      <
    XRFC> ISPRESCHED : X                                                      <
    XRFC> DURATION   : 21810                                                  <
    XRFC> NETHDRTIME : 21810                                                  <
    XRFC> CALL_STATE : 2                                                      <
    XRFC> ERRORTYPE  : APPLFAIL                                               <
    XRFC> ERRORAREA  : APPL                                                   <
    XRFC> CTXDP_TYPE : SOAP_RUNTIME                                           <
    XRFC> SYNC_ASYNC : S                                                      <
    XRFC> LOCATION   : P                                                      <
    XRFC> DIRECTION  : I                                                      <
    XRFC> REQ_ID     : 91C57815916E421CA9F3D652FFACE9C7                       <
    XRFC> RESP_ID    : 00155D0B45301EE3BBFF89A0267EB5CE                       <
    XRFC> MSG_STATE  : 114                                                    <
    XRFC> IF_NAME_I  : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> IF_NS_E    : urn:sap-com:document:sap:soap:functions:mc-style       <
    XRFC> IF_NAME_E  : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> ISSHORTCUT :                                                        <
    XRFC> TRC_PATT   : WSTEST                                                 <
    XRFC> TRC_SSID   : PRD_19                                                 <
    XRFC> TRC_USER   :                                           <
    XRFC> TRC_TS     : 20140609173409                                         <
    XRFC> TRC_COUNT  : 99                                                     <
    XRFC> TRC_EXT    :                                                        <
    XRFC> COMPLETE   : OK                                                     <
    XRFC> CALLEDPROG : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> SOAP_APPLI : urn:sap-com:soap:runtime:application:rfc:710           <
    XRFC> CONF_ID    : 00155D0B45301EE3AEFDAD78756555CE                       <
    XRFC> BIND_ID    : 00155D0B45301EE3AEFDAD787565B5CE                       <
    XRFC> OP_NAME    : ZsdCsCreateSalesorder                                  <
    XRFC> COMM_PATRN : Method:ZsdCsCreateSalesorder                           <
    XRFC> OP_NS      : urn:sap-com:document:sap:soap:functions:mc-style       <
    XRFC> REMADDRESS : 172.16.11.43                                           <
    XRFC> DT_OBJ     : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> MEMCONSUMP : 296291                                                 <
    XRFC> WSHOST     :                                                        <
    XRFC> WSPORT     :                                                        <
    XRFC> WSPROT     :                                                        <
    XRFC> WSCLIENT   :                                                        <
    XRFC> WSPATH     :                                                        <
    XRFC> PXYHOST    :                                                        <
    XRFC> PXYPORT    :                                                        <
    XRFC> USEDRFCDES :                                                        <
    XRFC> BONAME     :                                                        <
    XRFC> PROCCOMP   :                                                        <
    XRFC> DEPLOYUNIT :                                                        <
    XRFC> ------------------------------------------------------------------  <
    XRFC>                                                                     <
    XRFC> TRACE SOAP RUNTIME - trace records                                  <
    XRFC>                                                                     <
    XRFC> ------------------------------------------------------------------  <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING Exception handling for IF "ZSD_CS_CREATE       <
    XRFC> _SALESORDER_SERVI" OP name "ZsdCsCreateSalesorder" MSG ID           <
    XRFC> "91C57815916E421CA9F3D652FFACE9C7" user "STULZWEBSERV"              <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7240000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SOAP_ROOT : An exception has occurred. |    <
    XRFC> program: CL_SOAP_RUNTIME_ROOT==========CP include: CL_SOAP          <
    XRFC> _RUNTIME_ROOT==========CM004 line: 120                              <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SY_NO_HANDLER : An exception with the type  <
    XRFC> CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor    <
    XRFC> declared in a RAISING clause | program: SAPLSTXD include: LSTXDFDB  <
    XRFC> line: 200                                                           <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SY_OPEN_SQL_DB : The database returned a    <
    XRFC> value containing an error | program: SAPLSTXD include: LSTXDFDB     <
    XRFC> line: 227                                                           <
    XRFC>                                                                     <
    XRFC> ---------------------------------------------------------------------
    XRFC> End of user trace

  • I get an web service error when trying enable web services. I have latest update and rebooted

    i get an web service error when trying enable web services. I have latest update and rebooted

    hi there philnj,
    could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Web Services Error When running Sample Application

    When I was testing "Create a New Customer" from the Sample application in Oracle's provided free new HTML DB 2.0 environment (just out last night), I got the following error message.
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, or your environment requires a valid proxy server address for HTTP requests.
    I was using my laptop through SBC Yahoo DSL service (dynamic IP address) to test this HTML DB Sample application.
    Any suggestion for this Web Services Error?

    cckung,
    Oracle's IT team has disabled the ability to call web services from htmldb.oracle.com. We are working with them to resolve this, but I don't have an ETA.
    Thanks,
    - Scott -

  • HP Photosmart 7520 unable to connect to web services error

    I've used my HP Photosmart 7520 for years without issue scanning to email.  Now I get "Unable to connect to Web Services" error message.  I've done all the procedures listed in the blog, including changing the manual DNS server configuration and still get the same error.  Help!

    Hi @ajbond77,
    Welcome to the HP Support Forums.  I understand that you are getting a connection error message when attempting to use the scan to email feature of your Photosmart 7520 printer.
    If you have already set a manual IP address and manual DNS servers, then please call HP’s Cloud Services at 1-855-785-2777 if you live in the USA/Canada region. If you live outside the USA/Canada region please click here to find the Technical Support number for your country/region.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Got error when calling a web service, "XMLParametersToComHashtable:LoadXML failed"

    Hi, I'm using vs2012, c# and asp.net.
    In my asp.net web form project I got the error at the LOC when I call the web service's Search method.  What does this error mean and how do I fix this?  Am I to use some type of reader or loader?  The Search method returns a XMLNode type.
     But I thought using InnerText should be fine but I'm still getting the error.
    thank you.
    var restApi = new someWebServices.restApi();
    strParm1 = restApi.Login(XXXXXXXXXXX);
     var rtnSrv = (restApi.Search(strParm1, strParm2, 1, -1, false, @"<![CDATA[<parameters><parameter name=""XXXXXXXXX"" value=""XXXXXXXXXXXXXXXXXXXXX""/></parameters>]]>")).InnerText;
    Thank you

    There is a Web service section in the ASP.NET forum.
    http://forums.asp.net/

  • Invoking web service from OBIEE11g failed socket timeout

    Hi,
    I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine.
    An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 secs.
    Is there any settings of WebLogic server to avoid this? This web service normally runs for more than 60 sec.
    I have checked several parameters in WebLogic admin console and changed those values, but I still receive the same error.
    Invoking the same web service from SOAPUI sustains for more than 60 secs.
    Regards,
    Fujio Sonehara

    Don't be too surprised. Sun figured this bug out in short order. I got the same error message when trying to do the same thing, just for the heck of it. Reference this article for details.
    http://java.sun.com/webservices/docs/ea2/jaxrpc/ReleaseNotes.html
    It contains information about bugs fixed in the WSDP EA2. So in answer to your question, download the newer pack from
    http://java.sun.com/webservices/downloads/webservicespack.html
    and your bug will go away. Happy Coding.
    Legal Problems?
    Legal Solutions, for a lot less than you might think.
    [email protected]
    http://www.prepaidlegal.com/go/pritchard45

  • Please help...I can't solve this web services error (ConfigException)

    Hi
    I've got the following error when I try to build document-oriented web services
    [clientgen] Generating client jar for WLWSSEApp.ear(SimpleService) ...
    [clientgen] weblogic.webservice.server.ConfigException: Could not add parameter
    to operation. You must specify either its Java or XML type.
    [clientgen] at weblogic.webservice.server.WebServiceFactory.addPart(WebServi
    ceFactory.java:1258)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.addParamsToMetho
    d(WebServiceFactory.java:1211)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.registerOperatio
    n(WebServiceFactory.java:798)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.initOperations(W
    ebServiceFactory.java:633)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.createFromMBean(
    WebServiceFactory.java:220)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebSe
    rviceRuntime(WSDLGenImpl.java:240)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDL
    GenImpl.java:135)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
    ntGenFromEAR(ClientGenImpl.java:438)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
    ientGenImpl.java:345)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doC
    lientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.exe
    cute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/bea/user_projects/domains/examples/build_ws/build.xml:54: weblogic.webservice.tools.build.WSBuildException: Could not add parameter to operation. You mu
    st specify either its Java or XML type. - with nested exception:
    [weblogic.webservice.server.ConfigException: Could not add parameter to operatio
    n. You must specify either its Java or XML type.]
    My environment:
    - JBuilder X
    - Weblogic Platform 8.1
    - Windows XP SP2
    Here are my steps of implementing web services:
    1. Write the Java code for the back-end components that make up the Web Service. Here's the method that handle the operation
    public String testName(InputParam test) {
    String inputName = test.getName();
    System.out.println("Input name:"+inputName);
    return "Hello "+inputName;
    Here's InputParam:
    public class InputParam {
    private String name;
    public InputParam() {
    public String getName() {
    return name;
    public void setName(String name) {
    this.name = name;
    2. Since I use JBuilder X I configure everything including handlers chain through web services designers
    3. Build project
    If nothing goes wrong, I will get generated client jars and a war file with web-services.xml inside.
    I have no problem when I implement RPC-style web services.
    I got the above error when I implement Document-oriented web services, but
    I have no problem when I use String as a parameter instead of InputParam class.
    I tried to change some attributes that might be relevant but got no luck.
    I've tried using clientgen command line as well but the result was the same.
    Below are the guidelines for creating document-oriented web services from the BEA's document that I think I already followed
    - The methods that implement each operation of the Web Service can have only one parameter. This single parameter can be of any supported data type. (The Weblogic web services toolkit support simple JavaBean, doesn't it?)
    - The methods that implement each operation cannot use out and in-out parameters. (I'm not sure about this one since I got Holder classes after using clientgen. However, there's no <param> tag in web-services.xml.)
    I found the old solution from support.bea.com (ID = S-25689), but I don't think my situation is the same. I got the error while building web services...not deploying a web service.
    Any answers to this question will be very much appreciated.
    George

    Quote from: danknuggets11 on 22-December-06, 11:23:06
    Reply, Should have mentioned this before, I can't even turn agp on.  I go into SMARTGART it shows AGP off, Fastwrites off.  If I move the AGP settings to 4x, 8x, it says I need to restart to apply. After the restart it just resets it back to off.
    get Driver Cleaner and remove curently ATI Drivers.
    reboot,
    get and install chipset Drivers: http://download.msi.com.tw/support/dvr_exe/mbd_dvr/VIA4in1_MB.zip
    reboot,
    then get and install ATI Drivers: https://forum-en.msi.com/index.php?topic=102839.msg761297#msg761297

  • Handling web service error in BPM

    My scenario is get a message from a data base and call web service using that, if web service is available get the response from web service and send it back to data base, incase web service call is unavailable.
    When web service is unavilable Iam getting a fault message back and could not proceed. I have a seperate blco to do web service call, in that I have Synchronous send step in BPM, and selected default system error under Exception.
    My requirment is when SOAP fault occurs I need to send the data back to data base else proceed if web service call is sucessful.

    Looks like we can not handle fault messages in BPM.
    Before I close this thread. just wanted to give little more explanation reg. my scenario.
    Business scenario -  Pull the data from Data base using a Stroed Procedure(this marks the records once it is successful) and call web service using this data. If web service call is success, push the response received from web service to Data Base. If call to web service fails, still push the data which was pulled initially from database back to same location in database.
    Iam using BPM to get the message from Data Base using JDBC sender adapter, once I got the data  Asynchronously into BPM Iam using Synchronous send step to call web service, in the properties section, I have specified request message (abstract asynchronous, ) response message (abstract asynchronous) ,  Receive from - SendContext and selected default option which is ExWebserviceCall for SystemError.
    I have an exception branch for this synchronous send step, which is working good incase of system error.
    This is working good when I tried to testing using invalid URL for target system.  When web service itself is down , in this case  Iam getting SOAP Fault back with HTTP code 500.
    In SXMB_MONI, under error - it is showing as this error is related to application , which I think is application error.
    When this happens my process is not working.
    Edited by: Vamsi on Aug 26, 2010 4:31 PM

  • Mail Connection Failures And EWS (Exchange Web Service) Errors

    Hi,
    I upgraded from Leopard to Snow Leopard on Friday, and was able to set up my Mail, iCal, and Address Book very quickly and easily. Everything has been working great until today, when I experienced an issue with emails with attachments. The company I work for uses Exchange 2007 hosted on Rackspace.
    When sending an email with attachments, I sporadically receive a connection error. This is the same error that I usually get if a server goes offline or I lose my Internet connection - the one where you get the choice to either try again, send later, or use another server to send the email. I will receive this error over and over, and can then send an email with attachments a few minutes later without issue, so it is definitely a sporadic problem. I have not had this issue with emails that did not contain attachments. On at least one occasion, an email with attachments was delivered to the recipient successfully but failed to show up in my Sent Items either in Mail or on the Exchange Server's web mail client.
    Rackspace was unable to diagnose the issue, but they have had several reports of the same problem. I looked in the console and saw several errors logged by Mail, all which appeared to happen around the same times that I had the connection failures for the messages with attachments.
    8/31/09 1:17:00 PM Mail[1764] Error (null) occurred while trying to append messages to outgoing store. Ignoring and proceeding with delivery...
    8/31/09 1:57:06 PM Mail[1764] Error (null) occurred while trying to append messages to outgoing store. Ignoring and proceeding with delivery...
    8/31/09 2:32:14 PM Mail[1764] Error Error Domain=MFEWSErrorDomain Code=56 UserInfo=0x1179aa6f0 "The operation couldn’t be completed. (MFEWSErrorDomain error 56.)" occurred while trying to append messages to outgoing store. Ignoring and proceeding with delivery...
    8/31/09 2:44:21 PM Mail[1764] Error Error Domain=MFEWSErrorDomain Code=56 UserInfo=0x116c0aa40 "The operation couldn’t be completed. (MFEWSErrorDomain error 56.)" occurred while trying to append messages to outgoing store. Ignoring and proceeding with delivery...
    8/31/09 3:19:59 PM Mail[4279] * Assertion failure in -[ComposeBackEnd setAccount:], /SourceCache/Mail/Mail-1075/Compose.subproj/ComposeBackEnd.m:1522
    ComposeBackEnd does not support explicitly setting an account
    0 Message 0x00007fff876aa880 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
    1 Message 0x00007fff876aa7e5 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
    2 Mail 0x00000001001442ec 0x0 + 4296295148
    3 Foundation 0x00007fff86ab9722 _NSSetObjectValueAndNotify + 258
    4 Mail 0x00000001001428da 0x0 + 4296288474
    5 CoreFoundation 0x00007fff87aae35c _invoking__ + 140
    6 CoreFoundation 0x00007fff87aae22d -[NSInvocation invoke] + 141
    7 Message 0x00007fff874ee0aa -[ThrowingInvocationOperation main] + 31
    8 Message 0x00007fff874ed9ea -[_MFInvocationOperation main] + 275
    9 Foundation 0x00007fff86ac611a -[__NSOperationInternal start] + 673
    10 Foundation 0x00007fff86ac5dd8 ___startOperations_block_invoke2 + 99
    11 libSystem.B.dylib 0x00007fff82515dc7 dispatch_call_block_andrelease + 15
    12 libSystem.B.dylib 0x00007fff824f4341 dispatch_workerthread2 + 231
    13 libSystem.B.dylib 0x00007fff824f3c80 pthreadwqthread + 353
    14 libSystem.B.dylib 0x00007fff824f3b1d start_wqthread + 13
    8/31/09 3:20:36 PM Mail[4279] * Assertion failure in -[ComposeBackEnd setAccount:], /SourceCache/Mail/Mail-1075/Compose.subproj/ComposeBackEnd.m:1522
    ComposeBackEnd does not support explicitly setting an account
    0 Message 0x00007fff876aa880 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
    1 Message 0x00007fff876aa7e5 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
    2 Mail 0x00000001001442ec 0x0 + 4296295148
    3 Foundation 0x00007fff86ab9722 _NSSetObjectValueAndNotify + 258
    4 Mail 0x00000001001428da 0x0 + 4296288474
    5 CoreFoundation 0x00007fff87aae35c _invoking__ + 140
    6 CoreFoundation 0x00007fff87aae22d -[NSInvocation invoke] + 141
    7 Message 0x00007fff874ee0aa -[ThrowingInvocationOperation main] + 31
    8 Message 0x00007fff874ed9ea -[_MFInvocationOperation main] + 275
    9 Foundation 0x00007fff86ac611a -[__NSOperationInternal start] + 673
    10 Foundation 0x00007fff86ac5dd8 ___startOperations_block_invoke2 + 99
    11 libSystem.B.dylib 0x00007fff82515dc7 dispatch_call_block_andrelease + 15
    12 libSystem.B.dylib 0x00007fff824f4341 dispatch_workerthread2 + 231
    13 libSystem.B.dylib 0x00007fff824f3c80 pthreadwqthread + 353
    14 libSystem.B.dylib 0x00007fff824f3b1d start_wqthread + 13
    8/31/09 3:49:26 PM Mail[4279] * Assertion failure in -[EWSDelivery deliverSynchronously], /SourceCache/Message/Message-1075.2/Delivery.subproj/EWSDelivery.m:84
    EWSDelivery doesn't have an EWSAccount, got (null) instead
    0 Message 0x00007fff876aa880 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
    1 Message 0x00007fff876aa7e5 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
    2 Message 0x00007fff875f51e9 -[EWSDelivery deliverSynchronously] + 861
    3 Mail 0x000000010007d120 0x0 + 4295479584
    4 Mail 0x000000010007cc38 0x0 + 4295478328
    5 CoreFoundation 0x00007fff87aae35c _invoking__ + 140
    6 CoreFoundation 0x00007fff87aae22d -[NSInvocation invoke] + 141
    7 Message 0x00007fff87506b51 -[MonitoredInvocation invoke] + 214
    8 Message 0x00007fff874ee0aa -[ThrowingInvocationOperation main] + 31
    9 Message 0x00007fff874ed9ea -[_MFInvocationOperation main] + 275
    10 Foundation 0x00007fff86ac611a -[__NSOperationInternal start] + 673
    11 Foundation 0x00007fff86ac5dd8 ___startOperations_block_invoke2 + 99
    12 libSystem.B.dylib 0x00007fff82515dc7 dispatch_call_block_andrelease + 15
    13 libSystem.B.dylib 0x00007fff824f4341 dispatch_workerthread2 + 231
    14 libSystem.B.dylib 0x00007fff824f3c80 pthreadwqthread + 353
    15 libSystem.B.dylib 0x00007fff824f3b1d start_wqthread + 13
    8/31/09 4:00:06 PM Mail[4279] * Assertion failure in -[ComposeBackEnd setAccount:], /SourceCache/Mail/Mail-1075/Compose.subproj/ComposeBackEnd.m:1522
    ComposeBackEnd does not support explicitly setting an account
    0 Message 0x00007fff876aa880 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 137
    1 Message 0x00007fff876aa7e5 -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 220
    2 Mail 0x00000001001442ec 0x0 + 4296295148
    3 Foundation 0x00007fff86ab9722 _NSSetObjectValueAndNotify + 258
    4 Mail 0x00000001001428da 0x0 + 4296288474
    5 CoreFoundation 0x00007fff87aae35c _invoking__ + 140
    6 CoreFoundation 0x00007fff87aae22d -[NSInvocation invoke] + 141
    7 Message 0x00007fff874ee0aa -[ThrowingInvocationOperation main] + 31
    8 Message 0x00007fff874ed9ea -[_MFInvocationOperation main] + 275
    9 Foundation 0x00007fff86ac611a -[__NSOperationInternal start] + 673
    10 Foundation 0x00007fff86ac5dd8 ___startOperations_block_invoke2 + 99
    11 libSystem.B.dylib 0x00007fff82515dc7 dispatch_call_block_andrelease + 15
    12 libSystem.B.dylib 0x00007fff824f4341 dispatch_workerthread2 + 231
    13 libSystem.B.dylib 0x00007fff824f3c80 pthreadwqthread + 353
    14 libSystem.B.dylib 0x00007fff824f3b1d start_wqthread + 13
    Just wanted to report this issue in case this is something that other people are experiencing, and to see if Apple's engineers could look in to it. There is a simple workaround, which is to set up a regular SMTP server as the outgoing mail server for the Exchange account, and to use this instead of the outgoing Exchange server set up by Snow Leopard.
    Thanks,
    - max

    Hi MangeshDD,
    Some other information for you:
    Understanding Exchange Web Services Virtual Directories
    If you still have other confused points, please feel free let us know.
    Regards!
    Gavin
    TechNet Community Support

Maybe you are looking for

  • Multiple Page Contents Page Fields In Custom Page Layout SP2013

    I'm rather new so bare with me.  I'm trying to add multiple page content page fields with snippets to a custom page layout html file in SP2013 Designer.  Once I add the snippet and publish, I review the page and any text written in the last created p

  • How do I (or can I) apply alternating para styles (using "next style") to existing text?

    I am trying to apply background shading to alternate lines of text by creating two paragraph styles and naming each as the "next style". This works when manually entering text - but I can't figure out if it is possible to apply it to existing copy wi

  • Artist view in Music App is not displaying all the albums of an artist.  iOS 5 problem?

    In my case, for example, I have 2 albums of Sade. When viewed in Artist view, only one album shows up.  The other album is missing. But when I go to Album view, I can find the Album.  And the artist name is correctly labeled as Sade. Anyone knows why

  • Save as keynote '08 problem

    Hi since a couple of weeks my KN9 presentations saved in KN8 don't open anymore nor on my KN8 neither on those of my colleagues. The message just says: can't open the xxx.key file I need to save presentations created in KN9 into KN8 to share them wit

  • Extending Fiori oDATA service

    Hi, I'm trying to extend Fiori oDATA service SRA017. I'm trying to add more fields to ProductAttributes Entity, there is Customer Extension Include  SRA017_S_SO_PRODATTR_INCL for sttructure SRA017_S_SO_PRODATTR, I canno edit it, it asking me for acce