Webservice through an exception -- SAP XI  namespace is missing in XML

Hello Experts,
we have a HTTP(synchron) --> XI --> SOAP (synchron) ---> XI --> HTTP Scenario.
A webapplicaton sends a number to XI. XI sends the number (integrationprocess) to a  webservice an gets same information back. This information will be send back to the
webapplication.
In same cases the webservices through an exception (it's okay, depend on date).
But XI can't read this XML because one namespace is missing.
The webservice sends the XML correctly. We have tested it.
It seems inside XI one namespace of the XML will lost.
We can't see the reason for it.
An Application Fault Exception is thrown in XI
In the RWB we see this: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
The soap communication channel has an error.
We try to arise the severity of the tracelevel to see more information, but without success.
So we don't find any information for this error.
Do you know this problem?
Thanks in advance!
Jürgen

Hi
for namespaing mssing see the below blogs
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
http://www.troobloo.com/tech/xslt.toc.shtml
http://www.w3schools.com/xsl/
http://www.w3.org/TR/xslt
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/generic%20xslt%20mapping%20in%20sap%20xi%2c%20part%20i.pdf
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
Required XSLT Mapping tips!
Thnaks
sudhir sharma

Similar Messages

  • Retrieve Data from the Webservice through Data connection in Adobe Form

    hi
                                            i done Student ejb application
    i.e, Create,Update,Retrieve,Delete operation. I create the WebServices to these operations. Present  i connect the webservice through data connection . create operation is done successfully, but i dont know how to retrieve the the student details through data connection. how i can bind the retrieve values to the table in adobe form .how to bind from webservices to adobe form without context node.

    I had the same problem in SAP B1 2007. Report worked fine except when it was open from B1. Generally there may be different problems. In my case the same problem was caused by using some procedure which was in a specific schema. Changing the schema into "dbo" solved the problem.
    Radoslaw Blaniarz

  • Using Webservice through RFC Func Mod Can I able to fill dropdown field

    Hi,
    I am going to develop offline interactive form using Webservice through RFC Function module.
    There are dropdown list fields in my adobe form. Then how can I able to fill these dropdown fields in my form, I mean how to bind the values to dropdown fields.
    Thanks & Regards,
    nspkumar.

    Hi,
    Option 1:
    If the form is designed in transaction SFP, which has a form interface (transaction SFI), then below solution will work:
    For example consider the data node name as 'COUNTRY' . Select drop down UI element and go to 'Object' properties tab. Select 'Binding' tab, on the top right hand side of this tab there is small icon, select the icon and enable the option 'Show Dynamic Properties'. Once this option is enabled in the 'Binding' tab you can click on the link 'Specify Item Values'. A popup will open, here specify the binding value as 
    $record.sap-vhlist.COUNTRY.item[*]
    Refer to link:
    [Drop down list binding|http://help.sap.com/erp2005_ehp_06/helpdata/en/43/7a667df4ad6fc9e10000000a1553f6/frameset.htm]
    Option 2:
    If the data connection is directly to the webservice then binding needs to be done similar to option 1 except one change. While binding the value in dynamic properties based on XML schema binding needs to be changed.
    As you can see in option 1, for dynamic property binding 
    $record.sap-vhlist.COUNTRY.item[*]
    , there is a value called sap-vhlist. This 'sap-vhlist' gets generated when form is designed in transaction SFP with form interface. So in your case if data connection is from webservice value sap-vhlist needs to changed to the value as per XML schema definition.
    Regards
    Srikanth KV

  • Error while consuming PLSQL Webservice through BPEL

    HI ,
    I have created a simple PLSQL Web service called "HelloWorld" and it got successfully deployed .
    When I tried to test this webservice through BPEL Process Manager , its showing me error everytime that ( Could not create object of class 'dimple.HelloWorldWebServiceUser'; nested exception is: java.lang.ClassNotFoundException: dimple.HelloWorldWebServiceUser</summary> ) .
    Please anyone help me out with this problem .
    Thanks
    Prashant Dwivedi

    HI ,
    I have created a simple PLSQL Web service called "HelloWorld" and it got successfully deployed .
    When I tried to test this webservice through BPEL Process Manager , its showing me error everytime that ( Could not create object of class 'dimple.HelloWorldWebServiceUser'; nested exception is: java.lang.ClassNotFoundException: dimple.HelloWorldWebServiceUser</summary> ) .
    Please anyone help me out with this problem .
    Thanks
    Prashant Dwivedi

  • Java.rmi.RemoteException - on deploying a webservice through NWDS.

    Hi All,
    We have created and successfully build a webservice application in NWDS.
    Now when the activity is activated in Activation view, the build goes fine but deployment gets aborted with the following error:
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application syngenta.com/crmws~usprvwebservice..
    Reason: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application
    The Runtime system is on SAP J2EE ENGINE CORE 7.00 - SPS 19.
    For the same issue i checked in SDN and found out a SAP NOTE - 956443, according to which 2 sda files 'webservices' and 'webservices_lib'  were to be deployed on the server.
    We have done the same and restarted the engine also. But still on deployment we got the same error again.
    Just wanted to know the workaround for this issue and whether some updated version of this SAP Note does exist?
    Regards,
    Shailesh

    Hi All,
    Now the above issue has been resolved and the webservice is getting deployed successfully, and is visible under Web service Navaigator of the desired server.
    But when i am clicking on the webservice name i am getting an error:
    Cannot download WSDL from http://<name>:<port>/webservicename/Config1?wsdl: java.lang.NullPointerException.
    Could you please help out with this issue.
    Regards,
    Shailesh

  • WebDynpro Exception: IDs with Namespace Must Have the Format / namespace /

    Hi Experts,
        Can you please help me with this:
        I get the following error when I execute a webdynpro application.  Can you please let me know where do
        I need to look to verify the <namespace> and <id>.
       Error when processing your request
    What has happened?
    The URL http://sapdev.tfi.local:8000/sap/bc/webdynpro/sap/z_temp_disp_mara/ was not called due to an error.
    Note
    The following error text was processed in the system DEV : WebDynpro Exception: IDs with Namespace Must Have the Format /<namespace>/<id>
    The error occurred on the application server sapdev_DEV_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CONSTRUCTOR of program CL_WDR_VIEW_ELEMENT===========CP
    Method: CONSTRUCTOR of program CL_WD_TABLE_COLUMN============CP
    Method: NEW_TABLE_COLUMN of program CL_WD_TABLE_COLUMN============CP
    Method: IF_WDR_VIEW_DELEGATE~WD_CREATE_UI_TREE of program /1BCWDY/6JQCRML58TRPAX42J5MQ==CP
    Method: CREATE_UI_TREE of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DEV in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sapdev_DEV_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server sapdev_DEV_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Edited by: arshad mohammed on Sep 24, 2009 2:19 AM

    Hello experts,
    i got the same error but we use sap basis 700 with sps 15. What to do here?

  • Problem invoking XI webservice through webdynpro

    We have created a webservice on XI that calls the BAPI_COMPANYCODE_GETLIST on an R/3 4.6C system.  We generated the WSDL using the Integration builder and corrected the URL to point to the webservice (rather than the wizard proposed URL).
    We can call the webservice through XMLspy and other tools.  But we are not able to use webdynpro to invoke the webservice.  We uploaded the webservice on the web application server so we can get to it through a URL.
    The problem is that when we use webdynpro and try to link it to a webservice, we can point to the URL which is for the WSDL we uploaded to the webserver.  But there is no other field in webdynpro to specify the URL for the webservice endpoint.  The endpoint is actually in the WSDL and it seems correct:
    http://servername:50000/XISOAPAdapter/MessageServlet?channel=:BS_EXTERNALAPP:BAPI_COMPANYCODE_GETLIST_WEBSERVICE_SOAP_SENDER;version=3.0;Sender.Service=BS_EXTERNALAPP;Interface=http://xyz.com/xi_demo/BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MI
    Through XMLspy we can just point to the WSDL.  And then we can just specify the username and password and it runs.  But with webdynpro, we are not able to invoke it.
    Any ideas what we can do?
    Here is the WSDL below:
    Thanks,
    Jay
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:p1="http://xyz.com/xi/xi_demo" name="BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MI" targetNamespace="http://xyz.com/xi/xi_demo">
         <wsdl:types>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions">
                   <xsd:element name="BAPI_COMPANYCODE_GETLIST.Response">
                        <xsd:complexType>
                             <xsd:all>
                                  <xsd:element name="RETURN" type="BAPIRETURN" minOccurs="0"/>
                                  <xsd:element name="COMPANYCODE_LIST">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="item" type="BAPI0002_1" minOccurs="0" maxOccurs="unbounded"/>
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:all>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element name="BAPI_COMPANYCODE_GETLIST">
                        <xsd:complexType>
                             <xsd:all>
                                  <xsd:element name="COMPANYCODE_LIST">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="item" type="BAPI0002_1" minOccurs="0" maxOccurs="unbounded"/>
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:all>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:complexType name="BAPI0002_1">
                        <xsd:sequence>
                             <xsd:element name="COMP_CODE" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="4"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="COMP_NAME" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="25"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
                   <xsd:complexType name="BAPIRETURN">
                        <xsd:sequence>
                             <xsd:element name="TYPE" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="1"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="CODE" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="5"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="MESSAGE" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="220"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="LOG_NO" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="20"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="LOG_MSG_NO" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="6"/>
                                            <xsd:pattern value="\d+"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="MESSAGE_V1" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="50"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="MESSAGE_V2" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="50"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="MESSAGE_V3" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="50"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                             <xsd:element name="MESSAGE_V4" minOccurs="0">
                                  <xsd:simpleType>
                                       <xsd:restriction base="xsd:string">
                                            <xsd:maxLength value="50"/>
                                       </xsd:restriction>
                                  </xsd:simpleType>
                             </xsd:element>
                        </xsd:sequence>
                   </xsd:complexType>
              </xsd:schema>
         </wsdl:types>
         <wsdl:message name="rfc.BAPI_COMPANYCODE_GETLIST.Input">
              <wsdl:part name="parameters" element="rfc:BAPI_COMPANYCODE_GETLIST"/>
         </wsdl:message>
         <wsdl:message name="rfc.BAPI_COMPANYCODE_GETLIST.Output">
              <wsdl:part name="parameters" element="rfc:BAPI_COMPANYCODE_GETLIST.Response"/>
         </wsdl:message>
         <wsdl:portType name="BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MI">
              <wsdl:operation name="BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MI">
                   <wsdl:input message="p1:rfc.BAPI_COMPANYCODE_GETLIST.Input"/>
                   <wsdl:output message="p1:rfc.BAPI_COMPANYCODE_GETLIST.Output"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MIBinding" type="p1:BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MI">
              <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MI">
                   <soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="http://sap.com/xi/WebService/soap1.1"/>
                   <wsdl:input>
                        <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MIService">
              <wsdl:port name="BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MIPort" binding="p1:BAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MIBinding">
                   <soap:address location="http://servername:50000/XISOAPAdapter/MessageServlet?channel=:BS_EXTERNALAPP:BAPI_COMPANYCODE_GETLIST_WEBSERVICE_SOAP_SENDER&version=3.0&Sender.Service=BS_EXTERNALAPP&Interface=http%3A%2F%2Fxyz.com%2Fxi%2Fxi_demo%5EBAPI_COMPANYCODE_GETLIST_OUTBOUND_SYNC_MI" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>

    When i try to make the call through Test Data service in Visual composer, i get the error: "Portal request failed (Could not execute Web service operation)".  This happens regardless of whether we supply input values for Comp Code and Comp Name. 
    So Visual composer is reading the WSDL and showing the input parameters correctly.  The link for the WSDL needs the same authentication user and pwd as the actual webservice invocation link which is in the WSDL. 
    So i am not sure why the call is failing because it works easily through XMLspy.
    - Jay

  • Manual Webservice -  TechnicalException: IO Exception while parsing wsdl

    Hi Gurus,
    I have been following the tutorial [Generating Webservice Manually for a Rule project (XSD)|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c082390a-035f-2b10-dc9d-befec4aff998?quicklink=index&overridelayout=true]. Steps has been followed as described, but  WSNavigator shows the following error when the service is selected.
    com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: IO Exception occurred while parsing file:http://host:5xx00/demo.comp%7Eloaneligibility/GenericService?wsdl&mode=ws_policy
    I guess the bug is in GenericWebService.java or in the wsdl. How can I figure out what is went wrong ?
    I am in NW CE 7.2 & NWDS 7.2 SP01 PAT0001
    Also wants to know whether provision of generating webservice for Rule project is available in NWDS 7.2 apart from webservice generation tool.
    Thanks in anticipation.
    Nikhil

    Hello Nikhil,
    Were you able to generate the web service using the feature to expose rules(using XSDs) as web serive?
    To resolve this exception you recieved while manually trying to create web service, we suggest the following steps -
    1. Add the design time dependency of tc/brms/facade to the web module created
    2. Add the deploy time and run time dependencies of tc/brms/facade to the EAR DC created.
    3. Build and Deploy these DCs
    Do let us know if the issue was resolved. Else, I suggest you raising an IT ticket for help from NW BRM team.
    Regards,
    Arti

  • Webservice through PI

    Hi,
    Can you please help me in understanding the concept of publishing thwe webservices through PI?
    Also,please suggest me the blogs mentioning
    Thanks in advance

    Simple... If PI wants to consume webservices of third party, we dont publish the web service in the service registry. We simple create scenario using SOAP adaper (Receiver) and consume web service. In this case, we import WSDL of third party and use as receiver or target data structure. In configuration level, use soap adapter and specify the WSDL url and action in the comm channel.
    If PI needs to host web service for others to consume then we basically use SOAP sender and create WSDL. Also in this case we publish the web service in the service registry. Hope that helps.
    Have you seen this [link |http://www.riyaz.net/blog/pi-71-publishing-service-interface-as-a-webservice-in-sr/technology/sap/527/]for publishing the service interface in registry?

  • Getting Error :  WebDynpro Exception: IDs with Namespace Must Have the

    Hi Experts,
    I am getting following error while running Webdynpro application, Please give me solution
    The following error text was processed in the system E6I : WebDynpro Exception: IDs with Namespace Must Have the Format /<namespace>/<id>
    The error occurred on the application server HCSAP2950-1_E6I_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CONSTRUCTOR of program CL_WDR_VIEW_ELEMENT===========CP
    Method: CONSTRUCTOR of program CL_WD_TABLE_COLUMN============CP
    Method: NEW_TABLE_COLUMN of program CL_WD_TABLE_COLUMN============CP
    Method: IF_WDR_VIEW_DELEGATE~WD_CREATE_UI_TREE of program /1BCWDY/AK98KQL1OONYBLIT9ARC==CP
    Method: CREATE_UI_TREE of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CPThanks,
    satish

    Hi,
    SAP Notes 1242377, 1381873, 1389146
    Threads:
    WebDynpro Exception: IDs with Namespace Must Have the Format /<namespace>/<
    regards, Lukas

  • Webservice returned with exception in method 'isConnectionLoopbackAlive'

    Hello,
    during monitoring of last 24 hours logs i found message:
    <b>Webservice returned with exception in method 'isConnectionLoopbackAlive'
    category: /Applications/CAF/KM
    Application:  sap.com/irj
    Location:com.sap.portal.prt.cafkm.com.sap.caf.km.service.ConnectionTestService.isConnectionLookupAlive(String)
    </b>
    can anybody help me? what does it mean?
    Denis
    ip
    Edited by: Denis Yugay on Mar 18, 2008 5:10 AM

    Hello, Vincent.
    Situation is same after rebooting server.
    Denis
    Edited by: Denis Yugay on Mar 20, 2008 5:17 AM

  • Getting error response while trying to access REST webservice through Powerbuilder

    Hi Team,
    I am trying to access a rest webservice through powerbuilder 12.5(.net).The rest webservice is secured through basic authentication.I am passing the userid and password through powerbuilder to acess the service,But its returning an error .But while i am trying to accss the same REST webservice through SOAPUI, i am able to get the response.
    Please find the below line of code which i have written in powerbuilder.
    p_testcleint2 lp_rest
    string ls_string
    lp_rest=create p_testcleint2
    PBWebHttp.WebClientCredential lsCredential             //configure credentials
    lsCredential = create PBWebHttp.WebClientCredential
    lsCredential.AccessAuthentication = PBWebHttp.AuthenticationMode.Basic!
    lsCredential.Password='Pa$$word1!'
    lsCredential.Username='admin'
    lp_rest.restConnectionObject.ClientCredential = lsCredential  //add credentials to connection
    try
       lp_rest.PostMessage()
    catch (System.Exception ee)
      messagebox("Failure",string(ee.Message))
    end try
    Error i am getting as below :
    The remote server returned an error:(401) unauthorized.
    Can you please let me know why this error is coming or do i need to any extra paramert in the lsCredential to handle this.
    Thanks in advance.
    Regards
    Subrat

    Hi Chris,
    Thanks for the reply.
    Yes i checked -in fiddler, the basic authentication request is not generating in the fiddler.
    In the same Rest service if i turned off the basic authentication then call is happening in Powerbuilder and its displaying in fiddler also.
    Regards
    Subrat

  • Consume a WebService that exists in SAP ECC 6.0

    Hello evrybody,
    I have a requirement that I've never done before, I have a webservice in transaction WSADMIN in a SAP ECC 6.0, and I need to consume it from PI but I don't know how, I've worked before with BAPI's and ABAP Proxies but never with WebServcies like this, do you know any documentation or maybe a blog on how to do this?, thanks in advance.
    Regards,
    Karla

    Thanks for your answers, I've used ABAP Proxies before, but in the way of generating an ABAP Proxy of a Inbound or Outbound interface from the IR, now I need to consume a WebService already created in SAP ECC 6.0, and I've never donde this before, I'm trying to understand that using SOAP Adapter I should get the WSDL File of the webservice and upload as an External Definition in the IR, but where could I get the URL to consume the webservice that exists in SAP ECC 6.0, thanks.

  • Problem accessing JWS webservice through BPEL

    Hi,
    I have designed a small BPEL file with which I am trying to access through the BPEL console/a java application. I am getting the following error: -
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">weblogic.wsee.codec.CodecException: Unable to find xml element for parameter: office
         at weblogic.wsee.codec.soap11.SoapDecoder.checkNullElement(SoapDecoder.java:378)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:285)
         at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:172)
         at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:125)
         at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:180)
         at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:139)
         at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:40)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:114)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
         at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
         at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
         at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         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.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    </bea_fault:stacktrace>
    </detail>
    I have set the transaction-timeout accordingly in the following files: -
    1) domain.xml
    2) orion-ejb-jar.xml
    3) transaction-manager.xml
    Following is the excerpt from the service: - [I am using JWS annotations]
    @WebService
    @WLHttpTransport(portName="ResponsibleOfficeSoapPort", serviceUri = "ResponsibleOfficeService")
    @WSDL(exposed=true)
    @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
    public class ResponsibleOffice {
         @WebMethod
         public void addResponsibility(String office, String airline, String pRecordLocator) {
              Responsibility aResponsibility = new Responsibility();
              aResponsibility.setResponsibleOffice(office);
              aResponsibility.setResponsibleAirline(airline);
              Customer cus = new Customer();
              cus.setRecordLocator(pRecordLocator);
              cus.setReponsibility(aResponsibility);
              ResponsibilityHelper.persist(cus);
    Following the BPEL file: -
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    -->
    <process name="TestBPEL" targetNamespace="http://xmlns.oracle.com/TestBPEL"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns1="http://com/aaaa/webservices"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns3="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns2="java:com.aaaa.entities"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:client="http://xmlns.oracle.com/TestBPEL"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:TestBPEL"
    myRole="TestBPELProvider"/>
    <partnerLink name="ResponsibleOfficeServiceDefinitions"
    partnerLinkType="ns1:ResponsibleOffice_PL"
    partnerRole="ResponsibleOffice_Role"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:TestBPELRequestMessage"/>
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="outputVariable"
    messageType="client:TestBPELResponseMessage"/>
    <variable name="Invoke_1_addResponsibility_InputVariable"
    messageType="ns1:addResponsibility"/>
    <variable name="Invoke_1_addResponsibility_OutputVariable"
    messageType="ns1:addResponsibilityResponse"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in TestBPEL.wsdl) -->
    <receive name="receiveInput" partnerLink="client" portType="client:TestBPEL"
    operation="process" variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <invoke name="Invoke_1" partnerLink="ResponsibleOfficeServiceDefinitions"
    portType="ns1:ResponsibleOffice" operation="addResponsibility"
    inputVariable="Invoke_1_addResponsibility_InputVariable"
    outputVariable="Invoke_1_addResponsibility_OutputVariable"/>
    <assign name="Assign_1">
    <bpelx:append>
    <bpelx:from variable="outputVariable" part="payload"
    query="/client:TestBPELProcessResponse"/>
    <bpelx:to variable="Invoke_1_addResponsibility_OutputVariable"
    part="parameters" query="/ns1:addResponsibilityResponse"/>
    </bpelx:append>
    </assign>
    <reply name="replyOutput" partnerLink="client" portType="client:TestBPEL"
    operation="process" variable="outputVariable"/>
    </sequence>
    </process>
    [Info: - The Webservice is running on Weblogic 11]
    Can someone please help on this?
    Thanks.

    Your webservice seems to be throwing the error:
    Unable to find xml element for parameter: officeLooking at your BPEL process, you are assigning nothing to the inputVariable of your Invoke block, Invoke_1_addResponsibility_InputVariable. This means you are not sending any value in the office XML element.
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in TestBPEL.wsdl) -->
    <receive name="receiveInput" partnerLink="client" portType="client:TestBPEL"
    operation="process" variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <*invoke* name="Invoke_1" partnerLink="ResponsibleOfficeServiceDefinitions"
    portType="ns1:ResponsibleOffice" operation="addResponsibility"
    inputVariable="Invoke_1_addResponsibility_InputVariable"
    outputVariable="Invoke_1_addResponsibility_OutputVariable"/>
    You'll want to assign something to the variable before you invoke the servie. Otherwise, you just get the same result every time you run it.
    When you do run your process from the BPEL console, you can look on the Flow tab for that instance. Doubleclick on the INVOKE block, and you will see the XML that got sent to your web service.
    Andy

  • Hi, what's the impact of creating sites through configuration in Sap retail System?

    Hi Experts,
    Business requirement is to have a production plant created through config in retail system and then ship the finished product to DC using STO's and Dc will be created as master data in retail system. please share your experience on business impact on this integartion of production plant and site in Retail?
    Thanks in Advance !

    Hi Govind,
    In SAP Retail system, the options for creating plant from configuration is disabled. Means in SPRO screen, the execute button is not there for these options. So you will not be able to create plant through configuration in SAP Retail system where the retail switch is activated.
    All the Retail related features will not support that plants.
    To the best of my knowledge, Site created in Retail system using WB01 transactions can be used for production cycle to implement manufacturing scenario. Using article to article stock transfer you can transfer the stock of Finished Goods articles to trading articles and so on.
    Various processes are available for this.
    Let me know if you need any more information.
    Regards,
    Amit

Maybe you are looking for