External Service Generation - WSDL not accepted

Hi,
I am struggeling to import my WSDL into the CAP SP 8 in the NW DevStudio.
A long time I received a an error "invalid WSDL" - no further comments.
After reading the SAPNote and comparing with working WSDLs I came up with that WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://com.bis/xi/esabox/demo" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="http://schemas.xmlsoap.org/soap/encoding/" name="CreateSAPOrderService" targetNamespace="http://com.bis/xi/esabox/demo">
     <types>
          <xsd:schema targetNamespace="http://com.bis/xi/esabox/demo">
               <xsd:complexType name="row">
                    <xsd:sequence>
                         <xsd:element name="p_idproduit" type="xsd:string"/>
                         <xsd:element name="p_nom" type="xsd:string"/>
                         <xsd:element name="p_type" type="xsd:string"/>
                         <xsd:element name="p_pu" type="xsd:string"/>
                         <xsd:element name="p_count" type="xsd:string"/>
                    </xsd:sequence>
               </xsd:complexType>
          </xsd:schema>
     </types>
     <message name="CreateSAPOrderRequest">
          <!--
          <part name="p_idproduit" type="xsd:int"/>
          <part name="p_nom" type="xsd:string"/>
          <part name="p_type" type="xsd:string"/>
          <part name="p_pu" type="xsd:float"/>
          <part name="p_count" type="xsd:int"/>
          -->
          <part name="row" type="tns:row"/>
     </message>
     <message name="CreateSAPOrderResponse">
          <part name="SAPOrderResponse" type="xsd:string"/>
     </message>
     <portType name="SAPOrder_PortType">
          <operation name="createSAPOrder">
               <input message="tns:CreateSAPOrderRequest"/>
               <output message="tns:CreateSAPOrderResponse"/>
          </operation>
     </portType>
     <binding name="SAPOrder_Binding" type="tns:SAPOrder_PortType">
          <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
          <operation name="createSAPOrder">
               <soap:operation soapAction="createSAPOrder"/>
               <input>
                    <soap:body use="literal" namespace="http://com.bis/xi/esabox/demo"/>
               </input>
               <output>
                    <soap:body use="literal" namespace="http://com.bis/xi/esabox/demo"/>
               </output>
          </operation>
     </binding>
     <service name="Create_SAP_Order_Service">
          <documentation>WSDL File for CreateSAPOrderService</documentation>
          <port name="CreatSAPOrder_Port" binding="tns:SAPOrder_Binding">
               <soap:address location="http://iwdfvm2160:51000/XISOAPAdapter/MessageServlet?channel=:BSe_GREENATTITUDE_WS:CC_GREENATTITUDE_WS"/>
          </port>
     </service>
</definitions>
No I receive the error "Cannot convert MP Service Definition SAPOrder_PortType into MMR External Service. Reason: Program Error: Unexpected MP data. IStructure struct instance have to be of type IElement."
Well - for me that does not help a lot.
Has anyone an idea what I am doing wrong?
and BTW: I have the impression that CAF but also XI and VC heavily struggle to work with external WSDL. Does anyone know whether SAP is going to improve their products somewhen towards real-life applicability?
Thanks for any comment!!
Cheers.

Hi Ankit
I had managed to solve the problem with a workaround
1) I created an Proxy Project to wrap XI WSDL file in it
2) Then created EJB project to call wrapped XI web Service
   from ejb method. I then exposed this ejb method as web service
3) Finally created ear for ejb and deployed it on Web Application Server
4) now create External service project for the new wrapper web service it will get imported sucessfully and build and deploy also goes sucessfully
The difference this workaround does is that we do not have to consume XI webService directly which has little different structure and instead we consume wrapper web service which is generated out of an EJB and is available on JAVA stack your web service itself
CAF has no problem importing External services when they are hosted on web server JAVA itself
Hope my explanation convince you to go with this workaround
Thanks
Asif

Similar Messages

  • First generation ipad not accepting passwords for wifi

    I have a first generation ipad -- 2 weeks ago it stopped connecting to wifi -- I enter the wifi password and it says "Incorrect password" -- I am positive the password is correct.  I have restarted, restarted the router, changed the router channel, called tech for my cable router, soft re-boot, hard re-boot, forget this network, reset network settings, and I just completed a complete wipe out of the ipad to start over... same problem, it says "Incorrect password" -- I am beyond frustrated at this point, can someone please offer some insight to this issue?!  I have already gone through all the steps listed on previous posts, its like the wifi just stopped working.   It will recognize my network but will not accept the password.  all other devices in our home work with the same network and password.
    Thanks for your help!!!!

    When you say 'open up' - do you mean unlock it so a password is not required?

  • HT1459 The support services guide is not accepting my serial number

    I recently installed a new Netgear router/modem but now when I plug in my ipod or my wife's ipad, itunes does not recognize them

    Make sure you are using the  correct serial number.  Find your serial number quickly
    If you did not deactivate the original installation then it is possible your two allowed activations have been used and you need to reset your activation count.  To do that you need to contact Adobe Support thru chat and ask them to reset your activations.  If you ask for more than that they will tell you they cannot offer you any support.
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Inspection lot for external service

    Hi Gajesh/ Sujit/shyamal/ all
    we are planning to use service master for external vendor's service, i have couple of questions
    please share your experience, if anyone of you come across this kind of requirement
    1. is it possible to create an inspection lot for external service?
    2. we want to capture / validate the vendor's external service, weather it is accepted or not? sometime we need to enter quantitative value also
    3. is there any setting or config for assign /create inspection lot for service master?
    what I know is without material master we cannot create inspection lot but i don't know about service master.
    thanks
    Sami

    Gajesh,
    thanks for quick response.
    2 business req. are as follows
    1.  vendror is performing periodic service, MM side external service order (service contract/PO)created, bsaed on thatPO vendors performing service.
    service entry sheet they are capturing man hours and date of service.
    business wants quality of service to be captured in QM inspectiion lot.
    2. production order ---> routing -- operation ---> vendor & service PO number  assigned external work --> now inspetion lot will be created for that material/production order.
    how can we link service master, service entry sheet and inspection lot?
    how to map for this req.?
    again is't possible to create inspection lot for service master?(without material master)if your answer is yes, then where/how can we assign inspection type ? which inspection type?
    thanks
    Sami

  • External services?

    Dear Gurus,
    How do we make it possible to accept external services that are not covered by a purchase order or exceed the scope of services covered by a purchase order?
    Thanks..

    hi,
    Either increase the value limit or reduce the cost or remove the item ...
    In order to restrict this the sap has provided funcion of the value limits in the service PO's...so that the value shd not exceed the target/affordable value...
    If you don;t wanna exceed the value limit, then drop the item and create the new service PO and proceed with the remaining items...
    There is no other way round, becasue your company may have some targets for value which is req, to pay for procuring services...and if these targets are crossed then may cause problems...
    Regards
    Priyanka.P

  • The report does not accept the value for apps.fnd_profile.value('USER_ID')

    Hi,
    I followed the below note and added a report to my SSHR menu.
    How To Add A Report To A 11i Self Service Menu [ID 334847.1]
    In my report , I have a condition in the query
    and a.created_by =apps.fnd_profile.value('USER_ID')
    When the report is submitted as a request , it works fine., however the same report when called from the self service page does not accept any value for apps.fnd_profile.value('USER_ID') .
    Is there a workaround to handle this problem.
    regards

    hi,
    I had already tried the option apps.fnd_global.USER_ID too.
    However it does not accept the value for apps.fnd_global.USER_ID.
    We want to call the reports in SSHR using oaf and at the same time the records that are pending for approval created by the employee should only be visible.
    regards
    Maya

  • External service with notification

    hi experts,
    i am creating notification through maintenance plance , but in some cases customer give AMC so in that case how is the senerio for external service(i am not create order i want solution with out order ) , how can i create pr automatic of through notification, integrat service sheet with notification for further invoice to party
    thanks,
    utkarsh

    Hi Utkarsh,
    SAP suggests two types of procurement process via Maintenance Plan.
    1. Standard process: Maint.Plan -> Maint.Order -> PR -> PO -> SES
    2. Accelerated process: a. Maint.Plan -> Maint.Order -> PR -> SES
                                        b. Maint.Plan -> PR -> SES
                                        c. Maint.Plan -> SES
    you need to have appropriate Maintenance Plan Category(with defined number range in the system) while creating the maintenance plan.
    As you said it is Annual Maintenance Contract with vendor/service provider, you can create a Frame work order for that and can post your SES against it whenever vendor perform maintenance service.
    I guess you can make use of ME58 transaction for posting SES against FO, please check I am not quite sure about this.
    Please let me know if it meets your requirement.
    Thanks,
    Regards,
    Sudharsan

  • Access Enterprise Service as CAF External Service

    Hi All,
    Has anybody used Enterprise Service as CAF External service (in CE 7.1.1) and got the proper result after doing the external service config.? If any body used it please share the External service config part. Because I am getting stuck here. In CE7.1.1 the external service config is not same like previous version as I think.
    Thanks in Advance
    Chandan

    Hi Chandan,
    For Ehp1 you can take a look at:
    [Configuring Consumer Applications|http://help.sap.com/saphelp_nwce711/helpdata/en/a1/9e09c81efa4b2ba92de3f465e305f3/frameset.htm]
    [Configuring Individual Web Service Clients|http://help.sap.com/saphelp_nwce711/helpdata/en/47/f8af96fdb84aa7e10000000a421937/content.htm]
    [Configuring Groups of Web Service Clients|http://help.sap.com/saphelp_nwce711/helpdata/en/9e/bddebc278e41e4988fe064d694b20c/content.htm]
    Hope this helps.
    Best Regards,
    Tsvetan

  • Procurement of external services

    Hi All,
    I want to procure external services for my Project. Also i need the option to check quality for the services performed. How to use the QM View in DIEN Material Master.
    When to use DIEN Material master & Service Master
    Need step by step procedure for complete cycle.
    Regards,
    Baskar

    Hi,
    Material type DIEN is used for when you offer "SERVICE" to your customer.( The steps are (VA01,VF01,VF04,F-28), If u used HR module( you can used with sales order with t.codes are: CAT2,CATS_APPR_LITE,CAT7,PR05,PRRW,PRFI)
    Service Master records(AC01)[ESM] is used when you procure "SERVICE" from your vendor.( Steps are: ME21N with Item Cat. "D" with Acc. ***. Cat. "K" or "C", ML81N,MIRO & F-53).
    Note:Standard DIEN material type designed for Sales usage only , but you can use DIEN for Purchase also to avoid External Services Management.
    Note-2: As Service is an intangible material,since services cannot be stored, a material master record of this material type does not contain inventory data or inventory management data. To map in SAP, when you procure service from ur vendor, we do maintain Service master and create purchase order to vendor mentioning Cost Object and Item Category (D). Service Master records(AC01)ESM is used when you procure "SERVICE" from your vendor.( Steps are: ME21N with Item Cat. "D" with Acc. ***. Cat. "K" or "C", ML81N, MIRO & F-53).
    For more check the link:
    http://help.sap.com/saphelp_47x200/helpdata/en/7e/cb85b443a311d189ee0000e81ddfac/frameset.htm
    Regards,
    Biju K

  • Source structure is not accepting the file

    Hi,
    I have imported an external definition but its not accepting the file structure send by user..Its showing redcolour fields in the mapping of the test tab aslo when i pasted the payload..
    This is the sample structure of the xml file from the test tab of mapping of my external definition..
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Policy xmlns:ns0="http://www.policy.en/XI/Swiss">
       <heading>
          <billcode>1</billcode>
          <version>01</version>
          <source>123</source>
          <destination>424</destination>
          <date>43</date>
          <hour>4234</hour>
          <code>324</code>
          </heading>
    This is the file sent by the user
    <?xml version='1.0'encoding='ISO-8859-1'?>
    <MT_Policy>
    <heading>
    <billcode>420054842</billcode>
    <version>001</version>
    <source>EN12</source>
    <destination>0230</destination>
    <date>2011-01-04</date>
    <hour>14:09:03</hour>
    <code>01</code>
    </heading>
    Please let me know,for me it looks like the strctures are same..Why is it not accepting..

    Hi,
    it seems you have created data and message type for the structure, thats why it is having NS0 tags and XML name space,
    even encoding also different.
    you have to handle this,best way is convert your test data in to XSD using any XML tool,and import it..it will work.
    or
    remove XML Name space in message type and try it,i think it will work.
    Regards,
    Raj

  • Automated Runtime Configuration for External Services

    Hello,
    in relation to my bachelor thesis I was wondering if there is API or another way to set the backend systems destinations for external services dynamically and not by entering the information in CAF Runtime.
    Thanks,
    Petromil

    Hello Bonnie,
    Here is some documents which will help you to setup External Service Management.
    http://help.sap.com/bp_bblibrary/500/documentation/U42_BB_ConfigGuide_EN_BR.doc
    <a href="http://help.sap.com/bestpractices/BBLibrary/documentation/J24_BB_ConfigGuide_EN_UK.doc">SD/MM Services</a>
    Regard,
    Arif Mansuri

  • Service Entry sheet to be set as Not accepted status

    Hi
    After flagging the Transfer check box in the Settlement Tab in item details of shipment cost document(VI03), the Purchase order(ME23N) and Service entry sheet(ML81N) are automatically getting generated. PO and Service entry sheet numbers can be seen in Service Procurement tab.
    Question 1: When I separetely look into PO, I am unable trace back the flow. I mean, there is no reference  of Shipment cost number in PO.
    Question 2: I want the service entry sheet to get on hold/not accepted status so that i can add the list of services performed by the Forwarding agent / service agent mentioned in Shipment cost document.
    Question 3: I have made Release strategy for Service entry sheet which is properly working when i am accepting  the entry sheet manually. But it is not working when the shipment cost document is triggering PO and Service entry sheet automatically. Actually, It should hold the service entry sheet from not being accepted.
    Note: This subject is a mix of  Transportation (Logistics Execution) and  External Service Management (Materials management). The moderator of this forum can take a call on placement of this thread under suitable section.
    Thanks
    Maruthi Ram
    Edited by: MARUTHI RAM on May 26, 2009 9:31 PM
    Edited by: MARUTHI RAM on Jun 4, 2009 2:50 AM
    Edited by: MARUTHI RAM on Jun 5, 2009 8:29 PM

    not solved.

  • Combination of GR/IR control not allowed for external services

    Hi,
    I need to uncheck the field GR-Based IV (EKPO-WEBRE) in the SERVICE PO but I receive the message :
    "Combination of GR/IR control not allowed for external services"
    I want to allow the user to receive Invoices (MIRO) before the Service Entry (ML81N).
    Thanks.
    Carlos Durazo

    HI,
    This is a "hard coded" option and cannot be removed.
    If you want to be able to post invoices for services before the GR (acceptance) then you could consider using "normal" POs for these (without item category "D") abd use material masters (DIEN material type) or describe the service in text.
    External services POs are only really suited to complex services or services that need a two step GR process (Service entry and acceptance).
    Far too many organisations use the service entry sheet option when "normal POs" would be far better.
    Steve B

  • Printing Services do not accept PDFs generated with Pages

    Hello,
    I have a MacBook Pro, OS X 10.4.1 and I have been using Pages to generate documents which I then turn into PDFs before sending to a printing service for printing. However, several print services that I need to use to stay cost competitive cannot accept PDFs generated by Pages (I believe they said or Quark). The print service printers will not print PDFs created by pages. I've probably spent 2 weeks trying to work my way out of this one and I can't seem to find a solution other than to manually rework all my files into Word documents which could take months. Does anyone have a suggestion for me? Thank you so much,
    Wendy

    I need to use to stay cost competitive cannot accept PDFs generated by Pages (I believe they said or Quark)
    The print publishing industry has agreed on a specification for print-ready PDF. The specification is an ISO standard known as PDF/X for blind eXchange, meaning that if the person preparing the digital master applies the specification then the person printing the digital master can depend on the master to be printable.
    QuarkXPress 7 includes PDF/X authentication internally and Apple Pages includes PDF/X authentication externally through the sysem-level Apple ColorSync filters. The print service provider should inform you of the printing condition she is selling you and should provide an ICC type PRTR printer profile for that printing condition.
    The ICC printer profile determines the ink limit, the detail in the highlights and the detail in the shadows, the gray balance relative to the tint of the paper (whether bluish, yellowish, reddish, or near neutral) and matches the laydown order of the inks in the printing system. If the print service provider has no ICC printer profile for a custom printing condition, ISO 12647 reference data are available from www.color.org and the print service provider should be able to build a separation to suit her process from that. This ICC printer profile should be set as the OutputIntent in the PDF/X filter, whether in QuarkXPress, in Apple Pages, in Adobe InDesign, in Adobe Acrobat or in any other compatible application.
    Best,
    Henrik

  • Problem: Field not a member of external service

    Hello,
    using the NWCE 7.1 SP 5 and the corresponding NWDS I have successfully imported an external RFC "/EDC/GET_IT_MAT_WF" into my composite application. For the imported RFC I have created an application service and mapped it to the RFC. Another application service relies on the mapped application service and is exported as a web service which in turn is used by a Visual Composer model. Everything worked fine.
    Now, I have added another parameter "SONDER" to the RFC in the R/3. In my composite application I have deleted the previously imported RFC and the mapped application service and created them from scratch.
    However, when invoking the newly added mapped application service I get an exception which reads:
    Field SONDER not a member of /EDC/GET_IT_MAT_WF.
    Firstly, I have checked the RFC and tested it in the R/3 using the ABAP Workbench.
    Secondly, I have checked the newly imported external service and the mapped application service. Both do contain the field "SONDER".
    Thirdly, I have undeployed the entire composite application, cleaned it in the NWDS, regenerated, rebuilded, and finally redeployed it.
    However, the exception still remains.
    What am I doing wrong?
    Thanks and best regards
    Alexander
    PS: The exception trace looks like this:
    com.sap.mw.jco.JCO$Exception: (127) JCO_ERROR_FIELD_NOT_FOUND: Field SONDER not a member of /EDC/IT_MAT_WF
    at com.sap.mw.jco.JCO$MetaData.indexOf(JCO.java:9662)
    at com.sap.mw.jco.JCO$MetaData.isTable(JCO.java:10606)
    at com.sap.caf.rt.connectivity.rfc.RFCExecuteManager.createTypeRefVal4JCORec(RFCExecuteManager.java:457)
    at com.sap.caf.rt.connectivity.rfc.RFCExecuteManager.createTypeRefVal4JCORec(RFCExecuteManager.java:441)
    at com.sap.caf.rt.connectivity.rfc.RFCExecuteManager.fillElementsOfTable(RFCExecuteManager.java:607)
    at com.sap.caf.rt.connectivity.rfc.RFCExecuteManager.createTypeRefVal4JCORec(RFCExecuteManager.java:486)
    at com.sap.caf.rt.connectivity.rfc.RFCExecuteManager.createTypeRefVal4JCORec(RFCExecuteManager.java:441)
    at com.sap.caf.rt.connectivity.rfc.RFCExecuteManager.convertJCOFunction2Values(RFCExecuteManager.java:367)
    at com.sap.caf.rt.connectivity.rfc.RFCExecuteManager.executeRFC(RFCExecuteManager.java:304)
    at com.sap.caf.rt.connectivity.ExecutionManager.executeRFC(ExecutionManager.java:52)
    at com.sap.caf.rt.connectivity.ExternalOperationExecutor.execute(ExternalOperationExecutor.java:82)
    at com.sap.caf.rt.connectivity.ExternalOperationExecutor.execute(ExternalOperationExecutor.java:55)
    at com.sap.caf.rt.bol.da.remote.GenericOperationExecutor.execute(GenericOperationExecutor.java:53)
    at com.esprit.purchase_requisition.modeled.appsrv.materialservice.MaterialServiceBean.getMaterialListBapi(MaterialServiceBean.java:42)

    Hi Yasar,
    thank you very much. That helped. Should have come to my mind on my own.
    Hopefully, SAP fixes those caching issues, as the current situation is not acceptable in a production scenario. You just cannot keep on restarting the whole server each time a composite application changes.
    Best regards
    Alexander

Maybe you are looking for

  • VS2013 - Something related to app config - How to remove "Could not find schema messages"

    All of the sudden, I am getting many "Could not find Schema" messages in my Windows Form App. Why is this occurring ?  How to fix it ? I tried deleting the app.config and regenerating it.  That did not work. Thanks 

  • VAT value

    Dear all, 1 In case of Traders Basic Value + Vat = Purchase value E.duty +Vat = Tax Vat 2 In case of Manufacturers Basic valueE.dutyVat = Purchase Value E.duty +Vat = Tax Vat The above mentioned report should be as under: 1 In case of Traders Basic V

  • CRS could not start after reboot

    I installed oracle 10g R2 RAC on RHEL4 U4 with 2 nodes. It runs fine on 2 nodes (without reboot after installation). But when I rebooted one node, I found that the CRS daemon could not start automatically. The boot menu show "Starting CRS" [OK]. The

  • HT2499 How can I watch a movie and have two subtitle tracks at once?

    How can I watch a DVD using Mountain Lion's DVD player with multiple subtitle tracks, such as english and chinese, simultaineously?

  • InDesign CS5 crashes when I attempt to delete a table

    After importing a table into a layout, I found that attempting to merge a couple of the cells crashed InDesign. I've reimported the table, and the new table gives me no problems.  However, I can't delete the old one.  Whether I try to delete the whol