Error in Accessing Web service...

Hi,
This is regarding ESB.
I am using a file adapter to send a .xml file.Then using a soap service in which i gave wsdl location of a web service and response from the web service is sent to a outbound file adapter(write.ext).
In response file(write.txt)i am getting only the fields but not the data as mentioned below.
<?xml version="1.0" ?><imp1:invokeScenarioResponse xmlns:imp1="xmlns.oracle.com/odi/OdiInvoke/">
<Ok/>
<SessionNumber/>
<ErrorMessage/>
</imp1:invokeScenarioResponse>
i am using the same xsd for both inbound and outbound file adapter.
please help me out.
Regards

Hi,
This is the input xml message.
<odi:invokeScenarioRequest xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="xmlns.oracle.com/odi/OdiInvoke/
C:\DOCUME~1\mohamedjaved_hussain\Desktop\DecompWebService(BT)\OdiInvoke[1].xsd">
          <RepositoryConnection>
               <JdbcDriver>oracle.jdbc.driver.OracleDriver</JdbcDriver>
               <JdbcUrl>jdbc:oracle:thin:@localhost:1521:ORCLSOA</JdbcUrl>
               <JdbcUser>soa_admin</JdbcUser>
               <JdbcPassword>admin123</JdbcPassword>
               <OdiUser>SUPERVISOR</OdiUser>
               <OdiPassword>SUNOPSIS</OdiPassword>
               <WorkRepository>SWAP</WorkRepository>
          </RepositoryConnection>
          <Command>
               <ScenName>TEST_INSERT</ScenName>
               <ScenVersion>002</ScenVersion>
               <Context>global</Context>
               <SyncMode>1</SyncMode>
          </Command>
          <Agent>
               <Host>172.24.158.75</Host>
               <Port>20910</Port>
          </Agent>
</odi:invokeScenarioRequest>

Similar Messages

  • Error while accessing web service

    I have a web service (EJB).
    After generating clients from wsdl file, while i am trying to access the corresponding function from the client, i am getting the following error.
    javax.xml.ws.soap.SOAPFaultException: Endpoint {http://data.module.bill.company.net/}DataService does not contain operation meta data for: {http://www.w3.org/2001/04/xmlenc#}EncryptedData
    I dont know why it happens.
    Can anyone please help me.
    Thanks in Advance...

    Hi Aseem,
    how are you doing ?
    Authorizations in portal are user specific.
    The current problem is due to the user not having sufficient permissions on the back end to execute the call.
    for this check :-
    1> the current user in portal
    2> mapping to user in the back end
    3> back end user permissions for the RFC / BAPI & it's dependant objects
    with respect,
    amit

  • Error while accessing Web services

    Hi,
    I have installed & configured Siebel 8.2 on windows 2008 R2 with IIS as Web server.
    When i try to connect through IE using URL "http://localhost/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute" I get an error such as - Server Error in Application "DEFAULT WEB SITE/EAI_ENU".
    Can you please help me understand this problem?
    Below if additional information from IE error page.
    Detailed Error Information -
    Module - IsapiModule
    Notification - ExecuteRequestHandler
    Handler - AboMapperCustom-25584
    Error Code - 0x800700c1
    Requested URL - http://localhost:80/eai_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute
    Physical Path - c:\siebel\8.2.2.0.0\sweapp\public\enu\start.swe
    Logon Method - Anonymous
    Logon User - Anonymous
    Failed Request Tracing Log Directory - C:\inetpub\logs\FailedReqLogFiles
    Over here I could find that physical path " c:\siebel\8.2.2.0.0\sweapp\public\enu\start.swe" doesn't really have any file named start.swe.
    I have applied SWSE logical profile on webserver.
    Thanks,
    Harshal

    Hi,
    this url is used to external system access Siebel Web Services. If you can generate a WSDL, you need access Siebel applications using url, http://localhost/callcenter_enu/start.swe for example, navigate to Application - Web Services, in Inbound Web Services, selected the WSDL and generate a WSDL file.
    If you can import a external WSDL, you need get a WSDL file from third system and import to Siebel using Siebel Tools.
    Regard.

  • (401) unauthorized error when accessing web service....

    Hello people! Can someone could possibly help me out. I'm try to consume a web service in .net technology. This was supposedly working already but lately I'm already given a (401) unauthorized error when consuming the web services. Here the code that was working couple of days ago....
    package samples;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    import javax.xml.namespace.QName;
    public class LogIn
         private String url = "http://www-cebu/apps/webservices/fscservice.asmx?wsdl";
         private String action="FSC Services/LogIn";
         private String result="";
         private String username="";
         private String password="";
         private String domain="";
         public LogIn(String username, String password,String domain)
              this.username = username;
              this.password = password;
              this.domain = domain;
              try
                   Service service = new Service();
                   Call call = (Call)service.createCall();
                   call.setTargetEndpointAddress(new java.net.URL(url));
                   call.setOperationName(new QName("FSC Services/LogIn","LogIn"));
                   call.addParameter("username",org.apache.axis.encoding.XMLType.XSD_STRING,javax.xml.rpc.ParameterMode.IN);
                   call.addParameter("password",org.apache.axis.encoding.XMLType.XSD_STRING,javax.xml.rpc.ParameterMode.IN);
                   call.addParameter("domain",org.apache.axis.encoding.XMLType.XSD_STRING,javax.xml.rpc.ParameterMode.IN);
                   call.setReturnType(org.apache.axis.encoding.XMLType.XSD_STRING);
                   call.setUseSOAPAction(true);
                   call.setSOAPActionURI(action);
                   result = (String)call.invoke(new Object[] {username,password,domain});
              catch (Exception e)
                   System.err.println(e.toString());
         public String getResult()
              return result;     
         public static void main(String [] args)
                   LogIn test = new LogIn("username","password","domain");     
                   System.out.println(test.getResult());
    }

    1. Use iFrame to show you report from Resporting Services in your Web App.
    Or :
    2. Use Report Viewer in your Web App if you use .NET, and use this code to pass your parameters :
    ReportViewer1.ServerReport.Credential = new System.Network.NetworkCredential(“your name”, “your password”, “your domain”);

  • Security Error in accessing Web service from Flex.Where to put crossdomain.xml in axis container?

    Hi guys.
    Typically webservices are invoked across domains. Flash has defined certain policies which prevent crossdomain access. The only way to bypass this security feature is to put a crossdomain.xml file within the server root of the webservice provider i.e. in our case at http://abc.com. A sample example of crossdomain.xml is as below:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
         <site-control permitted-cross-domain-policies="all" />
         <allow-access-from domain="*" secure="false"/>
         <allow-http-request-headers-from domain="*" headers="*" secure="false" />
    </cross-domain-policy>
    If the crossdomain.xml is not added the developer will get “Security Error accessing URL” type of messages.
    The above mentioned information should be enough for you to get your flex based WebService client up and running.
    We are using axis2 to build webservices. We deployed the webservices under axis2 container under repository/srvices folder . But in Flex when we try to call the webservices we were getting the exception saying security error in accessing url. The solution is we need to put the crossdomain.xml o that it is loaded at runtime and allow us to access. In tomcat if we put the file under ROOT directory we could accss the file and we were able to access the webservices deployed under Tomcat. But I googled for Axis2 container and couldnt find any solution.
    Please post the reply if anyone knows the solution to it.
    Thanks
    Raja

    Hi. So, I did take a quick look at the Axis2 standalone server and didn't see any way to server up a file such as crossdomain.xml. It seems like it might be a useful enhancement to have the ability to serve up files even if this functionality was very simple/limited and nothing like a full blown http server.
    I'd log an enhancement request against axis2 if this is something you'd like to have.
    http://issues.apache.org/jira/browse/AXIS2
    -Alex

  • Error at run time When Access Web Service in web dynpro java

    Hi
    I am used web service created on other machine.I am used wsdl file created in web service.
    is there any setting on J2EE Engine server for accessing web service? after run web dynpro application it gives following error.
    The initial exception that caused the request to fail, was:
       java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out:could be due to invalid address.
        at com.tssap.dtr.client.lib.protocol.Connection.openSocket(Connection.java:2117)
        at com.tssap.dtr.client.lib.protocol.Connection.open(Connection.java:1380)
        at com.tssap.dtr.client.lib.protocol.Connection.sendInternal(Connection.java:1534)
        at com.tssap.dtr.client.lib.protocol.Connection.send(Connection.java:1427)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        ... 50 more
    please help me.
    thank in advance

    Hi,
    java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out: could be due to invalid address. first check it are you able to connect the WSNavigator. I think you are not able to connect the WSNavigator and are you able to see the WebService in WSNavigator?
    Procedure
    To import a Web service model, proceed as follows:
           1.      Choose the context menu entry -
    Create Model on the -
    Models node of the relevant component.
           2.      In the model wizard, choose Import Web Service Model followed by Next.
           3.      In the second wizard window, enter a model name and specify the package and source code directory. The name of the proxy package is created automatically when you specify the model package.
           4.      Select whether your Web service source is from a local server, is addressed using a URL, or whether it is a UDDI service.
           5.      If you select Local File System or URL, choosing Next will take you to the following window in which you enter a local WSDL URL or select one by choosing Browse.
           6.      If you selected the option UDDI or URL, choosing Next will take you to the following wizard window in which you either enter a WSDL URL of a UDDI service directly or select one by choosing UDDIu2026
    Enter the WSDL description of the Web service in the Wsdl field u2013 for example, http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService for an e-mail service.
    You do not need to make any entries in the next step, Proxy Definition / URI Package Mappings. Choose Finish to close the window.
           7.      Switch to the Package Explorer view, select the file lport1.lp in the directory \src\packages\<myPackage>\, and check the port entries.
    Hope this helps!!
    Regards
    Vijay

  • How to check error type in accessing web service?

    Dear all,
    I have created a form using WSDL connection to access web service in SOAP protocol.
    But I have difficulties in error handling when acccessing web service.
    I try to put a try catch block for the following statement :
    ie. xfa.connectionSet.WebServiceDC.execute(false);
    in case for any error, I can only catch message saying GeneralFault only.
    Is there any extra object in the script that I can catch to handle for different error type?
    e.g checking SOAP.? and where should I put the codes in?
    Actualy I want to detect if network connection is not ok or if it fails to find ecert which is required under https connection
    Rgds.

    Have you tried the try catch block ?
    See the error codes it responds with.
    Then look through the properties of the Exception
    try
        doInit();
    } catch(err)
        var vDebug = "";
        for (var prop in err)
           vDebug += "property: "+ prop+ " value: ["+ err[prop]+ "]\n";
        vDebug += "toString(): " + " value: [" + err.toString() + "]";
        status.rawValue = vDebug;
    function doInit()
        doWebServiceCallThatFails();
    Have fun with these articles
    http://blogs.adobe.com/formfeed/2009/06/collected_form_development_and.html
    http://blogs.adobe.com/formfeed/2009/03/handling_javascript_exceptions.html

  • ERROR DEPLOYING A WEB SERVICE (SOA Order Booking application)

    Hi everyone...
    I got some problem here, I hope somebody help me...
    So...
    I've quite laboriously managed to get SOA Suite installed and I'm half way through the deployment of the order
    booking demo, and encountered an error that I can't find a reference to in
    online searches. I'm up to the step "4. Deploy the Credit Service application"
    and get the following error:
    Operation failed with error:
    Error compiling :/home/oracle/product/10.1.3.1/OracleAS_6/j2ee/home/applications/SOADEMO-CREDITS
    ERVICE-CreditService-WS/WebServices: Error instantiating compiler: Web service
    artifact generation failed:oracle.classloader.util.AnnotatedClassFormatError:
    Bad version number in .class file
    Invalid class: org.soademo.creditservice.types.com.globalcompany.ns.credit.CreditCard
    Loader: SOADEMO-CREDITSERVICE-CreditService-WS.web.WebServices:0.0.0
    Code-Source:
    /home/oracle/product/10.1.3.1/OracleAS_6/j2ee/home/applications/SOADEMO-CREDITSE
    RVICE-CreditService-WS/WebServices/WEB-INF/classes/
    Configuration: WEB-INF/classes/ in
    /home/oracle/product/10.1.3.1/OracleAS_6/j2ee/home/applications/SOADEMO-CREDITSE
    RVICE-CreditService-WS/WebServices/WEB-INF/classes
    Dependent class: oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer
    Loader: oracle.ws.client:10.1.3
    Code-Source: /home/oracle/product/10.1.3.1/OracleAS_6/webservices/lib/wsclient.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml
    in /home/oracle/product/10.1.3.1/OracleAS_6/j2ee/home/oc4j.jar
    Deployment failed
    Elapsed time for deployment: 53 seconds
    #### Deployment incomplete. #### 20/06/2007 11:00:22
    So, does anyone can tell me what am I have to do?!
    Regards...

    I am currently having the same problem with the SOA Order booking demo application. All of the installation went fine until I tried to run the web client. Whenever I try to access http://localhost:8888/soademo, I get a 500 internal server error.
    Did you ever find a solution for this problem?
    Thanks in advance!
    Marita

  • Not able to access web service with axis and tomcat

    Dear all
    i am trying to access web service using axis in tomcat.
    i downloaded axis-bin-1_4.zip, unzipped it and installed it properly in tomcat.
    i had tested axis, its working fine.
    i had created a simple java class(a sample class from book) and deployed it in axis. i also created a client(a java consol class) for accessing that web service. but its giving error. i have no idea why this is comming.
    plz point me in right direction.
    thanks in advance
    The error is:
    Exception in thread "main" AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (404)/axis/ArithmeticProcessor.jws
    faultActor:
    faultNode:
    faultDetail:
            {}:return code:  404
    <html><head><title>Apache Tomcat/6.0.14 - Error report</tit
    le><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;ba
    ckground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;
    color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Ari
    al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-f
    amily:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-famil
    y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:
    Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
    black;}A.name {color : black;}HR {color : #525D76;}--></style> </hea
    d><body><h1>HTTP Status 404 - /axis/ArithmeticProcessor.jws</h
    1><HR size="1" noshade="noshade"><p><b>
    type</b> Status report</p><p><b>message</b> <u&
    gt;/axis/ArithmeticProcessor.jws</u></p><p><b>descriptio
    n</b> <u>The requested resource (/axis/ArithmeticProcessor.jws) is n
    ot available.</u></p><HR size="1" noshade="noshade
    "><h3>Apache Tomcat/6.0.14</h3></body></html>
            {http://xml.apache.org/axis/}HttpErrorCode:404
    (404)/axis/ArithmeticProcessor.jws
            at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
    ava:744)
            at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
            at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
    y.java:32)
            at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
            at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
            at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
            at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
            at org.apache.axis.client.Call.invoke(Call.java:2767)
            at org.apache.axis.client.Call.invoke(Call.java:2443)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at ArithmeticClient.main(ArithmeticClient.java:50)

    Hi ,
    Please go through this link and check in this way only you created the webservice correctly or not. If not follow and do it definitely will get you the webservice access by iphone or any application.
    www.scribd.com/doc/19255987/Web-Services-in-Abap

  • Not able to access Web services

    Hi all,
    I am trying to access web services using the transaction WSADMIN.
    But when i give the authorization while generating the WSDL, the following error pops up:
    <b>Technical Details of Soap Core Exception
    Message Text: SRT: ASSERT failed: object reference not bound
    Class: CL_SOAP_REGISTRY
    Method: generate_wsdl
    LocationID: 6
    Program: CL_SOAP_REGISTRY==============CP
    Include: CL_SOAP_REGISTRY==============CM00J
    Line: 59</b>
    Can anyboby share his/her insights in this regard?
    Thanks,
    Ankit

    Hi Fernando,
    Thanks for this.
    I was able to activate and deactivate the services. But i was not able to test these services (HTTP 500 Internal server error).
    Also the services which are listed in the trnx SICF are not present in the trnx WSADMIN (I am using trnx WSADMIN to go to the home page of the web service and download the WSDL file of the service). What may be the reason?
    Is there some configuration setting which I am missing or is it some other problem?
    Regards,
    Ankit

  • XML Parser Error while creating Web service Client using JAX RPC

    hello evryone,
    Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
    wscompile -gen:client -d build -classpath build config-wsdl.xml
    here im getting Error:
    error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
    Please help me out.
    Many thanks in advance,
    Kacee

    Can i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.

  • ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http

    I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
    when browsed through some of the messages they point to setting Oracle Wallet Manager.
    I am trying to connect
    Any idea on how to resolve this issue ?
    your input is appreciated.
    Thanks
    Ravi

    Duplicate post ... please ignore.

  • Error activating a web service based datasource ( BI 7.3)

    Hi,
    While activating a datasource based on web services i get the below error:
          "Internal error while deleting web service"
           "Error when activating datasource"
    As per one of the posts, we need to activate the services listed under "bc" ( path : virtualhost->sap->bc ) in tcode: SCIF.
    There are many services listed under the "bc" node that are inactive. Please let me know which are the services that needs to be activated under this node.
    Alternatively pls also suggest if there is any other way to solve this issue.
    Thanks.

    Hi Jayanthi,
    Please get help from Basis Team.
    Regards,
    Kuldeep Jain

  • FIM MA Export errors. There is an error executing a web service object creation.

    While checking for the permission, we have figured that the Built-In Synchronization account is being deleted by an Expiration Workflow.
    FIM MA Export errors. There is an error executing a web service object creation.
    While checking for the permission, we have figured that the Built-in Synchronization account was deleted by an Expiration Workflow
    Is there a way to restore. Thanks.

    I would re-run FIM setup - I think it can re-create this account
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • Error when creating web service client in netbeans

    i tried to create a web service client from a wsdl and an error pops up:
    web service client can not be created by jaxws:wsimport utility.
    reason: com.sun.tools.xjc.api.schemacompiler.resetschema()v
    There might be a problem during java artifacts creation: for example a name conflict in generated classes.
    To detect the problem see also the error messages in output window.
    You may be able to fix the problem in WSDL Customization dialog
    (Edit Web Service Attributes action)
    or by manual editing of the local wsdl or schema files, using the JAXB customization
    (local wsdl and schema files are located in xml-resources directory).
    end of error message
    I am using netbeans 6.0 RC 2 and the bundled tomcat 6.0.13. Please help me.

    Hi Yatan
    The error is mostly there may be some Duplicate variable/schema element decalared in the wsdl or the xsd referred in the wsdl. Like in WSDL for any Operations, most of the times, we use input and outputs as complex xsd element. We declare these xsd in the same file or in another file and import that in the .wsdl file. So check or validate your XSD file for any Duplicates.
    In JDeveloper itself, I think, you can open XSD or WSDL and validate it from right click menu options like that.
    Thanks
    Ravi Jegga

Maybe you are looking for

  • Weblogic.application.ModuleException

    Hi, I am trying to deploy an Web application with EJB's. But it is giving me the below error. Please if anyone can help me out. Message: weblogic.application.ModuleException: Context path '/HelloWorldWeb' is already in use by the module: HelloWorldWe

  • Java error when creating Auto Reply in iMS52&iDS51

    Hi, I have installed iDS51, patch with ims_dssetup.pl, installed iMS52. When creating user with a mail account and clicking on the Auto Reply tab, encounter java error: PageUI exception: java.lang.NullPointerException PageUI exception: java.lang.Null

  • FaceTime issue .. Someone Help !

    My facetime has suddenly creating a problem by not getting connected to any apple device .. i tried calling my iphone 5 with my mac ,, it gives the ringing tone in my iphone but does not get connected to mac when i recieve the facetime call .. Appare

  • PSE 11 Rollback and failed install

    I have read everything on this... no one seems to have a solution other than re-installing the OS... Trying to install PSE 11 on Windows 7 64 bit... Nears end and then rolls back leaving me with nothing. Wasted about 10 hours so far.... Bob

  • Matrix Footer

    Hi to All, I had created a  user screen with matrix..The matrix contains the calculation part..All the values of the particular column should be added and it should be displayed in the footer area of the matrix..(For Ex) MainMenu --> Reports --> Quer