Error calling a third party WSDL from BPEL

Hi,
I am trying to invoke a third party WSDL. This WSDL belongs to Oracle OPPM. When I call this wsdl from SOAPUI or even from the Enterprise Manger, it works fine.
However, when I call it from BPEL, it is giving me an error. Here is the request and error response:
Request
<messages>
<input>
<Login_Input>
<part name="sUser">
<sUser xsi:type="def:string">Username</sUser>
</part>
<part name="sPassword">
<sPassword xsi:type="def:string">Password</sPassword>
</part>
<part name="lTimeOut">
<lTimeOut xsi:type="def:int">10</lTimeOut>
</part>
</Login_Input>
</input>
Response
<fault>
<bpelFault>
<faultType>0</faultType>
<remoteFault>
<part name="summary">
<summary>Server was unable to read request. ---> There is an error in XML document (1, 2168). ---> <Login xmlns='http://tempuri.org/'> was not expected.</summary>
</part>
<part name="detail">
<detail>oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : Server was unable to read request. ---> There is an error in XML document (1, 2168). ---> <Login xmlns='http://tempuri.org/'> was not expected.</detail>
</part>
<part name="code">
<code>{http://schemas.xmlsoap.org/soap/envelope/}Client</code>
</part>
</remoteFault>
</bpelFault>
</fault>
<faultType>
<message>0</message>
</faultType>
</messages>
I checked the diagnostics logs and it is not giving me any further information.
I think the issue is with the WSDL file. I tried importing the WSDL locally too, but I cannot get rid of this error.
I also tried to import the namespace in the <WSDL:Types> area, but no luck.
WSDL
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
     targetNamespace="http://tempuri.org/"
     xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
     xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
     xmlns:s="http://www.w3.org/2001/XMLSchema"
     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
     xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
     xmlns:tns="http://tempuri.org/"
     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
     xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
     xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    </wsdl:types>
    <wsdl:message name="DebugSoapIn"/>
    <wsdl:message name="DebugSoapOut"/>
    <wsdl:message name="LoginSoapIn">
        <wsdl:part name="sUser" type="s:string"/>
        <wsdl:part name="sPassword" type="s:string"/>
        <wsdl:part name="lTimeOut" type="s:int"/>
    </wsdl:message>
    <wsdl:message name="LoginSoapOut">
        <wsdl:part name="Result" type="s:string"/>
    </wsdl:message>
    <wsdl:message name="ReleaseSecurityTokenSoapIn">
        <wsdl:part name="sSecurityToken" type="s:string"/>
    </wsdl:message>
    <wsdl:message name="ReleaseSecurityTokenSoapOut"/>
    <wsdl:message name="GetCurrentUserIDSoapIn">
        <wsdl:part name="sSecurityToken" type="s:string"/>
    </wsdl:message>
    <wsdl:message name="GetCurrentUserIDSoapOut">
        <wsdl:part name="Result" type="s:int"/>
    </wsdl:message>
    <wsdl:portType name="psPortfoliosSecurityRpcSoap">
        <wsdl:operation name="Debug">
            <wsdl:input message="tns:DebugSoapIn"/>
            <wsdl:output message="tns:DebugSoapOut"/>
        </wsdl:operation>
        <wsdl:operation name="Login">
            <wsdl:input message="tns:LoginSoapIn"/>
            <wsdl:output message="tns:LoginSoapOut"/>
        </wsdl:operation>
        <wsdl:operation name="ReleaseSecurityToken">
            <wsdl:input message="tns:ReleaseSecurityTokenSoapIn"/>
            <wsdl:output message="tns:ReleaseSecurityTokenSoapOut"/>
        </wsdl:operation>
        <wsdl:operation name="GetCurrentUserID">
            <wsdl:input message="tns:GetCurrentUserIDSoapIn"/>
            <wsdl:output message="tns:GetCurrentUserIDSoapOut"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="psPortfoliosSecurityRpcSoap" type="tns:psPortfoliosSecurityRpcSoap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="Debug">
            <soap:operation style="rpc" soapAction="http://tempuri.org/action/psPortfoliosSecurity.Debug"/>
            <wsdl:input>
                <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="Login">
            <soap:operation style="rpc" soapAction="http://tempuri.org/action/psPortfoliosSecurity.Login"/>
            <wsdl:input>
                <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="ReleaseSecurityToken">
            <soap:operation style="rpc" soapAction="http://tempuri.org/action/psPortfoliosSecurity.ReleaseSecurityToken"/>
            <wsdl:input>
                <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="GetCurrentUserID">
            <soap:operation style="rpc" soapAction="http://tempuri.org/action/psPortfoliosSecurity.GetCurrentUserID"/>
            <wsdl:input>
                <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="psPortfoliosSecurityRpc">
        <wsdl:port name="psPortfoliosSecurityRpcSoap" binding="tns:psPortfoliosSecurityRpcSoap">
            <soap:address location="http://dc01oppmsv01.molina.mhc/ProSightSOAP/psPortfoliosSecurityRpc.asmx"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>
Thanks
Asif Hussain

Thanks chrisswhite,
I should have mentioned that I tried this too and it didn't solve the problem. You're right though, I should be compiling with -fPIC anyway.
Jon

Similar Messages

  • Calling a third-party library from JNI-enabled C++ code

    Hi everyone,
    I have some existing C++ application code that extracts data from a file in a special format (HDF5). This code uses a static library (third party) to decode the file format. I would like to wrap this application code in a JNI wrapper so that I can call the code from Java. So I have a situation like this:
    Java front end -> application code (C++) -> static library (C++)
    I have compiled JNI headers and modified the application code accordingly. I created a shared library by bundling the application code together with the static library (using gcc 3.2.2 on Red Hat Linux 9):
    g++ -shared hdf5_jni.cc -o libhdf5_jni.so -I<include path> -L<static library path> -lhdf5
    (the <static library path> contains the static library libhdf5.a). This creates a shared library which contains the application code and the relevant bits of the static library.
    When I call the Java front end, the shared library (libhdf5_jni.so) is correctly found and accessed. However, I get an UnsatisfiedLinkError which I don't understand:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: <blah>/lib/libhdf5_jni.so: <blah>/lib/libhdf5_jni.so: undefined symbol: _Z4formPKcz
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
    ... etc
    I have no idea what the undefined symbol "_Z4formPKcz" represents. It's not part of the application code or the static library.
    Here's some more info that might help diagnosis:
    1) The problem seems to be due to the approach of having a three-step process (Java code calling bespoke shared library which includes unmodified 3rd-party code). I get an identical error (including the mysterious "_Z4formPKcz" symbol) when trying to do something similar with a different 3rd-party static library.
    2) When I simply have Java code calling C++ code which I have written myself (no calls to static library methods), I have no problems, i.e. there doesn't seem to be a problem with the way I set up the JNI wrappers or the application code, or in the way I create the shared library.
    3) When I simply have C++ code calling the static libraries (i.e. no Java wrapper) I have no problems, i.e. there doesn't seem to be a problem with the application code or the static libraries.
    4) The static libraries were compiled from source using the same compiler that I used to compile the application code.
    5) I'm using J2SDK 1.4.2 on Red Hat Linux 9, although I've tried other versions of the SDK and had the same problem.
    I've done a lot of web searches on the "_Z4formPKcz" symbol and have turned up absolutely nothing (zero Google hits!).
    Any help would be very much appreciated.
    Thanks, Jon

    Thanks chrisswhite,
    I should have mentioned that I tried this too and it didn't solve the problem. You're right though, I should be compiling with -fPIC anyway.
    Jon

  • Calling a third Party dll from java using JNI

    Hi
    I want an immediate help from u all.
    I have athird party c dll with .h and .lib file
    I wont be able to cahnge any thing in those files.
    I want to call the functions of that from my Java code.
    Ist possible to call the dll without writing any c or c++ wrapper over it?if yes , how to do it?

    Hi,
    You may use a generic wrapper like JNative.
    Commercial wappers also exists.
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                               

  • Error while executing third party wsdl.

    Hi All,
    In our project, there is a need to execute the WSDL available in this url
      http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl
    While executing , its throwing an error message as shown below:
    Web service returned error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Server" Fault String: "javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: com.lexmark/home~mdm_vat_ear) Exception raised from invocation of public java.lang.String com.lexmark.VAT_Validate.VatNumberValidate(java.lang.String,java.lang.String) method on bean instance com.lexmark.VAT_Validate@19f70f97 for bean com.lexmark/home~mdm_vat_ear*annotation|com.lexmark~home~mdm_vat_ejb.jar*annotation|VAT_Validate in application com.lexmark/home~mdm_vat_ear.; nested exception is: javax.xml.ws.WebServiceException: Connection IO Exception. Check nested exception for details. (Unable to connect to ec.europa.eu:80 - Connection timed out: connect)."
    Note: After generating clients noticed that under the generated package( eu.europa.ec.taxud.vies.services.checkvat) the class (CheckVatPortType) is having  parameters different from that of WSDL. I don’t know whether this is the cause.
    Steps implemented:
    1.       Added the ec.europa.eu in the nwa--> soa --> soa middleware settings--> WS Navigator white list.
    2.       Created a ejb project and import wsdl.
    3.       Right click on the WSDL and choose options WSDLà Generate Client.
    4.       Java classes are generated.
    5.       Create a session bean and implement the code for executing the wsdl as follows:
    @WebServiceRef (name="checkVatPortType")
                     CheckVatService service;
    public String VatNumberValidate(String Country,String VATNumber)
    /**Till test 3 there is no issues.*/
                    String test="1";
                    CheckVatPortType portType=service.getPort(CheckVatPortType.class);
                    test="2";
                    Holder<String> address=new Holder<String>();
                    Holder<String> name=new Holder<String>();
                    Holder<XMLGregorianCalendar> requestDate=new Holder<XMLGregorianCalendar>();
                    Holder<Boolean> valid=new Holder<Boolean>();
                    Holder<String> country=new Holder<String>(Country);
                    Holder<String> VatNumber=new Holder<String>(VATNumber);
                    test ="3";
                    portType.checkVat( country, VatNumber, requestDate, valid, name, address);
                    test ="4";
                     return test;
    Awaiting replies.
    Best Wishes,
    Idhaya R

    I need help with a question, I'm building a Web Dynpro application, and created a model for connecting to WebService (http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl) in order to validate the Vat number of European countries.
    I'm not using EJB but creating a model "Adaptive Service Model"
    When instantiating the classes created served web: CheckVat.java, CheckVatResponse.java, etc.
    But when checking the created methods, I realized that was not created the method to send the VAT number and the country.
    The problem is that I have to pass two parameters to run the query: VAT number and parents right?
    In checkVat class, mapping the Web Dynpro not created the method with the name of CheckVat, I looked at all the ".java", the most that have are the "sets" and "stay."
    Has anyone used this WSDL, as it did to send the parameters?
    Many Thanks.

  • Issue in Invoking Enterprise WSDL from BPEL Process

    Hi,
    I am trying to an enterprise WSDL from BPEL. And its giving same error every time.
    "Unable to access the following endpoint(s): https://test.salesforce.com/services..........."
    While I am able to call the methods inside WSDL from soapUI. I know this is not the normal WSDL we use....this WSDL doesn't support get.
    Any help will be highly appreciated....
    Regards,
    En

    I have been able to get this working using 11.1.1.3. Basically you need to create a keystore using the keytool utility that comes with the JDK. You can get the x.509 certificate from https://login.salesforce.com via your browser. Just go the site and view the site certificate which with Firefox you do by double clicking the padlock in the lower right hand corner of the browser. Save the cert and create teh keystore like follows
    keytool -importcert -alias login.salesforce.com -file login.salesforce.com.pem -keystore mySSLidentities
    Once you have this done you set the -Djavax.net.ssl.trustStore=your_truststore_location in JAVA_OPTIONS within your setDomainEnv.sh or setDomainEnv.bat file. Once this is done you and restart the SOA server you should be ok.
    See section 6.2 in the Oracle® Fusion Middleware Administrator's Guide for Oracle SOA Suite and Oracle Business Process Management Suite
    11g Release 1 (11.1.1)
    Part Number E10226-04
    You will need to also add the certificate for the URL you get back via the sfdc login call. Use the same procedure as above. What I have to figure out now is how to set the endpoint dynamically for salesforce.com web service calls after the login call.

  • Sending query to third party portal from TREX Search Engine

    HI Experts,
    we need to implement normal search option in SAP portal.
    when we search any thing from portal ,
    It has to search in EP & KM and also it has to search
    windows sharepoint portal and bring the data back to SAP Portal.
    For this purpose one solution is
    1) implementing  enterpise search,
       but my client dont want to go for enterprise search(federated search).
    2) The other way
    Sending query to third party portal from TREX Search Engine
    In this way what i want is ,
    how TREX can send query to third party portal SEARCH ENGINE
    (in my case share point portal search ENGINE).
    There is no problem to search in EP & KM becuse it is default.
    To search in Micro soft Share point portal,
    TREX should pass the query to share point portal search ENGINE.
    Is there any API TO send a query to third party portal like sharepoint?
    I searched in SDN and Other sites also but i am not getting exactly what I require.
    If any one has ideas or implemented already please guide me.
    My client require searching option like this,
    we need to provide drop down box in SAP Portal with 3 options like
    1) search in Share point portal
    2) search in SAP EP & KM
    3) Search in both the portals
    please provide any code samples in case if you have.
    please help me , its urgent
    Thanks in advance.
    Regards
    Bala

    Hi Bala,
    please check the information on the KM IMS (Index Management Service) in KMC's developer guide. A connection to a 3rd party search is done from KM, then calling TREX and XY in parallel, not serially from TREX.
    Here's a paper describing this for an older KM release:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e514b57-0701-0010-3796-deb3636835fa
    Regards, Karsten

  • How to raise customer invoice in case of third party sale from PS

    Dear All,
               In case of third party sale from project systems module, PR is raised which is further converted to PO and once the material reaches at client place GRN is done.Based upon the GRN the actual cost is booked to the project.How should I raise the customer invoice against the materials received by the customer?
    I went through the Forum and based upon the threads there, I came to know that one option is to  create sales order for the same items and do order based billings.But for this I have to enter the same materials items again in the Sales order which is nothing but duplicacy of data.
    Is there any alternative to this? Or some other way by which the PO line items be copied to sales order so that I can save time while creating sales order.
    Regards,
    B P Singh

    Hi Virendra,
                       Business scenario is like this.
    I have created project and activities.Have assigned materials as 3rd party sale in NWA. I have released the project.PR are getting followed by PO.On doing the GR the actual costs are getting booked on NWA.
    My concern is how to bill the Items(the same material components) which are assigned to activity.
    As per your input I need to do Resource Related billing.Thanks for the input.It is no longer required to assign materials in DIP to Carry out RRB. 
    To carry out RRB do I need to create Sales Order first ? If  No then how to do RRB? If Yes  I need to create a Sales Order with all the material components which I have assigned at activity level. So I was looking for some alternative so that SO creation becomes less tedious.
    Regards,
    B P Singh

  • Third party returns from customer to vendor (Urgent)

    Hi,
    We have an urgent requirement regarding an issue with third party returns from customer.
    The scenario required is as follows :
    When the customer returns the goods in Third party proccess the goods should be directly returned to the vendor instead of receiving into our plant .
    How can we map this bussiness proccess?
    Currently the returns are handled as per the standard SAP proccess ie.,
    Customer returns the goods> Return order is created>Return delivery created (PGR)>Credit memo created.
    In this case we are receiving goods into our plant .

    Hi Shrikant
    1. If delivery of goods is the only issue then you can ask customer to make invoice with Invoice to your company address and Delivery address as the vendor address. Practically it is possible.
    2. Then you can make corresponding entries in SAP and regularise it.
    Thnx
    Nilesh

  • Warning, third party software from Lenogo

    Hi,
    I just wanted to warn others about purchasing third party software from "Lenogo" www.lenogo.com
    I saw this company mentioned here on the apple forum, and I then purchased the ipod to mac transfer software so I could transfer my music from my ipod (all paid for, no copyright issues here) back to my computer's itunes after an unsuccessful sync.
    The software wouldn't download or install and the company did not reply to any of my emails or support tickets, or provide telephone contact details.
    They did not provide support or a 30 day money back guarantee refund, as advertised.
    I've been ripped off, basically!
    Just wanted to let you guys know so it doesn't happen to you!
    Kate.

    Hello and Welcome to Apple Discussions. 
    Thanks for this and bump!
    cheers
    mrtotes

  • How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to identify whether the third party app has registered URL scheme or not. I also send a request mail to the third party app developers regarding URL scheme, but there is no reply from them.

  • How can i download third party Softwares from Support tab in Apple site?

    Hi,
    Previously i downloaded third party softwares for mac like Browsers, Anti- Virus softwares from Apple site but now i can download only Apple products (softwares) not third party softwares from download links so any one please let me know the status.
    Thanks in advance,
    Suresh Balakrishnan.

    Apple no longer hosts a website for 3rd party software.  Instead it runs the Mac App Store, which offers a good range of software.
    If you are very keen for the apps and other things that are not in the Mac App Store, a good app to download is "Bodega" - which provides another app store experience.
    Cheers,
    Rodney

  • How to transfer contents of third party apps from iPhone 4 to iphone  5?

    How to transfer contents of third party apps from old iPad to new iPad?

    Backup from old iPad, new iPad restore from that backup.

  • 401 Unauthorized:HTTP transport error while calling external WSDL from BPEL

    Hi,
    I have simple BPEL process whic calls siebel WSDL file through partner link.
    I have successfully compiled and deployed BPEL process, when i initiate the Process, instace got errored out at invoke activity.
    Error Goes like this
    "<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException:
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized</summary>
    </part></remoteFault>"
    Can anybody help on this issue, Could you please give me possible solution.
    Thank youl.

    we have not provided any authentication credentials to XMLSpy, we have just uploaded siebel WSDL file then sent the SOAP request with some customer Id then we have received proper response with all desired customer data.
    In the same way we tried to call same siebel WSDL file from BPEL process throgh partner link. errored instance has created with 401 unauthorised HTTP transport error..
    Do you think is this probem at siebel application side?
    We have deployed our BPEL process to SOA server which is having HTTP port 7777.
    as per my investigation,i found that we have to open port from siebel side (which WSDL file we are calling) which matches with above HTTP port number.
    Do you have any idea on this above clue? Please let us know more details on this.

  • How to call third party software from Ecc6 using ABAP

    Hi all,
    I need to execute a third party software using abap coding .
    The software converts doc to pdf, the input from ecc6 would be the file path.
    I need to do this using ABAP.
    thanks
    ziv.

    Hi Ziv
    You can use METHOD cl_gui_frontend_services=>execute
      EXPORTING
        application            = <<<.exe file>>>
        operation              = 'OPEN'
    to run .exe files
    Best Regards
    Yossi

  • How to consume a web service provided by third party system from SAP system

    Hi Friends,
    Could any of you provide me a clear picture on how to consume a web service from SAP system and is provided by a third party system?
    Do we get an URL to create a client proxy for consuming the web service?
    Thanx in advance,
    Ram

    Hi Ram,
    of course you cannot supply the WSDL URL. Inside the WSDL (just view it in your browser) you find (usually but not necessary) towards the end something like
    <soap:address location="http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php"/>
    which is the actual adress of the service.
    An example service can be found here:
    <a href="http://www.weather.gov/xml/">National Digital Forecast Database</a>
    containing the WSDL URL at
    <a href="http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl">this address</a>.
    You might also want to browse for the amazon webservices which allow you to embed queries against amazon into your application.
    have fun,
    anton

Maybe you are looking for