Connecting External WebServices

Hello All:
I am trying to connect external webservices, but running into same issue time and again.
When running a testcase, the result produces is as below. I am trying to connect to a free on the internet currency converter webservice at www.webservicesx.net.
Need some help getting this issue resolved.
Regards,
GC
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode xmlns="">SOAP-ENV:Server</faultcode>
<faultstring xmlns="">BPCOR-6135:A fault was not handled in the process scope; Fault Name is {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault; Fault Data is &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;jbi:message xmlns:sxeh=&quot;http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling&quot; type=&quot;sxeh:faultMessage&quot; version=&quot;1.0&quot; xmlns:jbi=&quot;http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper&quot;&gt;&lt;jbi:part&gt;HTTPBC-W00759: Reply SOAP Message specifies a Fault that is malformed, or has no detail, or is undefined for operation GetQuote.&lt;/jbi:part&gt;&lt;/jbi:message&gt;. Sending errors for the pending requests in the process scope before terminating the process instance</faultstring>
<faultactor xmlns="">sun-bpel-engine</faultactor>
<detail xmlns="">
<detailText>BPCOR-6135:A fault was not handled in the process scope; Fault Name is {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault; Fault Data is &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;jbi:message xmlns:sxeh=&quot;http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling&quot; type=&quot;sxeh:faultMessage&quot; version=&quot;1.0&quot; xmlns:jbi=&quot;http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper&quot;&gt;&lt;jbi:part&gt;HTTPBC-W00759: Reply SOAP Message specifies a Fault that is malformed, or has no detail, or is undefined for operation GetQuote.&lt;/jbi:part&gt;&lt;/jbi:message&gt;. Sending errors for the pending requests in the process scope before terminating the process instance
Caused by: BPCOR-6131:An Error status was received while doing an invoke (partnerLink=PartnerLink1, portType={http://www.webserviceX.NET/}StockQuoteSoap, operation=GetQuote)
BPCOR-6129:Line Number is 123
BPCOR-6130:Activity Name is Invoke1
Caused by: HTTPBC-W00759: Reply SOAP Message specifies a Fault that is malformed, or has no detail, or is undefined for operation GetQuote.</detailText>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Thanks Mark for the quick reply.
I have check with SOAPUI, it works fine.
While further seeing the logs I found the logs as below:
I think the response was in error due to content type. Do you know we can change the content type using NetBeans.
[#|2008-10-07T02:17:48.609-0400|FINE|sun-appserver9.1|com.sun.jbi.httpsoapbc.OutboundMessageProcessor|_ThreadID=40;_ThreadName=HTTPBC-OutboundReceiver-2;ClassName=com.sun.jbi.httpsoapbc.OutboundMessageProcessor;MethodName=dispatch;Context=synchronoussample6_jbi-sun-http-binding-GetQuote;_RequestID=a280fef2-f4a8-4650-af58-2e78ab0cd5b0;|A fault occured, possibly a specified service fault.
*_{color:#ff0000}**javax.xml.ws.soap.SOAPFaultException: System.Web.Services.Protocols.SoapException: Server found request content type to be 'multipart/related;start="<rootpart*[email protected]>";type="application/xop+xml";boundary="uuid:f8381e21-4e7f-4670-b542-60f6080c98c8";start-info="text/xml"', but expected 'text/xml'.**{color}_*
at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters()
at System.Web.Services.Protocols.WebServiceHandler.Invoke()
at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187)
at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:986)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1016)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:661)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:243)
at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
|#]
[#|2008-10-07T02:17:48.625-0400|WARNING|sun-appserver9.1|com.sun.jbi.httpsoapbc.OutboundMessageProcessor|_ThreadID=40;_ThreadName=HTTPBC-OutboundReceiver-2;Context=synchronoussample6_jbi-sun-http-binding-GetQuote;_RequestID=a280fef2-f4a8-4650-af58-2e78ab0cd5b0;|HTTPBC-E00759: An exception occured while processing a reply message. HTTPBC-W00759: Reply SOAP Message specifies a Fault that is malformed, or has no detail, or is undefined for operation GetQuote.
javax.jbi.messaging.MessagingException: HTTPBC-W00759: Reply SOAP Message specifies a Fault that is malformed, or has no detail, or is undefined for operation GetQuote.
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:1088)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:661)
at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:243)
at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
|#]
Regards,
GC

Similar Messages

  • How to connect external webservice from ABAP

    Hi,
    Please see code pasted below and tell me what is wrong.
    We try to connect external webservice via https. Should I install certificate is SAP for this connection? (if YES, how can I do this?)
    Should I configure something else in SAP to connect external webservice via https?
      DATA: client type ref to if_http_client,
            lv_content type String,
            lv_xml_string type string,
            lv_length type I,
            lv_response type I,
            lv_node type ref to IF_IXML_NODE,
            lv_xml_doc type ref to cl_xml_document.
    ****Create the HTTP client
    call method cl_http_client=>create_by_url
       EXPORTING
         url    = 'http://services-demo.krd.pl/raina/1.0/KrdAPI.asmx'
       IMPORTING
         client = client
       EXCEPTIONS
         others = 1.
    CALL METHOD CL_HTTP_CLIENT=>CREATE
      EXPORTING
        HOST               = 'services-demo.krd.pl'
         SERVICE = '443'
        SCHEME  = '2'
       PROXY_HOST         =
       PROXY_SERVICE      =
       SCHEME             = SCHEMETYPE_HTTP
       SSL_ID             =
       SAP_USERNAME       =
       SAP_CLIENT         =
      IMPORTING
        CLIENT             = client.
    EXCEPTIONS
       ARGUMENT_NOT_FOUND = 1
       PLUGIN_NOT_ACTIVE  = 2
       INTERNAL_ERROR     = 3
       others             = 4
    CONCATENATE
    '<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
    ' xmlns:xsd="http://www.w3.org/2001/XMLSchema" '
    'xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rain="http://raina.krd.pl">'
    '<soapenv:Header/>'
    '<soapenv:Body>'
    '<rain:Login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">'
    '<id xsi:type="xsd:string">B03EB34F02</id>'
    '<password xsi:type="xsd:string">Akquinet99</password>'
    '<appId xsi:type="xsd:string">test</appId>'
    '<appInstId xsi:type="xsd:string">test</appInstId>'
    '<custom xsi:type="xsd:string">test</custom>'
    '</rain:Login>'
    '</soapenv:Body>'
    '</soapenv:Envelope>'
    INTO lv_content.
    CALL METHOD client->request->set_header_field
        EXPORTING
          name  = '~request_method'
          value = 'POST'.
    CALL METHOD client->REQUEST->SET_HEADER_FIELD
      EXPORTING
        NAME  = '~request_uri'
        VALUE = '/raina/1.0/KrdAPI.asmx?'.
      CALL METHOD client->request->set_header_field
        EXPORTING
          name  = 'Content-Type'
          value = 'text/xml; charset=utf-8'.
      call method client->request->set_header_field
        EXPORTING
          name  = 'SOAPAction'
          value = 'Login'.
      lv_length = STRLEN( lv_content ).
      call method client->request->set_cdata
        EXPORTING
          data   = lv_content
          offset = 0
          length = lv_length.
    ****Make the call
      client->send( ).
    ****Receive the Response Object
      call method client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3
          others                     = 4.
    *****Get the response content
      client->response->GET_STATUS( IMPORTING CODE = lv_response ).
      lv_xml_string = client->response->get_cdata( ).
    Regards,
    Michal

    HI ,
            Error in accessing External Web Service
    Calling a secured external web service from ABAP
    Edited by: A kumar on Aug 21, 2008 11:58 AM

  • Osb connecting to external webservice

    In an already existing developed use-case in our project
    There is one teststub -- proxy service in which an operational branch is added for that ws_processtransaction and ws_reprocesstransaction two fields are added as per wsdl.
    For both fields they are using a replace activity in which they are replacing body with the below code
    <fron:WS_ReProcessTransactionResponse>
    <fron:WS_ReProcessTransactionResult>
         {fn-bea:serialize("<FRONTIERData><ReplyCode>0</ReplyCode><ReplyText>None</ReplyText><Processed>1</Processed><RequestID>D3021FC4-C3CA-48C2-B089-AC44BCDBC3DC</RequestID><TransactionNumber>60120311462083015525</TransactionNumber><ItemID>50</ItemID><InstructionSet/><Mess1Destination>16</Mess1Destination><Mess1Content>Call us and we'll get you a weightless phone</Mess1Content><SaleItems><SerialNumber>1234567890</SerialNumber><PinNumber>12154658</PinNumber></SaleItems></FRONTIERData>")}
    </fron:WS_ReProcessTransactionResult>
    </fron:WS_ReProcessTransactionResponse>
    Now i need to develop a use case in this which is known as ws_getbalance which is available in wsdl ... I need to get balance from one of the service providers
    I am unable to understand the existing code above as to why it has been used and why the values are being hardcoded
    as i am new to osb
    Does the service providers need any hard coded values for authentication when we are connecting to an external webservice
    Can i use the same hardcoded values for my usecase ws_getbalance also. Can someone pls let me know on this
    Thanks,

    Can a Business service call an external webservice or do i need a proxy service for thisBusiness Services in OSB are outbound service (kind of like a web service client). So you will need a business service to call the external system web service.
    Right now the external webservice provider is not available
    If i configure the Business service with the endpoint uri of the external webservice
    Will this be okYou can point the business service to the Endpoint URI of external webservice, but then you will not be able to test the success scenario until the time external service becomes available. Because the business service will always throw a connection error as it will not be able to find the external service(which is unavailable at the moment)

  • Consuming external webservice in webdynpro

    Hi colleagues
    I am trying to consume a webservice "BORM_API_A1S_GET_UPD_SW_VECTOR" in webdynpro, it is an external webservice
    i have followed the below steps and ended up with an error
    Steps:
    1) created a Adaptive web service model
    2) got the WSDL source from "Remotelocation/fileSystem"
    3) given the WSDL URL Acess as "e:///C:\Documents and Settings\Desktop\BORM_API_A1S_GET_UPD_SW_VECTOR.wsdl"
    4) created a service group
    5) then i have done the " model to controller" binding and "controller to view" binding
    6) in the INIT method of controller i have creted the instance of the model and binded it to the context element
    7) set some some values in the init methiod(for input parameters)
    8) designed a view to get the values that are set into the input parameters
    9) Configured the service group
    i am getting an error saying    
    "*java.io.IOException: Cannot connect to https://service.sap.com:443/sap/bc/bsp/spn/swdc/slm/accessctrl.do, used user to connect: S0004119795, message : Unable to connect to service.sap.com:443 - service.sap.com*"
    I think i am doing wrong service confuguration
    steps i have followed to Configure the service group are given below
    1) logged into http://ldcidwd.wdf.sap.corp:50000/nwa
    2) SOA management-->technical information --> system connections
       here i have selected the provider systems tab, and created a new provider system of system type "Java"
    Here i need to provide someother information which i am not sure about what to provide, Could any one let me know what to be provided for the other fields
    u2022     System Type: Java
    u2022     System Name: <System ID> ?( what is this)
    u2022     Host: <Host>?
    u2022     System Description: My Web Service System
    u2022     Username: <Administrator>?
    u2022     Password: <Password for Administrator>?
    u2022     Profile Name: SAP_DEFAULT_PROFILE
    u2022     Mode: Multiple Services
    u2022     Services Source: WSIL
    u2022     WSIL URL: ?(what should be provided here
    u2022     Socket Timeout: 60.000
    Please let me know what shall i fill in this fields
    Thanks & Regards
    Swetha

    Hi Gayathri,
    i have opened the WSDL file and i found there are two URLS
    1) "<soap:operation
                        soapAction="http://www.sap.com/BORM_API_A1S_GET_UPD_SW_VECTOR" />"
    2)<soap:address
                        location="http://pwdf4431.wdf.sap.corp:1080/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/bosf_swdc_slm/accessctrl.do" />
    i have tried pasting the address URL ina n other IE and i was asked for Authentication
    Thanks & Regards
    Swetha

  • How I can wire an extern WebService to BPEL?

    I have started to work with BPEL PM (2.0.10) bbpelz 0.0.95. Now I would
    understand how I can wire an extern WebService (like a PLSQL WebService
    created in JDeveloper from a package) to BPEL.
    Therefore I look for Examples from BPEL - AmazonFlow or GoogleFlow. Then I set the ProxySettings in the orabpel\bin\obsetenv.bat. I've got the error:
    BPEL validation failed.
    [bpelc] BPEL source validation failed, the errors are:
    [bpelc]
    [bpelc] [Error]: CompilationError
    [bpelc] [Description]: in line 0 of "bpel.xml", Failed to read wsdl.
    [bpelc] Error happened when reading wsdl at "C:\Programme\oracle_sw\orabpel\samples\demos\GoogleFlow\GoogleSearchRef.wsdl", because "WSDLException: faultCode=PARSER_ERROR: Error reading file: No route to host: connect".
    [bpelc] Make sure wsdl exists at that URL and is valid.
    [bpelc] .
    [bpelc] [Potential fix]: .
    [bpelc] .
    BUILD FAILED: C:\Programme\oracle_sw\orabpel\samples\demos\GoogleFlow\build.xml:29: Validation error
    On my Laptop - there is'nt a Proxy, and the versions are: bpel pm 2.1.1
    bpelz 0.9.10
    I've got the error, when built the AmazonFlow:
    [bpelc] [Error] AmazonWebServices.wsdl:9:45: src-resolve.4.2: Error resolvin
    g component 'soapenc:Array'. It was detected that 'soapenc:Array' is in namespac
    e 'http://schemas.xmlsoap.org/soap/encoding/', but components from this namespac
    e are not referenceable from schema document 'http://soap.amazon.com/schemas3/Am
    azonWebServices.wsdl'. If this is the incorrect namespace, perhaps the prefix of
    'soapenc:Array' needs to be changed. If this is the correct namespace, then an
    appropriate 'import' tag should be added to 'http://soap.amazon.com/schemas3/Ama
    zonWebServices.wsdl'.
    Who can help me, make run the samples AmazonFlow and GoogleFlow?
    Where can I find more informtions about the Problem, how I can wire a WebService created in JDeveloper to BPEL? I can deploy the WebService from JDeveloper on the BPEL-OC4J-Server- but what have I to do or to integrate in order to see my WS in BPEL console and have access to it in bpel designer?
    Regards Sabine

    Hi,
    I followed your suggestion and linked my BPEL service to a WebService through the WSDL that is remotely accessible as in "{color:#0000ff}http://localhost:8988/scratch/kibailey/view_storage/kibailey_SOA/.jdev_user_home/mywork/OptyEventsService/Model/classes/EventsAMService?wsdl{color}" instead of directly accessing the WSDL file. This Webservice is of course deployed at the above mentioned server and location and the server is up.
    But when I run my BPEL process, I still get this message "{color:#ff0000}Reference EventsAMService does not exist as wire target{color}". I have cross checked other WSDL dependencies and they are fine.
    I am currently using JDev 11g drop 6 through ADE (linux). I have exposed a BC4J component (Application Module) as a WebService.
    Please let me know of any resolution.
    With regards,
    Kishan

  • Calling External WebService to send data from SharePoint O365 Aspx page

    Hi ,
    There is a Public Website on O365 environment. which has  Apply Now Page on this User enters Name, email and Message and click Submit button., we want to pass these  All three fields data value  to External WebService , Which is
    developed in Asp.Net,
    Please suggest Best approach which will work in SharePoint O365 , to call Webservice and  pass the User entered data.
    Also Share reference code and Links.
    With Regards

    Hi Genius,
    Thanks for posting your query, Kindly browse the below mentioned URLs to get the code for posting data on extranal web Service
    http://blogs.msdn.com/b/sharepointdev/archive/2011/05/12/connecting-to-sharepoint-online-web-services.aspx
    http://blogs.msdn.com/b/cjohnson/archive/2011/05/14/part-2-headless-authentication-with-sharepoint-online-and-the-client-side-object-model.aspx
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • External Webservice Respose Error.

    Hi
    While connecting to external system from my BPEL(JDeveloper 11.1.1.5) Process, I am getting the following error in response.Earlier I could able to get response properly from the same deployment,but not sure what went wrong.
    any help ??
    Response from External System
    ===================
    <faultType>0</faultType>
    <remoteFault>
    <part name="summary">
    <summary>Server was unable to process request. ---> Object reference not set to an instance of an object.</summary>
    </part>
    <part name="detail">
    <detail>javax.xml.ws.soap.SOAPFaultException: Server was unable to process request. ---> Object reference not set to an instance of an object.</detail>
    </part>
    <part name="code">
    <code>soap:Receiver</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    Thanks
    SK

    Are you able to invoke the external service successfully from a stand alone web service test client like soapUI? If yes, try capturing the final soap request sent out of the BPEL process and compare with the soapUI request and find the differences.
    If nothing has changed on your side, I think this is an issue with the external webservice.
    Thanks,
    Patrick

  • SchedulerTask and external webservice problems

    Hi,
    I need to build an application that fetches some report from an external webservice (Axis) on the net and stores some data in a portal database.
    However, I picked the KM-residing SchedulerTask to solve this issue because you can run it just like cron-jobs and the like.
    In my SchedulerTasks code - it has been tested standalone and does a great job fetching data from webservice - the calls fails due to a "connection refused", see stacktrace way below.
    My portal is a development machine and is therefore talking to and with everyone, fully open, un-proxied and should not hinder me from accessing such a webservice, I think.
    I checked the webservice URL (wsdl-ended) is accessible from within my SchedulerTask by opening a simple java.net.URL on it which worked really nice.
    My questions are:
    - Did someone experience a similar behaviour and if so how did you solve this?
    - Is there any additional configuration needed to make portal/KM speak with external webservices?
    - Any other thoughts?
    Thanks for your help!
    regards,
    Christian
    The essential lines from the stacktrace:
    {0}#1#AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.ConnectException: Connection refused
    faultActor:
    faultNode:
    faultDetail:
            {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
            at java.net.Socket.connect(Socket.java:461)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    For iSight help, consider http://support.apple.com/kb/HT2090
    In addition to testing with iMovie, you can also test video recording with QuickTime Pro if you have it.
    Because you have similar problems with Photo Booth when using another camera, you may be rushing Photo Booth. Consider the suggestions offered here:
      http://discussions.apple.com/thread.jspa?messageID=7018319&#7018319
    If apps other than Photo Booth record properly but you do not want to use one of those that work properly, it is possible that a corrupted Photo Booth Preferences file is causing your problem. Quit Photo Booth (and all other applications) and throw away the Photo Booth Preferences file (com.apple.photobooth.plist) from your Home / Library / Preferences folder. A new preferences folder will be generated when you restart Photo Booth to test whether it works now.
    If resetting preferences did not help but you still want to use Photo Booth, reinstalling the Photo Booth app might help.
    If no app works properly, see your Apple Authorized Service Provider for professional help.
    EZ Jim
    G5 DP 1.8GHz w/Mac OS X (10.5.7) PowerBook 1.67GHz (10.4.11)   iBookSE 366MHz (10.3.9)  External iSight

  • Error at creating Client Proxy of external webservice (WSDL)

    Hi Experts,
    I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
    [http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
    I try to create it with this URL and then I get the error message
    Not implemented
    Exception of class CX_SIDL_INTERNAL_ERROR
    I found two other threads with a similar problem:
    cunsuming external webservice in ABAP
    Problem while consuming external webservice
    But there is no solution that worked for me. In the first thread it is mentioned, that the code between
    <wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
    and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
    report  z_currency_converter.
    data: convert type ref to zzzco_currency_convertor_soap.
    try.
        create object convert
      exporting
        logical_port_name  = 'Z_LP'
      catch cx_ai_system_fault .
    endtry.
       data: output type zzzconversion_rate_soap_out  .
       data: input type zzzconversion_rate_soap_in .
       input-from_currency = 'EUR'.
       input-to_currency = 'USD'.
    try.
    call method convert->conversion_rate
      exporting
        input  = input
      importing
        output = output
    catch cx_ai_system_fault .
    catch cx_ai_application_fault .
    endtry.
    write output-conversion_rate_result.
    The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
    SAP says the following:
    The problem is that this WSDL uses two bindings different from SOAP
    binding which is not in conformance with Basic Profile 1.1 -
    http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
    I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
    I hope you have an idea.
    Thanks a lot in advance!
    Best Regards,
    Ingmar

    I think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
    Regards
    Snehasish

  • Error while using External Webservice in CAF

    Hi All,
    I am trying to use an external webservice in my CAF project. The webservice is working fine when tested using WebService Navigator but when I m testing in CAF Administrator UI it is giving the following error.
    ERROR. Problem in server response: Bad Request.:
    Please provide the appropriate solution it’s very urgent.

    Hi Vijay,
    Did you check if you are using full correct UURL. That happens with incorrect URL.
    Thanks,
    Ravi

  • How To : Call External Webservice from BPEL and pass SOAP Message to the WS

    Hello All-
    Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
    <strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
    <strong>2. Transform the message</strong>
    <strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
    I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
    If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
    Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
    I am new to Webservice integration using BPEL and would really appreciate your help.
    Thanks In Advance
    Regards,
    Dibya

    Hi Dharmendra,
    I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
    I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
    I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
    This is what I see in the TCP monitor, please note the double SOAP env:Body:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <env:Header>
    <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
    <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
    <wsa:Metadata>
    <device xmlns:hl7="urn:hl7-org:v3">
    </device>
    </wsa:Metadata>
    </env:Header>
    <env:Body>
    <RCMR_IN000002NR01>
    </RCMR_IN000002NR01>
    </env:Body>
    </RCMR_IN000002NR01>
    </env:Body>
    </env:Envelope>
    Any help is appreciated.
    Regards,
    Aagaard
    Edited by: Aagaard on Oct 30, 2008 8:59 PM
    Should have mentioned. I am using BPEL 10.1.3.4
    Edited by: Aagaard on Oct 31, 2008 8:43 AM
    I have opened a new thread for this question so as to not confuse the issue more than necessary.
    How many SOAP envelopes do you really need?

  • Error after import external webservice(RFC) wsdl url to Process Composer

    Hi all,
    I try to use RFC webservice in my BPM as below:
    1. Expose RFC as webservice using CAF (import external service RFC and then create application service use this external service)
    2. Define Destination in NWA.
    3. Create a Process Composer project, and import the external webservice(RFC) wsdl file as service interface in the project.
    After importing, i get error : the port type specified for the ...binding is undefined. Check port type name and ensure it is defined.
    If i import another external service, not RFC (such as business object), there is no error.
    My system is NWCE 7.11
    Thanks in advance,
    Sinh.
    Edited by: Sinh Nguyen Van on Jul 20, 2009 8:29 AM

    Hi Bharath,
    Below is content of wsdl url and error message, thanks
    Error message:
    The 'zfm_rfc_caf_as' port type specified for the 'zfm_rfc_caf_asBinding' binding is undefined. Check the 'zfm_rfc_caf_as' port type name and ensure it is defined.
    wsdl url :
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as" xmlns:b0="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as">
      <import namespace="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as" location="http://sinhnv-lap:50000/zfm_rfc_caf_as/zfm_rfc_caf_asBeanImpl?wsdl=binding&mode=ws_policy" />
    - <service name="zfm_rfc_caf_as">
    - <port name="zfm_rfc_caf_asBindingPort" binding="b0:zfm_rfc_caf_asBinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://sinhnv-lap:50000/zfm_rfc_caf_as/zfm_rfc_caf_asBeanImpl" />
      </port>
      </service>
      </definitions>
    Edited by: Sinh Nguyen Van on Jul 22, 2009 4:18 AM

  • Adding authentication in header while consuming external webservice

    Hi,
    I am using oracle soa suite 11g, while consuming an external webservice i have to add authentication in header before sending request.
    I want my header in request to look like this:
    <soapenv:Header>
    <urn:Authentication>
    <urn:username>user1</urn:username>
    <urn:password>pass1</urn:password>
    </urn:Authentication>
    </soapenv:Header>
    if anyone has any idea then please share.
    Regards

    please look at this and see whether that helps you..
    Re: Creating a partnerlink  from a secure webservice

  • Consuming external webservice in SAP

    Hi All,
    Wjile Consuming external webservice that is .NET webservice in SAP I am getting the error "Proxy generation terminated: WSDL
    (<extension> not supported)". Please can anyoone tell me what would be the issue and how should I resolve it.
    Thanks in Advance,
    Meenu.

    The SAP version that we are using is ECC 5.0. And the URL that they have given me to consume has some .svc extension.
    http://ctnhgesappdev.corp.timken.com/GES_EDISService/EDISService.svc?wsdl
    So when I am trying to consume this in SAP I am getting the error "Proxy generation Terminated : WSDL error : (<extension> not supported)".

  • Problem in assiging header to invoke an  external  webservice.

    HI,
    I want to assign some additional elements to the header when invoking an external webservice.
    I am creating a variable named customHeader and it contains an element of anytype.
    later in the assign activity i am assigning the following
    <copy>
    <from expression="ora:parseEscapedXML('&lt;payload>&lt;payloadManifest xmlns=&quot;http://www.starstandards.or/webservices/2003/12/transport&quot;>&lt;manifest xmlns=&quot;&quot; id=&quot;Content0&quot; namespaceURI=&quot;http://www.starstandards.org/STAR&quot; element=&quot;ProcessSalesLead&quot;/>&lt;/payloadManifest>&lt;/payload>')"/>
    <to variable="customHeader"
    query="/client:CustomHeader"/>
    </copy>
    so in the soapmessage the header is added as below:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:x
    sd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchem
    a-instance"><env:Header><CustomHeader xmlns="http://xmlns.oracle.com/BODMessageS
    ender"><payload xmlns=""><payloadManifest xmlns="http://www.starstandards.or/web
    services/2003/12/transport"><manifest id="Content0" namespaceURI="http://www.sta
    rstandards.org/STAR" element="ProcessSalesLead" xmlns=""/></payloadManifest>
    but I donot need that customHeader part to be added.My header should be like this:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
    <payloadManifest xmlns="http://www.starstandards.org/webservices/2003/12/transport">
    <manifest id="Content0" namespaceURI="http://www.starstandards.org/STAR"
    element="ProcessPartsOrder" />
    </payloadManifest>
    </soap:Header>
    <soap:Body>
    <ProcessMessage xmlns="http://www.starstandards.org/webservices/2003/12/transport">
    <payload>
    <content id="Content0">
    <ProcessSalesLead>
    </ProcessSalesLead>
    </content>
    </payload>
    </ProcessMessage>
    </soap:Body>
    </soap:Envelope>
    can anyone Please help me on this.This is very urgent.
    Thanks in advance
    deepthi.

    anybody has idea about this .Please let me know.

Maybe you are looking for

  • Passing parameter of object type between Oracle & VB

    Hello, I want to pass parameters of ref cursor type variable between oracle 8i routines and Vb routines. It will be very helpfull for me if you can help in telling me about how to do it. Regards Rakesh Banerjee

  • Knowledge on Transaction log ?

    Hi All, I have couple of questions? Question-1: I need to know will running import/export wizard increase the T-log growth? OR will running simple select statement increase the T-log. To my little knowledge data modification (insert, update, or delet

  • Urgent HELP - How to reduce the number of entries in table MESYBODY?

    Does anyone know how to reduce the number of records in synchronization table MESYBODY and MESYHEAD?  The reason I wanted to reduce these tables is because I believe they have so many duplicated entries that causes extremely slow performance everytim

  • Width of web page!

    Is there a way to make the web page expand horizontally to fit the width of the window of your browser?

  • Spamtrainer and opendirectory

    I have set up a mail server with mac os x 10.4 server (server2). The mailboxes are created on another mac os 10.4 server (server1) in an opendirectory enviroment. I have setup the junkmail and notjunkmail mailboxes on the opendirectory server. When I