BAPI Web Service Context Mapping Problem

Hello all,
             I am developing a process consisting of an automated activity.
This automated activity uses a logical destination for a web service call to an ECC BAPI.
The BAPI name is 'BAPI_INQUIRY_CREATEFROMDATA2'
Now the problem is the Output mapping in the automated activity which calls the web service for the above BAPI has the response name as 'BAPI_INQUIRY_CREATEFROMDATA2.Response'
So when i try to map the nodes it gives me an error, 'Error at Line 2, Column 29, Found '.' after BAPI_INQUIRY_CREATEFROMDATA2'.
Since there is no mapping i do not get the process working
If i remove the '.' from the wsdl file source, mapping is done. But the backend service call gives an error.
How can i solve this problem?
Any inputs will be very helpful.

Hello Martin,
                 thnks a ton for your replies.
The '.' is a standard thing.
Its the part of the WSDL file which is a standard WSDL file for a service offered for a standard SAP BAPI. So i haven't changed anything.
Its what is standardly available. So i cant anything on that.
And the response element is not below the bapi node.
The name of the root node of the BAPI return context is
"BAPI_INQUIRY_CREATEFROMDATA2.Response"
This is what is causing the problem.
Please note here that '.' is not responsible for any hierarchy. Its the name of one single root node element.

Similar Messages

  • Create, get and update web service context mapping

    Hello,
    I think I have a pretty common problem. I will explain it with a simple example:
    I have a car object, with the attributes id, name and speed.
    I have three web services: create, get and update
    I have a view with the input fields id, name and speed
    How to do the context mapping?
    When creating a car it would be good if input fields would be mapped to the create service, when getting a car it would be nice if the input fields would be mapped to the get service....
    How to deal with this situation? Do I have to create 3 views?
    Thanks!
    Felix

    Hello Martin,
                     thnks a ton for your replies.
    The '.' is a standard thing.
    Its the part of the WSDL file which is a standard WSDL file for a service offered for a standard SAP BAPI. So i haven't changed anything.
    Its what is standardly available. So i cant anything on that.
    And the response element is not below the bapi node.
    The name of the root node of the BAPI return context is
    "BAPI_INQUIRY_CREATEFROMDATA2.Response"
    This is what is causing the problem.
    Please note here that '.' is not responsible for any hierarchy. Its the name of one single root node element.

  • Web service empty relationship problem

    hi all,
    I have a pretty simple web service. Two entities, a citizen and a business. A citizen is able to register 0..n businesses. There is a WS which reads the citizen. When the business key list in citizen is empty the web service wont return the citizen (portal request failed could not execute web service operation). When at least one relation is defined all works fine.
    I've tested the web service. The problem occurs only with VC.
    thanks for your help,
    regards, felix

    Hi Ankur,
    no, not exactly...
    The webservice is tested with an id as input and returns some string values (name, firstname...) and a list of references to other objects. When this list is empty...(depending on the back end system)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'></ns1:businessRef>
    ... visual composer returns an error.
    when this list is not empty (again depending on database entries in the back end)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'><pns:String>c22bc900-dec3-11db-cdce-00505625e523</pns:String>
    </ns1:businessRef>
    ... visual composer does not return an error but returns the values like the service is supposed to do.
    Testing the web service with Web Services Navigator both scenarios are working without problems.
    thanks for your fast response,
    felix

  • Problem while testing a BAPI Web Service

    i face this problem in web service bapi when i am carrying out the test... so can anyone help me???
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: <value is hidden>
    content-type: text/xml; charset=utf-8
    content-length: 803
    sap-srt_id: 20080610/144609/v1.00_final_6.40/DD36B8E7DE44B5F19BA900145E6770F3
    server: SAP Web Application Server (1.0;700)
    <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/WSS0080610064309718000</MainName><ProgName>/1BCDWB/WSS0080610064309718000</ProgName><Line>128 </Line><Valid>X</Valid><ReferenceFault><DescriptionText>Error accessing the ref. node 'EMPLOYEENUMBER'</DescriptionText><RefName>EMPLOYEENUMBER</RefName></ReferenceFault><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>

    There is SAP Note no. 830340 addressing this issue.
    https://websmp106.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=830340&_NLANG=E
    Pl try to apply that SupportPack and let us know the results after that.
    Also pl reward points as appropriate.

  • Problem while testing a BAPI Web Servicei face this problem in web service

    i face this problem in web service bapi when i am carrying out the submit test... so can anyone help me???
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: <value is hidden>
    content-type: text/xml; charset=utf-8
    content-length: 803
    sap-srt_id: 20080610/144609/v1.00_final_6.40/DD36B8E7DE44B5F19BA900145E6770F3
    server: SAP Web Application Server (1.0;700)
    <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/WSS0080610064309718000</MainName><ProgName>/1BCDWB/WSS0080610064309718000</ProgName><Line>128 </Line><Valid>X</Valid><ReferenceFault><DescriptionText>Error accessing the ref. node 'EMPLOYEENUMBER'</DescriptionText><RefName>EMPLOYEENUMBER</RefName></ReferenceFault><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>

    Hi,
    since I did not find that BAPI in my system: what is the exact name?
    Did you test the BAPI directly in ABAP, i.e. function builder SE37, successfully?
    Currently it looks to me as if you did not provide sufficient business data.
    Did you specify the employee number before executing the call?

  • Web dynpro welcome example edit context mapping problem

    hi,
    i tried to build a web dynpro like the welcome example from web dynpro.
    so i created the views etc, created an atrribute matnr  in the context of the component.
    then i connected the other views with the component. for this i used the required controllers.
    so, now i created a attribute nr in the context of the other view and wanted to connect it with matnr from beginning with edit context mapping.
    but in the shown context is not the attribute matnr. there is no attribute.
    any idea what went wrong or is there something that i missed?
    thank you

    Hi Marcus,
    Do one thing Create Value Attribute under Context like(matnr). Next Right Click on Webdynpro Component Click on Open Data Modular that time it will open data modular View. Here we are doing Context Mapping to Component Controller to View Controller that time Same Value Attribute will be created in View Controller also.
    In context mapping, the actual context data is saved only once in the original node. All other context nodes that are mapped to this original node reference the same contents, without having to save it again, for example using copies. In this way, inconsistent context contents are avoided.
    Please look at this simple WDJ Application. http://help.sap.com/saphelp_nw04/helpdata/en/bc/e4d61774174344a4b126ad07e8c230/content.htm
    I hope this is help full for you,
    Regards
    Vijay

  • Best Practice Web Service Output Mapping (deep structure)

    Hi All,
    My current scenario is as follows:
    In my BPM I consume a Web Service which was created from a Function Module in the Backend.
    This Web Service has the same Data Types as the original BAPI.
    For instance a table containing return values (BAPIRET2).
    When the Web Service inside the process is executed I assume that my return table is filled.
    Based on that return table I want to decide what to do next using a gateway.
    What would be the best way to process the table in a gateway condition?
    The table may contain several entries so I guess a simple not() function does not suffice.
    I hope you do understand my problem here.
    Curiously waiting for your replies,
    Bastian

    Hi Bastian,
    the parallel for each loop feature will come with NW 7.2.
    You will have a new property pane at each activity (automated activity, human task, referenced subflow, and the embedded subflow which will also come with NW 7.1) where you can switch on the looping.
    If you do that, the activity will be started (in parallel) for each line item in a list of data from a data object in the context (the list can also be specified in the new property pane).
    At the end of each activity execution the result can be mapped via append into another DO from the context.
    Unfortunately, this feature is too extensive to be downported to 7.11
    Best regards,
    Oliver

  • Web service client JAR problem

    I have a .NET Web Service and I made a client JAR with the WebLogic Workshop. When I try to have data from the Web Service the WebLogic console shows me this error
    web service invoke failed: javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://tempuri.org/JobPosting/FacadeJobPosting']:getCountries}; nested exception is:
         javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://tempuri.org/JobPosting/FacadeJobPosting']:getCountries}
    If want to know in which layer is the problem or what is the problem.
    Thanks

    I'm only just scrapping on the surface of SOAP myself, but I have a little Java knowledge.
    I think your error message is saying, that your trying to send a java object over SOAP to the other computer, but this object has not implemented the serialize interface (where objects are written and extracted to a stream)
    Just a thought I could be wrong - but have a look at what object is being sent over SOAP - is it a custom object? does it need to implement serialize?
    Good luck
    martin

  • 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 Adapter import problem in ETPM

    Hi ,
    When I tried to import the http://uiappdev3.detr.nv:7090/WebService/iwfCWI.wsdl in Web Service Adapter in ETPM ,After that when i tried to generete the Request Data Area and Response Data Area I am geting the below eroor message, Can anyone suggest me...
    This is my http://uiappdev3.detr.nv:7090/WebService/iwfCWI.wsdl
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://uilink.interfaces.com/iwf/cwi" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:sch="http://uilink.interfaces.com/iwf/cwi" name="" targetNamespace="http://uilink.interfaces.com/iwf/cwi"> <wsdl:types> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cwi="http://uilink.interfaces.com/iwf/cwi" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://uilink.interfaces.com/iwf/cwi"> <xs:element name="cwi-update-request"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" name="requests" nillable="true" type="cwi:cwiUpdateRequestType"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="cwi-update-response"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="message" type="xs:string"/> <xs:element name="requestStatus" type="cwi:requestStatusType"/> <xs:element maxOccurs="unbounded" name="responses" nillable="true" type="cwi:cwiUpdateResponseType"/> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="cwiUpdateRequestType"> <xs:sequence> <xs:element name="userId" type="cwi:writtenUserId"/> <xs:element minOccurs="0" name="processLaunch" type="cwi:processLaunch"/> </xs:sequence> </xs:complexType> <xs:complexType name="cwiUpdateResponseType"> <xs:sequence> <xs:element minOccurs="0" name="message" type="xs:string"/> <xs:element name="requestStatus" type="cwi:requestStatusType"/> </xs:sequence> </xs:complexType> <xs:simpleType name="requestStatusType"> <xs:restriction base="xs:string"> <xs:enumeration value="SUCCESS"/> <xs:enumeration value="ERROR"/> <xs:enumeration value="DUPLICATE_REQUEST"/> <xs:enumeration value="NOT_SENT"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="writtenUserId"> <xs:restriction base="xs:string"> <xs:enumeration value="UINV"/> </xs:restriction> </xs:simpleType> <xs:complexType name="processLaunch"> <xs:sequence> <xs:element name="procTypCd" type="xs:string"/> <xs:element minOccurs="0" name="procItmTypCd" type="xs:string"/> <xs:element minOccurs="0" name="issId" type="xs:long"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="keyFields" type="cwi:commonKeyFields"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="histItems" type="cwi:commonProcessItemsHistory"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="attachements" type="cwi:commonProcessItemsAttachments"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="parties" type="cwi:commonProcessItemsParties"/> </xs:sequence> </xs:complexType> <xs:complexType name="commonKeyFields"> <xs:sequence> <xs:element name="keyFiledCd" type="xs:int"/> <xs:element minOccurs="0" name="keyFiledVal" type="xs:string"/> <xs:element minOccurs="0" name="isRequired" type="xs:boolean"/> </xs:sequence> </xs:complexType> <xs:complexType name="commonProcessItemsHistory"> <xs:sequence> <xs:element minOccurs="0" name="procHistId" type="xs:long"/> <xs:element minOccurs="0" name="actionDate" type="xs:date"/> <xs:element minOccurs="0" name="actionCd" type="xs:string"/> <xs:element minOccurs="0" name="actor" type="xs:string"/> <xs:element minOccurs="0" name="actorName" type="xs:string"/> <xs:element minOccurs="0" name="receiver" type="xs:string"/> <xs:element minOccurs="0" name="receiverName" type="xs:string"/> <xs:element minOccurs="0" name="actionComments" type="xs:string"/> <xs:element minOccurs="0" name="deadlineDate" type="xs:date"/> </xs:sequence> </xs:complexType> <xs:complexType name="commonProcessItemsAttachments"> <xs:sequence> <xs:element name="procAttachId" type="xs:long"/> <xs:element minOccurs="0" name="attachCtgCd" type="xs:string"/> <xs:element minOccurs="0" name="attachItemId" type="xs:long"/> <xs:element minOccurs="0" name="attachItemName" type="xs:string"/> <xs:element minOccurs="0" name="attachItemTypCd" type="xs:string"/> <xs:element minOccurs="0" name="attachedBy" type="xs:string"/> <xs:element minOccurs="0" name="attachReason" type="xs:string"/> <xs:element minOccurs="0" name="actionComments" type="xs:string"/> <xs:element minOccurs="0" name="attachDate" type="xs:date"/> <xs:element minOccurs="0" name="filePath" type="xs:string"/> <xs:element minOccurs="0" name="prtyNm" type="xs:string"/> <xs:element minOccurs="0" name="dueDate" type="xs:string"/> <xs:element minOccurs="0" name="rspndByDt" type="xs:string"/> <xs:element minOccurs="0" name="rspnsRcd" type="xs:string"/> <xs:element minOccurs="0" name="cpmNoticId" type="xs:long"/> <xs:element minOccurs="0" name="cprolcd" type="xs:string"/> </xs:sequence> </xs:complexType> <xs:complexType name="commonProcessItemsParties"> <xs:sequence> <xs:element name="procAssoId" type="xs:long"/> <xs:element minOccurs="0" name="procAssoTypCd" type="xs:string"/> <xs:element minOccurs="0" name="prtyUILinkId" type="xs:long"/> <xs:element minOccurs="0" name="prtyName" type="xs:string"/> <xs:element minOccurs="0" name="prtySSN" type="xs:string"/> <xs:element minOccurs="0" name="prtyAcctNum" type="xs:string"/> <xs:element minOccurs="0" name="prtyFEIN" type="xs:string"/> <xs:element minOccurs="0" name="prtyPhonePrim" type="xs:string"/> <xs:element minOccurs="0" name="prtyPhonePrimExtn" type="xs:date"/> <xs:element minOccurs="0" name="prtyPhoneCel" type="xs:string"/> <xs:element minOccurs="0" name="prtyPhoneCelExtn" type="xs:string"/> <xs:element minOccurs="0" name="prtyFax" type="xs:string"/> <xs:element minOccurs="0" name="prtyEmail" type="xs:string"/> <xs:element minOccurs="0" name="prtyStrtOne" type="xs:string"/> <xs:element minOccurs="0" name="prtyStrtTwo" type="xs:long"/> <xs:element minOccurs="0" name="prtyCty" type="xs:string"/> <xs:element minOccurs="0" name="prtySta" type="xs:string"/> <xs:element minOccurs="0" name="prtyZip" type="xs:string"/> <xs:element minOccurs="0" name="prtyCnt" type="xs:string"/> <xs:element minOccurs="0" name="noteId" type="xs:long"/> <xs:element minOccurs="0" name="createdBy" type="xs:string"/> <xs:element minOccurs="0" name="dateCreated" type="cwi:mixedDate"/> <xs:element minOccurs="0" name="dateModified" type="cwi:mixedDate"/> <xs:element minOccurs="0" name="modifiedBy" type="xs:string"/> <xs:element minOccurs="0" name="noteList" type="cwi:noteList"/> </xs:sequence> </xs:complexType> <xs:simpleType name="mixedDate"> <xs:union memberTypes="cwi:valDate cwi:altDate"/> </xs:simpleType> <xs:simpleType name="valDate"> <xs:restriction base="xs:date"> <xs:minInclusive value="1900-01-01"/> <xs:maxInclusive value="4099-12-31"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="altDate"> <xs:restriction base="xs:string"> <xs:enumeration value="********"/> <xs:enumeration value="00000000"/> <xs:enumeration value="XXXXXXXX"/> <xs:enumeration value="99999999"/> <xs:enumeration value=" "/> </xs:restriction> </xs:simpleType> <xs:complexType name="noteList"> <xs:sequence> <xs:element name="dateCreated" type="cwi:mixedDate"/> <xs:element minOccurs="0" name="dateModified" type="cwi:mixedDate"/> <xs:element minOccurs="0" name="modifiedBy" type="xs:string"/> <xs:element name="noteId" type="xs:long"/> <xs:element minOccurs="0" name="noteSubj" type="xs:string"/> <xs:element minOccurs="0" name="noteTxt" type="xs:string"/> <xs:element minOccurs="0" name="noteUrgent" type="xs:string"/> <xs:element minOccurs="0" name="notypCd" type="xs:string"/> <xs:element minOccurs="0" name="prtyId" type="xs:long"/> <xs:element minOccurs="0" name="funcAreaCd" type="xs:string"/> <xs:element minOccurs="0" name="funcId" type="xs:long"/> </xs:sequence> </xs:complexType> </xs:schema> </wsdl:types> <wsdl:message name="cwi-update-response"> <wsdl:part name="cwi-update-response" element="tns:cwi-update-response"/> </wsdl:message> <wsdl:message name="cwi-update-request"> <wsdl:part name="cwi-update-request" element="tns:cwi-update-request"/> </wsdl:message> <wsdl:portType name="iwfCWI"> <wsdl:operation name="cwi-update"> <wsdl:input name="cwi-update-request" message="tns:cwi-update-request"/> <wsdl:output name="cwi-update-response" message="tns:cwi-update-response"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="iwfCWISoap11" type="tns:iwfCWI"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> <wsdl:operation name="cwi-update"> <soap:operation soapAction="createWorkItem"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="iwfCWIService"> <wsdl:port name="iwfCWISoap11" binding="tns:iwfCWISoap11"> <soap:address location="http://uiappdev3.detr.nv:7090/WebService/iwfCWIService"/> </wsdl:port> </wsdl:service></wsdl:definitions>
    I got the below error message
    VNAKKANA - 137890-184-1 2012-10-31 23:44:18,928 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (scripting.actions.Action) Executing step: 20: branch ("parm/isRequired = 'true'") goto 30 else 50;
    VNAKKANA - 137890-184-1 2012-10-31 23:44:18,928 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (scripting.actions.Action) Executing step: 50: terminate;
    VNAKKANA - 137890-185-1 2012-10-31 23:44:19,161 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select * from ( select scriptprom1_.STEP_SEQ_NUM as col_0_0_, scriptprom1_.SCR_CD as col_1_0_, scriptprom1_.SEQ_NUM as col_2_0_, scriptprom1_.DEFAULT_SW as col_3_0_, scriptprom1_.SORT_SEQ as col_4_0_, scriptprom1_.NEXT_SORT_SEQ as col_5_0_, scriptprom0_.LABEL_LONG as col_6_0_, scriptprom1_.SORT_SEQ as col_7_0_ from CI_SCR_PRMPT_L scriptprom0_ inner join CI_SCR_PRMPT scriptprom1_ on scriptprom0_.SCR_CD=scriptprom1_.SCR_CD and scriptprom0_.STEP_SEQ_NUM=scriptprom1_.STEP_SEQ_NUM and scriptprom0_.SEQ_NUM=scriptprom1_.SEQ_NUM where ((scriptprom1_.SCR_CD=? )and(scriptprom1_.STEP_SEQ_NUM=? ))and(scriptprom0_.LANGUAGE_CD=? ) order by scriptprom1_.SORT_SEQ ) where rownum <= ?
    VNAKKANA - 137890-190-1 2012-10-31 23:44:34,020 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.schema.AbstractSchemaBasedDispatcher) Performing page:read of BusinessService F1-WsdlToDA' (service='F1-WSDLTODA'), with input request
    <?xml version="1.0" encoding="UTF-8"?>
    <root xmlns:ora="http://www.oracle.com/tugbu/uimap">
    <serviceScript>F1-WsdlToDA</serviceScript>
    <webServiceName>CM-UINV-CWI</webServiceName>
    <operation>cwi-update</operation>
    <requestDAexists/>
    <responseDAexists/>
    <requestDataAreaName>CM-RQ</requestDataAreaName>
    <responseDataAreaName>CM-RS</responseDataAreaName>
    </root>
    VNAKKANA - 137890-190-1 2012-10-31 23:44:34,021 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.schema.AbstractSchemaBasedDispatcher) Converted request to page header:(PageHeader)
    actionFlag: null
    OPERATION_NAME: cwi-update
    REQUEST_DATA_AREA_CD: CM-RQ
    RESPONSE_DATA_AREA_CD: CM-RS
    WEB_SVC_NAME: CM-UINV-CWI
    VNAKKANA - 137890-190-1 2012-10-31 23:44:34,113 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select maintenanc0_.MAINT_OBJ_CD as col_0_0_ from CI_MD_MO maintenanc0_ where (maintenanc0_.SVC_NAME=? )
    VNAKKANA - 137890-190-1 2012-10-31 23:44:34,114 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.FrameworkSession) Flush requested prior to disabled flush executable
    VNAKKANA - 137890-190-1 2012-10-31 23:44:34,115 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (support.context.FrameworkSession) Flush not required, session is not dirty- prior to disabled flush executable
    VNAKKANA - 137890-190-1 2012-10-31 23:44:34,119 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select webservice0_.WEB_SVC_NAME as WEB1_1235_0_, webservice0_.VERSION as VERSION1235_0_, webservice0_.BO_STATUS_CD as BO3_1235_0_, webservice0_.STATUS_UPD_DTTM as STATUS4_1235_0_, webservice0_.WSDL_URL as WSDL5_1235_0_, webservice0_.WSDL_SVC_NAME as WSDL6_1235_0_, webservice0_.WSDL_PORT as WSDL7_1235_0_, webservice0_.URL as URL1235_0_, webservice0_.WSDL_SOURCE as WSDL9_1235_0_, webservice0_.WEB_SVC_SECURITY_TYPE_FLG as WEB10_1235_0_, webservice0_.BO_DATA_AREA as BO11_1235_0_, webservice0_.BUS_OBJ_CD as BUS12_1235_0_ from F1_WEB_SVC webservice0_ where webservice0_.WEB_SVC_NAME=?
    VNAKKANA - 137890-190-1 2012-10-31 23:44:34,134 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select operations0_.WEB_SVC_NAME as WEB1_1_, operations0_.OPERATION_NAME as OPERATION2_1_, operations0_.WEB_SVC_NAME as WEB1_753_0_, operations0_.OPERATION_NAME as OPERATION2_753_0_, operations0_.VERSION as VERSION753_0_, operations0_.WSDL_OPERATION_NAME as WSDL4_753_0_, operations0_.OPERATION_ACTIVE_FLG as OPERATION5_753_0_, operations0_.REQUEST_ELEMENT as REQUEST6_753_0_, operations0_.RESPONSE_ELEMENT as RESPONSE7_753_0_, operations0_.RESPONSE_DATA_AREA_CD as RESPONSE8_753_0_, operations0_.REQUEST_DATA_AREA_CD as REQUEST9_753_0_ from F1_WEB_SVC_OPERATIONS operations0_ where operations0_.WEB_SVC_NAME=? order by operations0_.OPERATION_NAME
    VNAKKANA - 137890-190-1 2012-10-31 23:44:34,903 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (org.hibernate.SQL) select distinct businessob0_.BUS_OBJ_CD as col_0_0_ from F1_BUS_OBJ_OPT businessob0_ where (businessob0_.BUS_OBJ_OPT_FLG=? )and((businessob0_.BUS_OBJ_OPT_VAL=? )or(businessob0_.BUS_OBJ_OPT_VAL=? ))
    VNAKKANA - 137890-190-1 2012-10-31 23:44:34,913 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (api.service.ServiceExecutionPolicy) Encountered exception, session marked for rollback
    java.lang.NullPointerException
    at com.splwg.base.support.schema.wsdl.schema.W3CSchemaToFWMappingSchema.getDataType(W3CSchemaToFWMappingSchema.java:247)
    at com.splwg.base.support.schema.wsdl.schema.W3CSchemaToFWMappingSchema.visitSimpleType(W3CSchemaToFWMappingSchema.java:240)
    at

    Hi,
    I guess one of the biggest advantages of the WS Adapter is the support for WS Reliable Messaging.
    Here are some documentations about this Adapter:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/304335f7-f33c-2a10-ae80-9c9ffdc86415
    http://help.sap.com/saphelp_nwpi71/helpdata/en/45/37d73b80554c2ce10000000a1553f6/frameset.htm
    Regards
    Patrick

  • External context mapping problem

    Hi,
    I am trying to create a sample application for external context mapping
    1. I created a webdynpro project.
    2. In that project i created  2 web dynpro components PrComp and ChComp. 
    3. In the ChComp Interface controller context created a node MappedNode with attribute text.The node property isInputElement is set to true and also the carinality to 0..1
    4. Added the ChComp as Used Component for PrComp.
    5. Mapped the context of the ChComp Interface controller to ChComp Component controller and PrComp component Controller.
    6. In the ChComp Component controller, i initialize the node atribute text with some value.
    public void wdDoInit()
        //@@begin wdDoInit()
         wdContext.currentMappednodeElement().setMappedText("Mapped Attribute");
        //@@end
    7. In the PrComp component controller i create the ChComp and try to retrieve the value of the node attribute text.
           public void wdDoInit()
        //@@begin wdDoInit()
         wdThis.wdGetChildCompComponentUsage().createComponent();
         String text = wdContext.currentMappednodeElement().getMappedText();
         wdComponentAPI.getMessageManager().reportSuccess("mapped value "+text);
        //@@end
    When i deploy and run the application i get the following error
    java.lang.NullPointerException
        at com.sap.tc.ram.sample.external.context.mapping.ChComp.wdDoInit(ChComp.java:98)
    I am creating this app as a sample for external context mapping.please tell me if i am doing the rigth thing.

    Shiram,
    Your code will not work until you remove any node access from wdDoInit in ChComp (step 6).
    Think about the actual execution sequence:
    1. PrComp creates usage of child (ChComp) via createComponent
    2. ChComp get initialized internally by WD framework, as part of process ChComp.wdDoInit is invoked
    3. Context mapping is applied parent(source) <->child(target)
    So step [2] happens always before [3], you didn't alter this behavior via cardinality as suggested by other readers.
    What you can to do?
    1. Do not use wdDoInit of ChComp to populate / access data. Populate data from PrComp instead.
    2. Do you really need isInputElement? Think about it. If you remove isInputElement setting in child, then create mapped node in parent, then node in child will be source of data and you may safely populate it ChComp.wdDoInit.
    And, as other pointed out, cardinality still can cause error -- you are using 0..* but not creating element manually. Either set cardinality to 1..* or create element in wdDoInit of "source" controller (PrComp for [1], ChComp for [2])
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Accessing BAPI web services from CAF External Services

    We have wsdl files that corresponds to BAPI calls.  Using CAF, we want to create an external service using those wsdl files and then create an application service which will be in turn used by web dynpro for developing our composites. We did the following steps:
    1. Created a new  Composite Application Service project
    2. Then right click on the External Services, select import, choose Web service.
    3. Select 'Local File System or URL' option. Copy the URL from the wsdl file and pasted the URL in the 'Browse' text field and click Next. Got an error in loading the web service.
    4. Removed the Proxy Server settings in Developer Studio but in vain. Tried all possible combinations with the URL also (such as with and without the wsdl key at the end of the URL and using the 'UDDI or URL' option under the Proxy Definition of the External Services Import and also with the Window => Preferences => Proxy settings).
    5. Since the above options failed, copied the wsdl files to the local drive and then choose that WSDL from the file system. Able to import.
    6. Created the application service and provided the custom code for the request and response.
    7. Registered the external service in the CAF browser -> Administrative tools -> External Service Configuration
    8. Tested the service through the Developer Studio.
    The error I get is: ERROR: IOError while working with the message. Check the nested exception: Connect Refused: connect:
    Any idea on what needs to be done to resolve it?

    authentication is required at design time to read the wsdl from bapis. did you provide username and password when importing the web service.
    you can always add the username and password to the url to see if you can successfully get to the wsdl. Like that http://<webas_abap_servername>:<portnumber>/sap/bc/soap/wsdl11?services=BAPI_PO_CREATE&sap-client=<clientnumber>&sap-user=<username>&sap-password=<password>

  • Sample code to access BAPI Web services from JAVA required

    Hi All,
    I am a java developer. I am new to SAP. I just want to know how to use the web services from ABAP
    I got the WSDL, and able to convert the WSDL into java classes using java2wsdl command.
    Now i want to know how to use these classes, in my java class.  i want to know two things
    1) How to get authentication or session  or token to use the service
    2) How to consume BAPI services by using above session or token.
    Any help, really appreciated. Plz help me if any one knows.
    Thanks alot,
    Mohan

    Triplehhh wrote:
    Hi,
    I have a web application developed with java,jsp and javascript and server used is weblogic.
    Now this application is running fine on my PC. I assume from this that there is no client side Java. Is this right?
    So what steps are required so that I can access the application from other PCs also.If there is no client side Java then you have to do nothing other than make sure your PC can be reached from the other PCs. i.e. no firewalls blocking the access and routing available between the client PC and the server PC.
    I don't see what this has to do with JNLP. Am I missing something?

  • Web services Context

    Hi,
    I need to use a shared context to hold the application session across various web service invocations. I found WS-CTX (http://docs.oasis-open.org/ws-caf/ws-context/v1.0/wsctx.html) supports that. But I am not sure of how to implement it.
    Can anyone help with me the details? (with sample code plz :))
    Does Axis supports WS-CTX?
    Thanks
    Ajay

    no.
    we don't expose ServletContext for now
    regards
    Debu

  • Web service request formatting problem

    I'm trying to create a few interfaces to work with some web services that we have published within our organization. Creating the web service reference seems to go fine. We had to work through the details of getting that working over SSL and we seem to have gotten past that hurdle.
    Problem is that when I either test the web service reference through the testing page of the Apex app builder or attempt to call the web service from a page built on the web service reference I'm getting an error indicating that the XML of the SOAP request isn't properly formatted. Specifically, it seems that Apex is inserting an extra double-quote at the end of each element tag for all the input parameters.
    So I have this:
    <SOAP-ENV:Header><ns1:parameters xmlns:ns1="urn:GetIncidentTest"><ns1:userName">
    Notice the double-quote at the end of the userName element tag.
    The error message says:
    Element type "ns1:userName" must be followed by either attribute specifications, ">" or "/>".
    So it's seeing the double-quote where it's not expected/supposed to be and returning an error.
    It would seem to me that Apex must be putting that extra double-quote in there at request time, since the web service definition (the WSDL) seems to return all the proper parameters all neatly layed out in the testing page and any other pages I build off the service definition.
    Anyone got any ideas on this?
    Earl

    Jeff,
    That text() thing came from the Oracle magazine example. I've been looking in the documentation for an explanation of what it's for but haven't had any luck finding anything yet.
    Here's a sample response
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:HelpDesk_QueryList_ServiceResponse xmlns="urn:Port"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns1="urn:Port">
    <ns1:getListValues>
              <ns1:Assigned_Group>Voice Services</ns1:Assigned_Group>
              <ns1:Assigned_Group_Shift_Name/>
              <ns1:Assigned_Support_Company>University of Utah</ns1:Assigned_Support_Company>
              <ns1:Assigned_Support_Organization>Office of Information Technology</ns1:Assigned_Support_Organization>
              <ns1:Assignee>JULIA JONES</ns1:Assignee>
              <ns1:Categorization_Tier_1/>
              <ns1:Categorization_Tier_2/>
              <ns1:Categorization_Tier_3/>
              <ns1:City>Salt Lake City</ns1:City>
              <ns1:Closure_Manufacturer/>
              <ns1:Closure_Product_Category_Tier1>Voice / Telephone Services</ns1:Closure_Product_Category_Tier1>
    <ns1:Closure_Product_Category_Tier2>Phone</ns1:Closure_Product_Category_Tier2>
    <ns1:Closure_Product_Category_Tier3>Coral</ns1:Closure_Product_Category_Tier3>
              <ns1:Closure_Product_Model_Version/>
              <ns1:Closure_Product_Name/>
              <ns1:Company>University of Utah</ns1:Company>
              <ns1:Contact_Company>University of Utah</ns1:Contact_Company>
              <ns1:Contact_Sensitivity>Standard</ns1:Contact_Sensitivity>
              <ns1:Country>United States</ns1:Country>
              <ns1:Department/>
              <ns1:Summary>Calling to outside numbers rings busy or just drops call</ns1:Summary>
              <ns1:Notes>Found trouble and corrected.  I will follow up with Cindy later today</ns1:Notes>
              <ns1:First_Name>CINDY</ns1:First_Name>
              <ns1:Impact>4-Minor/Localized</ns1:Impact>
              <ns1:Incident_Number>INC000000000230</ns1:Incident_Number>
              <ns1:Internet_E-mail>[email protected]</ns1:Internet_E-mail>
              <ns1:Last_Name>SOMEBODY</ns1:Last_Name>
              <ns1:Manufacturer/>
              <ns1:Middle_Initial/>
              <ns1:Organization/>
              <ns1:Phone_Number>888/555-6648</ns1:Phone_Number>
              <ns1:Priority>Low</ns1:Priority>
              <ns1:Priority_Weight>1</ns1:Priority_Weight>
              <ns1:Product_Categorization_Tier_1>Voice / Telephone Services</ns1:Product_Categorization_Tier_1>
         <ns1:Product_Categorization_Tier_2>Phone</ns1:Product_Categorization_Tier_2>
         <ns1:Product_Categorization_Tier_3>Coral</ns1:Product_Categorization_Tier_3>
              <ns1:Product_Model_Version/>
              <ns1:Product_Name/>
              <ns1:Region/>
              <ns1:Reported_Source>Other</ns1:Reported_Source>
              <ns1:Resolution>Misconfigured Trunk was corrected
    No futher reports of trouble</ns1:Resolution>
              <ns1:Resolution_Category/>
              <ns1:Resolution_Category_Tier_2/>
              <ns1:Resolution_Category_Tier_3/>
              <ns1:Service_Type>User Service Restoration</ns1:Service_Type>
              <ns1:Site>0523 Moran Phase II</ns1:Site>
              <ns1:Site_Group/>
              <ns1:Status>Closed</ns1:Status>
              <ns1:Status_Reason>No Further Action Required</ns1:Status_Reason>
              <ns1:Urgency>4-Low</ns1:Urgency>
              <ns1:VIP>No</ns1:VIP>
         </ns1:getListValues>
    </ns1:HelpDesk_QueryList_ServiceResponse>
    </soapenv:Body>
    </soapenv:Envelope>When I use the wrong node syntax I get an error saying that the node is invalid. However, when I set the xpath value to /HelpDesk_QueryList_ServiceResponse, with or without the /text() suffix I get the error I mentioned in my last post.
    Is that any more help? Sorry I'm such a noob with the XML stuff. I was hoping to avoid this level of detail by using the WSDL, but we already know that story. Thanks.
    Earl

Maybe you are looking for

  • HT4623 My ipod does not have a "software update". I have reset the ipod and now can't download anything to it.

    I have reset my ipod and cleared all the info on it. Now I am unable to download any apps. It says I need to update the software but I don't seem to have that capability. What do I do?

  • Trying to update aperature 1.1

    I've had aperature 1.1 for about a week, and had some questions and found this forum. It made mention of two updates to 1.1: 1.1.1 and 1.1.2. When I try to update the updater says aperature 1.1 isn't installed. When I run aperature and check the abou

  • Posting periods not allowed

    HI experts, while doing Intial stock posting in MB1C 561 movement type it showing "posting only possible periods 2007/12 and 2007/11. I have checked in MMRV current period 12/2007 previous period 11/2007 pls advice me. It still showing the above erro

  • Cumulative quantity has exceeded still billing have condition value.

    Hi, Requirement – One discount condition which will be applicable up to a certain quantity at billing. Issue – Condition is getting determined at billing while cumulative quantity has exceeded.( I am using pricing type C in copy control delivery to b

  • Change security settings Linux

    Hi, Can anyone post me the link for how to edit Linux security settings (Need more then one logon attempt before lockout of user account on Linux) Regards 933746