Unable to successfuly test webservice through SOAP UI while the FM works

Hi,
We have recently upgraded to EHP6. We created a few function modules through which web services were created. Now when we test the FM's they work perfectly fine whereas some of the webservices are not responding correctly when being tested thriough an external tool: SOAP UI.
This particular issue is just persisting in case of only a few webservices whereas the others are working perfectly fine. After checking all the configuration seetings (though I am sure they are maintained correctly since some of the webservices are working fine) I have tried regenerating a new service and then going about testing the new wsdl file in SOAP UI but the output is same everytime. I also tried deactivating and reactivating the FM and then creating the wsdl out of the service but nothing seems to work.
How can I test my webservice in such a case and be sure of it to be working correctly?
Kindly help out with this issue.
Regards,
Shivangi

Hi Shivangi,
What precisely do you mean by the following?
some of the webservices are not responding correctly when being tested thriough an external tool: SOAP UI
Is it like you do not get any response from your web service, or an error response? Or you do receive a response, but it differs from what you get when testing the FM directly in ECC?
In the first case, make sure you have configured your web services correctly in SOAMANAGER (or WSCONFIG + LPCONFIG in case of lower system versions).
In case of the latter, make sure you use statements like "IS INITIAL" or "IS SUPPLIED" correctly, because input parameters may look somehow different in ECC when the FM is executed externally.
You might also want to put an external break point for the user that authorizes your external connections and debug the FM from there to see what's wrong. For this purpose, when displaying your FM, choose: Utilities -> Settings from the top menu, and in the window that appers, go to tab page ABAP Editor, sub-tab page Debugging and type a user for external debugging (it has to be a dialog user), then place an external break point in the code.
Hope this helps,
Greg

Similar Messages

  • Not able to test webservice through enterprise manager

    Hi All,
    We have deployed few composites. Deployment was successful. but when we try to test the service using "Test" button in the composite. we are getting an error below the WSDL URL in the Test Webservice page.
    Following is the error:
    Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - oracle.sysman.emas.sdk.wsm.WsmServiceAccessException: Cannot locate service: oracle.wsm.policymanager.IPolicyService
    I'm able to open the WSDL in browser. We dont have any OWSM policlies set for any of the composites.
    When i use the WSDL URL in a partner link, the operation and other properties getting loaded, i/p and o/p elements of the WSDL also getting retrieved.
    SOA version: 11.1.1.6
    This is applicable for all composites we deployed.
    Please help us in resolving this issue.
    Regards,
    Terry
    Edited by: 965185 on Oct 16, 2012 2:05 AM

    In my case issue got resolved after I added java.naming.provider.url
    Steps:
    Log into EM then select the domain in use and use the following the menu path, WebLogic Domain> Web Services > Platform Policy Configuration
    From there, select the Policy Accessor tab., then click Add to add a property.
    In the Add Property window, specify the following values:
    In the Name field, enter this property: java.naming.provider.url
    Value: t3://<hostname1>:<port_number>,<hostname2>:<port_number>

  • Error while testing webservice using SOAP

    Hi,
    While i was testing my published webservice using soap-ui it gave me following error,
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>Internal SOAP Processing Failure</faultstring>
    <detail/>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    and in the event log i can see a event as follows and there is no warning or error
    Upon investigation i got to know the following steps might solve the problem..i.e..
    - Is the receive location for the SOAP webservice enabled? - YES
    - Can you browse to (the WSDL of) the webservice? Is displayed correctly? -YES
    - Is the webservice configured to run in the correct application pool? -YES
    -The user under which application pool is running have the read/write permission on the %temp% folder.-Dont Know how to check
    -In IIS,Check the identity of the application pool on which Web service is running and make sure that the user is the member of both “IIS_WPG” and “BizTalk Isolated host users”.
    -DONT Know how to check
    Please Help me in guiding me in the last two points
    and if there are any other solutions for this..
    Thanks,
    Sarva.

    You mentioned you checked that the webservice is configured under correct application pool. you can find the user under which the application pool is configured (open iis- > select application pools -> find out the "Identity column" to
    know the user for your application pool.
    -The user under which application pool is running have the read/write permission on the %temp% folder.-Dont Know how to check
    Go to run -> type "%temp%" -> Go one step back -> Right click to the folder -> Properties -> Security -> check the application pool user is present under "Group or user names"
    -In IIS,Check the identity of the application pool on which Web service is running and make sure that the user is the member of both “IIS_WPG” and “BizTalk Isolated host users”.
    -DONT Know how to check
    Refer How to Add Service Account to the IIS_WPG Group to add your application pool user under IIS_WPG. Also similar activity to add your service account to "BizTalk Isolated
    host users" if it is local groups. Or Ask your network support team if "BizTalk Isolated host users" is domain group.
    Please Help me in guiding me in the last two points
    and if there are any other solutions for this..
    Thanks,
    Sarva.
    Your event viewer might have more information pointing exactly what is causing "Internal SOAP processing failure". 
    Also refer this
    which might be helpful for you.
    If this answers your question please mark it as Answer and if this post is helpful, please vote as helpful. Thanks !

  • My WebService with soap headers code no longer works in Flex 3

    In Flexbuilder 2 this code works like a charm but when I run
    it from 3 I'm getting errors. I can't seem to find any info on the
    changes in the Help. I posted this problem on another forum and got
    a lot of great feedback but we haven't been able to find the
    problem, can someone lend a hand, maybe an Adobe person? Below is
    my error and code.
    Thank You,
    Mark
    --ERROR--
    (mx.rpc::Fault)#0
    errorID = 0
    faultCode = "Server.Error.Request"
    faultDetail = "Error: [IOErrorEvent type="ioError"
    bubbles=false cancelable=false eventPhase=2 text="Error #2032:
    Stream Error. URL:
    http://radar.us.na.ey.net/RadarXML.asmx"
    URL:
    http://radar.us.na.ey.net/RadarXML.asmx"
    faultString = "HTTP request error"
    message = "faultCode:Server.Error.Request faultString:'HTTP
    request error' faultDetail:'Error: [IOErrorEvent type="ioError"
    bubbles=false cancelable=false eventPhase=2 text="Error #2032:
    Stream Error. URL:
    http://radar.us.na.ey.net/RadarXML.asmx"
    URL:
    http://radar.us.na.ey.net/RadarXML.asmx'"
    name = "Error"
    rootCause = (flash.events::IOErrorEvent)#1
    bubbles = false
    cancelable = false
    currentTarget = (flash.net::URLLoader)#2
    bytesLoaded = 0
    bytesTotal = 0
    data = (null)
    dataFormat = "text"
    eventPhase = 2
    target = (flash.net::URLLoader)#2
    text = "Error #2032: Stream Error. URL:
    http://radar.us.na.ey.net/RadarXML.asmx"
    type = "ioError"
    --MXML--

    I agree with Sean in avoiding 'updateStage' and updating much of your syntax.
    I started writing some exampels of syntax and loop improvments and ended up going through almost your entire script..Here goes
    on mouseDown
        set me = the castNum of sprite (the clickOn)
    could be replaced with
      on mouseDown me
        myMember = sprite(me.SpriteNum).member
    You can remove all the 'set' words, like the above and:
      dropList = ["Effective", "Not_effective"] 
      temp = EMPTY
    Replace the following (assuming you used the myMember statement above):
      put temp into field me
    with
      member(myMember).text = temp
    There are 2 if.. then conditions in the repeat while the stillDown loop that look wrong:
      if the mouseCast = me then set newLine = the mouseLine
      else set newLine = 0
    I would expect it to be:
      if the mouseCast = me then
        newLine = the mouseLine
      else
        newLine = 0
      end if
    You can get away from the 'repeat will the stilldown' by adding the code to an exitFrame event that can be within this behavior:
      on exitFrame me
        if the mouseDown then
        if the mouseCast = myMember.number then
        newLine = the mouseLine 
        else
        newLine = 0
        end if
      if oldLine <> newLine then
        if newLine then
          member(myMember).line[newLine].hilite()
        else
          member(myMember).text = temp
        end if
        oldLine = newLine
      end if
      end if
    end
    Taking the approach of having multiple events in 1 script and having variables shared in each, it would be best to make thise variables property variables, declaring them as such at teh top of the script.
    Then for the 'clean up and close out' code, yu could put that into an on MouseUp event.
    In Lingo 1 is TRUE, 0 is FALSE. Since, you're using 0 when setting the visible property, I'd say use 1 instead of TRUE.
    Dean
    Message was edited by: Dean Utian

  • Testing WebService through WS Navigator in CE 7.1.1

    Hello All,
    We have a scenario where the web service in created in ECC and hosted on PI Service Registry.
    When we  try to test this web service through WS Navigator, I am getting the error
    "Invalid Transport binding settings [_confidentiality0210] Expected only one certificate, but recieved 0 "
    Any pointers towards this issue would be of great help.
    Regards,
    Shailesh

    Resolved by service restart

  • Unable to access web service through SOAP

    My script is as follows:
    var bank = "Yolo FCU";
    var cURL = "https://vdevcluster01.drmain.local/AcrobatIntegration/1.0/VOService.svc?wsdl";
    var service = SOAP.connect(cURL);
    var response = service.GetVODStringByFinancialInstution(bank);
    I can connect to many other public web services but am having trouble connecting to my company's.
    The full error message is as follows:
    Batch undefined:Exec
    1
    RaiseError:
    SOAP.request:1:Batch undefined:Exec
    ===>
    12
    255
    65535
    Error()@:0
    ("Yolo FCU")@1:1
    @Batch:Exec:5
    I'm not extremely knowledgeable about web services but as a general question, is there an issue with my code or the web service, or is it impossible for anyone to tell me since it's on a private server?
    Any suggestions for me to ask my IT dept. or any help at all would be appreciated. Thanks

    I have imported the cert. But the problem still persists.
    In the Adobe LiveCycle Designer, when i make a new Data Connection for WSDL.
    If I key in http://server_IP:port/webservices/webmethod?WSDL, it works.
    But If I key in https://server_IP:ssl_port/webservices/webmethod?WSDL,
    it prompted back
    Cannot load "https://server_IP:ssl_port/webservices/webmethod?WSDL". Check  that the path is correct and that the file
    is a valid WSDL file. Also ensure you have access rights to the file.

  • Why can I not play music through my headphones while the power cord is plugged in?

    When my headphones and power cord are plugged in at the same time, audio will not play through the headphones, and the volume bar goes away. Why?

    What is the other end of the power cord plugged in to? If it isn't an Apple wall adapter the phone probably sees it as an audio device.

  • The volume in the car does not work when i play music through me iphone but the volume works fine for the cd or radio

    When I use my iphone to play music in the car it does not work but the volume suing the cd or radio is fine

    Hello Vdayal,
    Thank you for the details of the issue you are experiencing with the microphone on your iPhone after upgrading to iOS 7.  I recommend following the steps in the article below for an issue like this.  Step 4 suggests restarting your iPhone, but if you click on the link, it offers the steps to reset your iPhone as well. 
    iPhone: Microphone issues
    http://support.apple.com/kb/ts5183
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Error while connecting to external server through SOAP/HTTP adapter

    Hi,
    we are trying to connect to the external server through SOAP adapter. The scenario is proxy to SOAP asynchronous scenario.
    We are getting following error in Communication channel monitoring:
    *Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault*
    We also tried HTTP adapter in the receiver side. But it is giving red flag in SXMB_MONI with following error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3>Internal Server Error</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Internal Server Error</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please help.
    Thanks in advance.
    Regards,
    sriparna

    Make sure that the receiver webservice is up and running and in a state to receive the external calls. Confirm if the data you send is as per the requirement of the webservice and they haven't changed anything at their end.
    Regards,
    Prateek

  • WebService Issue : SOAP

    I am developong a WebService Client ..The webservice we are accessing requires that we use SOAP 1.2 for all communications.
    Can you please help me with the following query?
    For the purpose to satisfy the requirements, I am using the SAAJ 1.3 APIs. I have imported saaj-api.jar and saaj-impl.jar. I am using WSAD 5.1.0 as the IDE.
    I am unable to create a SOAP message. The same works when I use the default SAAJ APIs available with WSAD.
    //Create Message
    MessageFactory requestMessageFacto ry = MessageFactory. newInstance( SOAPConstants. SOAP_1_2_ PROTOCOL) ;
    SOAPMessage requestMessage = requestMessageFacto ry.createMessage ();
    //Get the SOAPBody
    SOAPEnvelope requestEnvelope = requestMessage. getSOAPPart( ).getEnvelope( );
    requestBody = requestEnvelope. getBody() .addBodyElement( requestEnvelope. createName( "Request" );
    //Add Body element to SOAP Body
    SOAPElement hdrTag = requestBody. addChildElement( requestEnvelope. createName( "Hdr"));
    SOAPElement reqBdyTag = requestBody. addChildElement( requestEnvelope. createName( "ReqBdy") );
    System.out.println( requestBody. toString( ));
    The above line returns the value as [Request: null]
    1. Can you please let me know where I am may be going wrong?
    2. Is this a problem due to compatibility issue?
    3. If SAAJ 1.3 is not preferable for implementation of SOAP 1.2 in WSAD, what other ways I can generate/handle SOAP request/response?

    I was trying to find out the cause of this error and i find out that if i use METRO library it runs successfully but when i use JAX-WS 2.1 i got the same error on local machine also.
    I have also uploaded METRO library to server under WEB-INF/lib folder.
    Any Idea? how to solve this error?
    Thanks

  • Testing between XI  - SOAP(WebService)

    Hi,
        I am doing scenario R3 (Rfc) - > XI - >SOAP(Webservice). Now R3 system is not available, i want to test the data flow between the XI and SOAP(WebService).
    I have tested  <b>Webservice</b> with XML Spy , witch is working fine.
    Now i want to test Between XI and SOAP(Webservice). Can any one help me is there any way to test between these two systems for time being.
    thanks,
    dhanush.

    Hi,
    I hope  you might have already  executed this Scenerio  when R3  is  Up..Right ..If  so... Use that Pay load  and paste  in  in Component  monotoring..use  test tab  and send the message  after pointing the right  interface  and it's namespace.
    Regards
    Agasthuri Doss

  • 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

  • Connection issue between Data service(DQ) to PI through SOAP adapter.

    Hi Guys,
    We are trying to connect the data services(DQ) with SAP PI through SOAP adapter. I provided the wsdl file to data services team and they are trying to send messages to PI. Looks like the messages are showing successful in there system, but not showing up in PI system.
    I tried the same file using xmlspy and PI receiving the messages from XMLSPY. We are wondering whats going wrong?
    Any idea about this data services system? Is there any other better way to receive messages to PI apart from webservices?
    PS: Connection is working fine from PI to DQ thorugh SOAP adapter.
    Thanks
    Deepthi.

    >>>> We are trying to connect the data services(DQ) with SAP PI through SOAP adapter. I provided the wsdl file to data services team and they are trying to send messages to PI. Looks like the messages are showing successful in there system, but not showing up in PI system.
    You are using soap sender  adapter ... Hosting webservices and DQ team is able to access your webservice.  Also using XMLSPY you are able to see pi messages.
    If you are using advance adapter engine, Please check only in the RWB -> adapter engine.
    If you are not using AAE, check in both SXMB_MONI and RWB for the wide range... Something problem with filter query in your checking...
    Note  since XMLSPY testing goes through Pi and able to monitor means you dont need another webservice client tool. 
    Solution:
    use tcp monitor to monitor the soap message ... It is better option
    /people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway

  • 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

  • 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

Maybe you are looking for