XmlMarshalException

<b>Hello Experts
I m trying to use XI-WSDL from the Dynpro.The input parameters are of <ComplexType_XXX> type .
input levels are:-</b>
<Request_XXXX> -> (CVXSADTY_SearchInput)ComplexType_CVXSADTY_SearchInput --> (Input)ComplexType_CVXSADTY_CCSearchInput
<b>I intialized all the context in the wdDoInit().</b>
<b>code:</b>
Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch reqObj = new Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch();
     xi.ComplexType_CVXSADTY_SearchInput si =new xi.ComplexType_CVXSADTY_SearchInput();
     xi.ComplexType_CVXSADTY_CCSearchInput ccsi = new xi.ComplexType_CVXSADTY_CCSearchInput();
     si.setInput(ccsi);
     reqObj.setCVXSAMST_SearchInput(si);
     wdContext
                    .nodeRequest_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch()
                    .bind(
                    reqObj);
<b>But after deloying the application is giving following error.</b>
Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Input] of class [xi.proxies.types.CVXSADTY_SearchInput] must exist and can not be null. This is required by schema description.
<b>How should i proceed?
Regards
DhanyaR Nair</b>

Hi Dhanya,
What you have done seems correct. However instead of
<i>si.setInput(ccsi);</i>
can you try using
<i>si.addInput(ccsi);</i>
if such a method exists.
Good Luck,
Atul

Similar Messages

  • XmlMarshalException on using XI generated Webservice with WebDynpro

    Hi,
    i have a problem creating a WebDynpro application using a WebService model created by XI.
    When executing the service:
    public void onActionGO(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionGO(ServerEvent)
    try {
    wdContext.currentRequest_MI_BESCHAFFUNG_MI_BESCHAFFUNGElement().modelObject().execute();
    wdThis.wdFirePlugToMIBeschaffungResultView();
    catch (Exception e) {
    wdComponentAPI.getMessageManager().reportException( e.getLocalizedMessage(), false );
    //@@end
    I get the following error message:
    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [DATA] of class [de.gisa.mibeschaffung.model.proxies.types.RFC_READ_TABLE] must exist and can not be null. This is required by schema description.
    The classes generated by the WSDL import are prefixed by ComplexType. So could this be the culprit here? Also the generated classes are in the de.gisa.mibeschaffung package not in the de.gisa.mibeschaffung.model.proxies.types package.
    I appreciate your input!
    regards
    Dirk

    How do you suggest converting those inputs?
    Using a Netweaver Developer Studio generated model (from a
    WSDL description in turn generated by XI) should shield one from the actual programming tasks required to do that.
    Am i mistaken about that?

  • I am getting  XmlMarshalException

    Hi All,
    I have imported a web service model into Web Dynpro application and done the binding.
    When i deploy the application ,  I am getting following error.
    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [RETURN] of class [com.abc.model.proxies.types.BAPI_NAME] must exist and can not be null. This is required by schema description.
    Appreciate any help in this.
    Regards,
    Venkat

    hi
    I got  the same error before . When  webservice model  cannot be serialized to a valid XML request message, then XMLMarshallException is thrown.This Stops webservice call
    Also look at this Link for help<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/42/93d56ba5061d68e10000000a1553f6/frameset.htm">link</a>
    Regards,
    Arun

  • Serialization Error after adding a new field to BPM Process

    Hi,
    I have a BPM Process to which I added a new attribute userid and consuming the BPM process in a web dynpro application, I created a model using the BPM Process's Web Service but getting a serialization error that the model does not have a mandatory field with name [userid]. see below.
    FYI.. I can trigger my BPM process through the Web Service in wsnavigator , the error I am getting is while executing the BPM Process from the custom webdynpro.
    Any idea how to resolve the issue?
    XML Serialization Error. GenericObject [
    <modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
    ] does not have a mandatory field with name [userid].
    [EXCEPTION]
    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. GenericObject [
    <modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
    ] does not have a mandatory field with name [userid].
    at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFieldContent(SerializationUtil.java:1546)
    at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFields(SerializationUtil.java:1431)
    at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericType(SerializationUtil.java:1383)
    at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:168)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeParameter(SOAPTransportBinding.java:1731)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeRequest(SOAPTransportBinding.java:1683)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:254)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1272)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:952)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:907)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
    at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73)
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.execute(WSTypedModelClassExecutable.java:49)
    at com.sap.demo.wdpoc.wd.comp.wdpoc.Wdpoc.execute(Wdpoc.java:257)

    This question is not answered but I am marking it answered because I have to post more.
    Sorry
    -Ashwani

  • How to do parameter binding in web dynpro

    My Web Service expects an input  object called "Token " which consistes of
    Token id, Provider -
    both strings
    Web service is checkUser
    I did mapping and all those things . In my UI(automatically created), i'll take the input from user for Token id and Provider. and on action of button iam calling the web service like this
    wdContext.currentRequest_CheckUser_checkUserElement().modelObject().execute();
    wdContext.nodeResponse().invalidate();
    in init method i have binded the request like this
    Request_CheckUser_checkUser req = new Request_CheckUser_checkUser();
    wdContext.nodeRequest_CheckUser_checkUser().bind(req);
    This were the 4 lines of code . Now i get excpetion like this
    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Token] of class [com.intellect.model.proxies.types.CheckUserRq] must exist and can not be null. This is required by schema description.
    pls help

    Hi sujesh,
    U have to set the internet settings like ip address and all in the <b>Logical ports</b>. u can find this when u import ur webservice model u 'll get this logical ports in the tree structure just below the model classes.
    and one more thing just try the url of the webservice in the internet explorer if u r able to open it or not.
    if u r able to do this then, how r u accessing ur internet?? where r u deploying ur application ?? is that server having that internet access and through which ip??
    just check all this and let me know...
    Sirisha.

  • A cycle is detected in the object graph.  This will cause an infinite loop.

    People,
    Looking for a little guidance.  Please point me in the correct direction if I am mistaken.  I am using Jersey 2.11 and generating JAXB definitions from XSD.
    I have a periodic exception that seems to be timing based.  If I change the timing of the message sent in anyway the error does not occur.  The other issue is that the cycle reported in the error changes some times, however, the cycles reported can not occur based on the XSD definition.  I have also dumped the message before sending and it definitely does not contain the cycle reported.
    In this specific scenario, I am sending a message of NotificationType which contains a list of DocumentType, however, DocumentType can never contain NotificationType so the following cycle is not possible:
    net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3]
    I am wondering if there could be a different reason for receiving the following exception?
    Thank you for the help,
    John
    [code]
    [ERROR] [08/22/2014 11:16:22.307] [NSI-DISCOVERY-akka.actor.default-dispatcher-4] [akka://NSI-DISCOVERY/user/discovery-notificationRouter/$c] HTTP 500 Internal Server Error
    javax.ws.rs.ProcessingException: HTTP 500 Internal Server Error
            at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
            at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667)
            at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664)
            at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
            at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
            at org.glassfish.jersey.internal.Errors.process(Errors.java:228)        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)
            at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664)
            at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:424)
            at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:333)
            at net.es.nsi.pce.discovery.actors.NotificationActor.onReceive(NotificationActor.java:100)
            at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)
            at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
            at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
            at akka.actor.ActorCell.invoke(ActorCell.scala:487)
            at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
            at akka.dispatch.Mailbox.run(Mailbox.scala:220)
            at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
            at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
            at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
            at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
            at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
    Caused by: javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
            at org.glassfish.jersey.message.internal.AbstractJaxbElementProvider.writeTo(AbstractJaxbElementProvider.java:152)
            at org.glassfish.jersey.message.internal.AbstractJaxbElementProvider.writeTo(AbstractJaxbElementProvider.java:85)
            at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
            at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
            at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
            at org.glassfish.jersey.filter.LoggingFilter.aroundWriteTo(LoggingFilter.java:293)
            at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
            at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1154)
            at org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:503)
            at org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:315)
            at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:227)
            at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246)
            ... 22 more
    Caused by: javax.xml.bind.MarshalException
    - with linked exception:
    [Exception [EclipseLink-25003] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: An error occurred marshalling the object
    Internal Exception: Exception [EclipseLink-25037] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A cycle is detected in the object graph.  This will cause an infinite loop: net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3]
            at org.eclipse.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:403)
            at org.glassfish.jersey.message.internal.XmlJaxbElementProvider.writeTo(XmlJaxbElementProvider.java:139)
            at org.glassfish.jersey.message.internal.AbstractJaxbElementProvider.writeTo(AbstractJaxbElementProvider.java:150)
            ... 33 more
    Caused by: Exception [EclipseLink-25003] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: An error occurred marshalling the object
    Internal Exception: Exception [EclipseLink-25037] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A cycle is detected in the object graph.  This will cause an infinite loop: net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3
            at org.eclipse.persistence.exceptions.XMLMarshalException.marshalException(XMLMarshalException.java:97)
            at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:911)
            at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:848)
            at org.eclipse.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:401)
            ... 35 more
    Caused by: Exception [EclipseLink-25037] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A cycle is detected in the object graph.  This will cause an infinite loop: net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3
            at org.eclipse.persistence.exceptions.XMLMarshalException.objectCycleDetected(XMLMarshalException.java:400)
            at org.eclipse.persistence.internal.oxm.XPathObjectBuilder.buildRow(XPathObjectBuilder.java:207)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:118)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:1)
            at org.eclipse.persistence.internal.oxm.XMLCompositeObjectMappingNodeValue.marshalSingleValue(XMLCompositeObjectMappingNodeValue.java:237)
            at org.eclipse.persistence.internal.oxm.XMLCompositeObjectMappingNodeValue.marshal(XMLCompositeObjectMappingNodeValue.java:149)
            at org.eclipse.persistence.internal.oxm.NodeValue.marshal(NodeValue.java:102)
            at org.eclipse.persistence.internal.oxm.record.ObjectMarshalContext.marshal(ObjectMarshalContext.java:59)
            at org.eclipse.persistence.internal.oxm.XPathNode.marshal(XPathNode.java:393)
            at org.eclipse.persistence.internal.oxm.XPathObjectBuilder.buildRow(XPathObjectBuilder.java:238)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:118)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:1)
            at org.eclipse.persistence.internal.oxm.XMLCompositeCollectionMappingNodeValue.marshalSingleValue(XMLCompositeCollectionMappingNodeValue.java:321)
            at org.eclipse.persistence.internal.oxm.XMLCompositeCollectionMappingNodeValue.marshal(XMLCompositeCollectionMappingNodeValue.java:104)
            at org.eclipse.persistence.internal.oxm.NodeValue.marshal(NodeValue.java:149)
            at org.eclipse.persistence.internal.oxm.NodeValue.marshal(NodeValue.java:102)
            at org.eclipse.persistence.internal.oxm.record.ObjectMarshalContext.marshal(ObjectMarshalContext.java:59)
            at org.eclipse.persistence.internal.oxm.XPathNode.marshal(XPathNode.java:393)
            at org.eclipse.persistence.internal.oxm.XPathObjectBuilder.buildRow(XPathObjectBuilder.java:238)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:118)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:1)
            at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:743)
            at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:901)
            ... 37 more
    [/code]

    Unfortunately, even this thread is unanswered, i am closing the thread.as it it creating problems for further posting

  • Internal Exception: oracle.xml.parser.v2.XMLParseException xsi:type "toplin

    i am using toplink 10.1.3.0.0 with oracle app server 10.1.2.2, i am using change field optimistic locking and generating the project xml,
    application runs great locally in the jdeveloper, but when it is deployed on app server getting following error
    here are the headers from both my project.xml as well as session xml..
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <opm:name>PROJ</opm:name>
    <opm:class-mapping-descriptors>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink-sessions version="4.5" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>PROJSession</name>
    <event-listener-classes/>
    <logging xsi:type="toplink-log">
    <log-level>finer</log-level>
    </logging>
    <primary-project xsi:type="xml">PROJ.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.OraclePlatform</platform-class>
    <user-name></user-name>
    any help/idea appreciated...
    Exception [TOPLINK-9005] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: An exception was thrown while loading the <project-xml> file [PROJ.xml].
    Internal Exception: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document
    Internal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.platform.xml.XMLPlatformException
    Exception Description: An error occurred while parsing the document.
    Internal Exception: oracle.xml.parser.v2.XMLParseException: xsi:type "toplink:changed-field-locking-policy" not resolved to a type definition
    at oracle.toplink.exceptions.SessionLoaderException.failedToLoadProjectXml(SessionLoaderException.java:74)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.loadProjectConfig(TopLinkSessionsFactory.java:316)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.createSession(TopLinkSessionsFactory.java:241)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildServerSessionConfig(TopLinkSessionsFactory.java:215)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildSession(TopLinkSessionsFactory.java:168)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildTopLinkSessions(TopLinkSessionsFactory.java:124)
    at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:103)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:367)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:334)
    at myProjectPackage.common.data.toplink.ToplinkDataManagerPeer.<init>(ToplinkDataManagerPeer.java:41)
    at myProjectPackage.common.data.DataManagerFactory.getDataManagerInstance(DataManagerFactory.java:40)
    at myProjectPackage.common.servlet.NYSDOTFilter.getDataManager(NYSDOTFilter.java:964)
    at myProjectPackage.common.servlet.NYSDOTFilter.doFilter(NYSDOTFilter.java:144)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at myProjectPackage.caf.servlet.NYSDOTCAFFilter.doFilter(NYSDOTCAFFilter.java:90)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at myProjectPackage.common.servlet.NYSDOTLoginFilter.doFilter(NYSDOTLoginFilter.java:95)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:669)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:570)

    first thanks for your reply,
    i already figured that out and deployed it using 10.1.3.1 jars
    my question
    1) if it is a bug , how come it works fine with jdeveloper (
    i would appreciate if you could provide any info about it.
    2) i dont want to sound sarcastic , but 10.1.3.1 has of optimistic locking and the recommended solution i found was to use descriptor.getQueryManager().setUpdateCallCacheSize(0);
    looks like 10.1.3.1 fixed one bug and introduced other one which was working fine earlier...
    is there any other way of fixing optimistic locking issue other than using the
    descriptor.getQueryManager().setUpdateCallCacheSize(0);
    where i can find the latest/greatest (up to date patched version of toplink)
    thanks again for your help

  • Web service model initialization problem

    Hello, every one
    I have some trouble in the initialization of web service model.
    I tested the web service through web service navigator and it was ok.
    My context structure is:
    Request_ZBAPIWCALIST_zbapiWcalist(0..n)
    --parameters(0..1)
    rBdate(0..n)
    high(string)
    low(string)
    option(string)
    sign(string)
    --Response(0..1)
    Result(0..1)
    tWca(0..n)
    estat(string)
    istat(string)
    Following is my codes:
    Request_ZBAPIWCALIST_zbapiWcalist model = new Request_ZBAPIWCALIST_zbapiWcalist();
    ComplexType_ZbapiWcalist parameter = new ComplexType_ZbapiWcalist();
    model.setParameters(parameter);          
    ComplexType_ZbapiRBdate rBdate = new ComplexType_ZbapiRBdate();
    ComplexType_ZbapiRResp rResp = new ComplexType_ZbapiRResp();
    ComplexType_ZbapiRTplnr rTplnr = new ComplexType_ZbapiRTplnr();
    ComplexType_ZbapiRWapinr rWapinr = new ComplexType_ZbapiRWapinr();
    ComplexType_ZbapiRWapius rWapius = new ComplexType_ZbapiRWapius();
    ComplexType_ZbapiWcalistImport wcaImport = new ComplexType_ZbapiWcalistImport();
    rBdate.setLow("2007-7-1");
    rBdate.setHigh("2007-7-2");
    rBdate.setOption("EQ");
    rBdate.setSign("I");          
    rResp.setLow("");
    rResp.setHigh("");
    rResp.setOption("");
    rResp.setSign("");
    rTplnr.setLow("");
    rTplnr.setHigh("");
    rTplnr.setOption("");
    rTplnr.setSign("");
    rWapinr.setLow("");
    rWapinr.setHigh("");
    rWapinr.setOption("");
    rWapinr.setSign("");
    rWapius.setLow("");
    rWapius.setHigh("");
    rWapius.setOption("");
    rWapius.setSign("");
    wcaImport.setAnye("");
    wcaImport.setAnyi("");
    wcaImport.setSpd("");
    wcaImport.setStatu("");
    wcaImport.setWerks("");          
    ZbapiRBdate rBdateBean = rBdate.getOriginalBean();
    ZbapiRResp rRespBean = rResp.getOriginalBean();
    ZbapiRTplnr rTplnrBean = rTplnr.getOriginalBean();
    ZbapiRWapinr rWapinrBean = rWapinr.getOriginalBean();
    ZbapiRWapius rWapiusBean = rWapius.getOriginalBean();
    ZbapiWcalistImport wcaImportBean = wcaImport.getOriginalBean();
    ZbapiRBdate[] rBdateArray = new ZbapiRBdate[1];
    rBdateArray[0] = rBdateBean;
    ZbapiRResp[] rRespArray = new ZbapiRResp[1];
    rRespArray[0] = rRespBean;
    ZbapiRTplnr[] rTplnrArray = new ZbapiRTplnr[1];
    rTplnrArray[0] = rTplnrBean;          
    ZbapiRWapinr[] rWapinrArray = new ZbapiRWapinr[1];
    rWapinrArray[0] = rWapinrBean;          
    ZbapiRWapius[] rWapiusArray = new ZbapiRWapius[1];
    rWapiusArray[0] = rWapiusBean;
    wcalistBean.setRBdate(rBdateArray);
    wcalistBean.setRResp(rRespArray);
    wcalistBean.setRTplnr(rTplnrArray);
    wcalistBean.setRWapinr(rWapinrArray);
    wcalistBean.setRWapius(rWapiusArray);
    wcalistBean.setWaImport(wcaImportBean);
    wdContext.nodeRequest_ZBAPIWCALIST_zbapiWcalist().bind(model);
    The exception is:
    LocalizedMessage: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Low] of class [com.pjs.wcalist.model.wsmodel.proxies.types.p1.ZbapiRWapius] must exist and can not be null. This is required by schema description.
    In the test of the web service the Low of the ZbapiRWapius is not needed.
    And after setting the value, the exception told me that I must set the tWca, ie the subnode of the result.
    The problem is: I do not know why the setter method of the original bean of the "parameters" only accept the parameter of array type .
    I think the parameter I set may be wrong.
    When I deal with another web service model(the level of the structure is not deep), it is ok.
    Could someone give me some suggestion or explanation?
    Thanks a lot.
    Referring to the link:
    Re: HELP for WebDynpro web service model with complex structure

    Hi,
    I ahbe set the proxy in webcontainer in configtool,Is there any other thing i need to do?But please tell me what does the error means,<b>GenericServiceFactory error</b>?
    waiting for your reply,
    Regards,
    Ameya

  • Web Service: XMLUnmarshalException: XML Deserialization Error

    Hi,
    I am trying to use a complex web structure in web service.
    I am simply trying to display some data from that web service in my view.
    I am getting the foll error:
    <b>
    Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Element [http://www.siebel.com/xml/Account Interface]<Account> is required in <SiebelMessage> but can not be found.[Ljava.lang.StackTraceElement;@2fe4e7
    </b>
    I have gone thru most of the posts but they all have XMLMarshalException and not XMLUnmarshalException.
    Any inputs please?
    Regards,
    Dev

    Hi Bala,
    I tried your suggestion but that did not work!
    I am not trying to test that web service via WSNavigator.
    Problem is my service does not come there once i deploy it.
    I am a newbie to WebServices so please correct me where am I wrong in these steps:
    1. I create a Deployable Proxy Project
    2. Then, i create a new Client Proxy Definition
    3. I enter pkg name, Proxy name, choose Local System. Then i give the WSDL location and finally press Finish.
    (It has created several files including ClientAPI.jar)
    4. Lastly, i chose Build EAR and deployed it.
    But i cannot see my web service in that list!
    Can you please help me in checking the request-response cycle for this web service.
    Regards,
    Dev

  • Problems in E-Mail Service

    Hi,
    I am creating a standard e-mail service given in the SDN Tutorials. Everything is fine, but i am getting the following error message once i click on the <b>SendMail</b>button.
    <b>java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [FromAddress] of class [com.itc.email.model.proxies.types.SendEmail] must exist and can not be null. This is required by schema description.</b>
    Please let me know what is the exact reason, also let me is there any other <b>.wsdl</b> file for creating an e-mail service.
    Thanks and Regards
    Poojith M V

    Hi Murtuza,
    I had sent all the required parameters (i.e. From, To Address, Subject and the message) but still i am getting the same message. Please let me know how to proceed.
    Thanks and Regards
    Poojith M V

  • DBAdapter serious issue

    Sorry but I cant use this adapter here. Its very important to my job but we failed. I tried everything including redeploy adapter and reconfiguring it.
    A operação selecionada execute não pôde ser chamada.
    Ocorreu uma exceção ao chamar a operação de serviço da web. Veja mais detalhes nos logs.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked.<br>Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'guiaServiceTesteSelect' failed due to: Could not create/access the TopLink Session.<br>This session is used to connect to the datastore.<br>Caused by Exception [TOPLINK-25004] (Oracle TopLink - 11g Release 1 (11.1.1.2.0) (Build 091016)): oracle.toplink.exceptions.XMLMarshalException<br>Exception Description: An error occurred unmarshalling the document<br>Internal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 11g Release 1 (11.1.1.2.0) (Build 091016)): oracle.toplink.platform.xml.XMLPlatformException<br>Exception Description: An error occurred while parsing the document.<br>Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'object-persistence'.<br>". <br>The invoked JCA adapter raised a resource exception.<br>Please examine the above error message carefully to determine a resolution.<br><br>
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'guiaServiceTesteSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [TOPLINK-25004] (Oracle TopLink - 11g Release 1 (11.1.1.2.0) (Build 091016)): oracle.toplink.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document
    Internal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 11g Release 1 (11.1.1.2.0) (Build 091016)): oracle.toplink.platform.xml.XMLPlatformException
    Exception Description: An error occurred while parsing the document.
    Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'object-persistence'.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
         at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575)
         at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381)
         at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'guiaServiceTesteSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [TOPLINK-25004] (Oracle TopLink - 11g Release 1 (11.1.1.2.0) (Build 091016)): oracle.toplink.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document
    Internal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 11g Release 1 (11.1.1.2.0) (Build 091016)): oracle.toplink.platform.xml.XMLPlatformException
    Exception Description: An error occurred while parsing the document.
    Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'object-persistence'.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
         at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260)
         at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985)
         at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:716)
         at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569)
         ... 68 more
    Caused by: javax.xml.ws.soap.SOAPFaultException: Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'guiaServiceTesteSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [TOPLINK-25004] (Oracle TopLink - 11g Release 1 (11.1.1.2.0) (Build 091016)): oracle.toplink.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document
    Internal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 11g Release 1 (11.1.1.2.0) (Build 091016)): oracle.toplink.platform.xml.XMLPlatformException
    Exception Description: An error occurred while parsing the document.
    Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'object-persistence'.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
         at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:882)
         at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:715)
         at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:226)
         at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:97)
         at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256)
         ... 71 more

    Hi Jose,
    the DbAdapter's db.jca file contains a property MappingsMetaDataURL, which points to an Oracle TopLink file ending in or-mappings.xml.
    The first entry in this xml file is (for 11.1.1.2.0):
    <toplink:object-persistence version="Oracle TopLink - 11g Release 1 (11.1.1.2.0) (Build 091016)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    Starting in 11.1.1.3.0, whenever you create an or-mappings.xml, we now use the EclipseLink schema, which is the open source version of TopLink. So the head element looks like this:
    <object-persistence xmlns="http://www.eclipse.org/eclipselink/xsds/persistence" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:eclipselink="http://www.eclipse.org/eclipselink/xsds/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="Eclipse Persistence Services - 2.1.2.v20101104-r8475">
    11.1.1.3.0 can read either schema. However 11.1.1.2.0 can only read the first one. Maybe what happened is you are trying to run on 11.1.1.2.0 a process that was at least partially modeled on 11.1.1.3.0.
    Failing that maybe your *or_mappings.xml file is corrupt somehow, and you should run through the DbAdapter wizard in edit mode to hit finish and regenerate it, or try doing so.  You may need to recreate it and redeploy.  Also make sure you are not using an 11.1.1.3.0 JDev with 11.1.1.2.0.
    Thanks
    Steve

  • Bapi as web service - required by schema description

    Hello,
    I exposed a BAPI as a web service. Lets take for example the bapi to update / change a business partner. When trying to update for example the first name I have to create a complex type: centralPersonData and I have to create ALL simple types that are subtypes of centralPersonData even when I only want to change one of this attributes otherwise I will get a:
    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [...] of class [...] must exist and can not be null. This is required by schema description.
    I know that I get this error because the XML element tags are not created when I do not initialize the values. In the moment I initialize all values "by hand" and have to write sometimes about 50 lines of code only to update one value. Is there a better way to solve this?
    Thanks for your answers!
    Felix

    Hi
    Check This URL and you will get some Solutions to your problem
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7c/a4f1b3c59aef4f8ea3c32cda0c0486/frameset.htm
    Regards
    Chandran

  • Adaptive Web Service Model Problem

    AssociateSearchModel model = new AssociateSearchModel();
              Request_RetrieveProfile requestMO = new Request_RetrieveProfile(model);     
              RetrieveProfile retrieveProfile = new RetrieveProfile(model);
              retrieveProfile.setInitials("ABC");
              requestMO.setRetrieveProfile(retrieveProfile);
              wdContext.nodeRequest_RetrieveProfile().bind(requestMO);

    We made some adjustments on the web service side and we are now using a different WSDL...and we get this error:
    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [{http://company.com}initials] of class [com.company.models.RetrieveProfile] must exist and can not be null.
    This is required by schema description. at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericType(SerializationUtil.java:1333)
    at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:294)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildRequestDocument(MimeHttpBinding.java:390)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1429)
    at AssociateProfileServiceImplSoapBindingStub._invoke(AssociateProfileServiceImplSoapBindingStub.java:131)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:63)
    at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:63) ... 31 more
    I did see this link, but not sure how to proceed:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/93d56ba5061d68e10000000a1553f6/frameset.htm
    Edited by: K Ferguson on Jul 18, 2008 4:32 PM
    Edited by: K Ferguson on Jul 18, 2008 4:33 PM

  • Creating a Client Bean for an SAP-Webservice

    Hi,
    I have created a web service for an SAP-Bapi with the web service creation wizard of the SAP-System (EC5).
    Now I would like to implement a client bean in the NetWeaver Developement Studio for it.
    How can I give input parameters for a testmethod? I have created the following test method and the init method. Now I need to fill the array Bapisdstad[] somehow. How can I do this? I need to create Bapisdstad-elements, but I don't know how to do this?
    Thank you!
    Julia
         public Z_SalesorderGetStatus port;
    Business Method.
         public String testCustomerId(int Id) {
              // TODO : Implement
              try{
                   Bapisdstat[] bapis = new Bapisdstat[1];
                   this.port.salesorderGetstatus("hallo",bapis);
              String b=" ";
              return "hallo"+b;
              catch(Throwable e){
                   return "Fehler"+e;
    Create Method.
         public void ejbCreate() throws CreateException {
                    try{
          // TODO : Implement
          InitialContext ic = new InitialContext();
          Z_SalesorderGetStatusService s = (Z_SalesorderGetStatusService)ic.lookup ("java:comp/env/Salesorder1Proxy");
          Z_SalesorderGetStatus vi = (Z_SalesorderGetStatus)s.getLogicalPort(Z_SalesorderGetStatus.class);
    this.port = vi;
          catch(Throwable e)

    Hi Maksim,
    thank you for your answer.
    When I insert something like:
    bapis[0] = new Bapisdstat();
    bapis[0].setMaterial("wood");
    I get the following mistake:
    java.rmi.RemoteException: Service call exception; nested exception is:      com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [DocNumber] of class [com.sap.proxies.types.p1.Bapisdstat] must exist and can not be null. This is required by schema description
    Is something wrong with my coding or do I have to do something else? Is there any documentation about this?
    Best regards,
    Julia

  • Malformed URL Exception causing discussion channels to fail.

    Hello,
    I created several new discussion channels in role level DisplayProfileXML files using DiscussionsProvider. The channels are not displaying proper content but are displaying error messages: ERROR: Content is not available
    This function worked previously using the defalt discussions channel that was already created with the install of the sample portal
    I have tried restarting the server, doing the redeploy command.
    Here is the error text. Any help would be appreciated!
    11/17/2005 12:56:49:836 AM EST: Thread[Thread-98,5,main]
    ERROR: JspServletEnvironment.getRealPath():
    java.net.MalformedURLException: JspServletEnvironment.getResource(): not found for channelName=LDTLaunchDiscussionChannel, path=discussionContent.jsp
    at com.sun.portal.providers.jsp.JspServletEnvironment.getResource(JspServletEnvironment.java:206)
    at com.sun.portal.providers.jsp.JspServletEnvironment.getRealPath(JspServletEnvironment.java:133)
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:706)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    11/17/2005 12:56:49:886 AM EST: Thread[Thread-98,5,main]
    ERROR: ProviderCaller.run(): exception thrown from LDTLaunchDiscussionChannel
    com.sun.portal.providers.ProviderException: JSPProvider.getJspWrapper(): jsp=discussionContent.jsp, com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:763)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:710)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    11/17/2005 12:57:26:769 AM EST: Thread[Thread-103,5,main]
    ERROR: JspServletEnvironment.getRealPath():
    java.net.MalformedURLException: JspServletEnvironment.getResource(): not found for channelName=MLTDiscussionChannel, path=discussionContent.jsp
    at com.sun.portal.providers.jsp.JspServletEnvironment.getResource(JspServletEnvironment.java:206)
    at com.sun.portal.providers.jsp.JspServletEnvironment.getRealPath(JspServletEnvironment.java:133)
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:706)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    11/17/2005 12:57:26:769 AM EST: Thread[Thread-103,5,main]
    ERROR: ProviderCaller.run(): exception thrown from MLTDiscussionChannel
    com.sun.portal.providers.ProviderException: JSPProvider.getJspWrapper(): jsp=discussionContent.jsp, com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:763)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:710)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)

    Found it - stepping into the remoteObject.execute() call in debug mode, I eventually got to the class that throws the error (com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable).  In the catch block of the operation invoke call, the actual error object is visible in the NWDS variables list - it was an XmlMarshallException:
    "com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [LOVLanguageMode] of class [com.bp.models.siebel.servicerequest.ServiceRequestQueryPage_Input] must exist and can not be null. This is required by schema description."
    So I hadn't populated a mandatory field in the xml!
    Russell.

Maybe you are looking for

  • How to set default value for html:file in struts

    hi                i am working on an application using struts situation is i am using the <html:file property="" /> to allow the user to upload file. but i need that a default file should be set so that even if the user donot click browse ie         

  • CPS Simple File Deployer corrupts XLSX and DOCX files when copying to server. Solutions?

    When Contribute Publishing Service Simple File Deployment copies XLSX and DOCX files from our staging server to the live production web server, it is corrupting them.  The resulting file on the live web server is a few bytes different in size.  I pub

  • Define & describe "Noise Gate" Effect for Real Instrument

    Newbie question: Can someone do this, or point me to a good discussion of the use of the Noise Gate effect? I searched for this term throughout the GB forum and found very little. I see that it dampens sounds at specific decibel levels, but how might

  • Connect to Remote Oracle Database

    I am unsuccessfully trying to connect to remote Oracle database using OleDB/ODBC/Oracle Client. Do I have to install Oracle Client in order to use those drivers and which version? I would really appreciate any help. THANK YOU!

  • How to view/convert IMG to JPEG

    Hi, Is it possible to view IMG image file (BLOB) or convert it to JPEG? Thank you :)