Problems accessing Web service from registry server

"Hi,
While trying to develop a dynamic webservice, I encounter some problems.
The details are as follows:
I develop a webservice with following interfaces and implementation
classes:
Interface : pricequote.IPriceQuote
Implementation : pricequote.PriceQuoteImpl
The service does get registered on the XINDICE registry server. ( I am
using JWSDP to develop the above), and also is deployed on the tomcat
server.
I have specified the following path for the service end point:
http://localhost:8080/PriceQuoteService/pricequote/IPriceQuote
But when I call the sayHello(String strName) method, I get the following
error:
[java] java.rmi.RemoteException: cannot connect to server: /PriceQuoteServi
ce/pricequote/IPriceQuote; nested exception is:
[java] cannot connect to server: /PriceQuoteService/pricequote/IPriceQu
ote
[java] at pricequote.IPriceQuote_Stub.sayHello(IPriceQuote_Stub.java:76
[java] at pricequote.PriceQuoteClient.getData(Unknown Source)
[java] at pricequote.PriceQuoteClient.main(Unknown Source)
[java] Caused by: cannot connect to server: /PriceQuoteService/pricequote/I
PriceQuote
[java] at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpCl
ientTransport.java:119)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
java:73)
[java] at pricequote.IPriceQuote_Stub.sayHello(IPriceQuote_Stub.java:59
[java] ... 2 more
BUILD SUCCESSFUL
Total time: 3 seconds

No..
Not able to to open the WSDL either..Getting HTTP status 404..
The location http://localhost:8080/PriceQuoteService does open, though it doesnt't have any web pages. The organization data is accessible from registry-server also.
---Original Message----
are you able to access this endpoint through a browser
what happens when you do
http://localhost:8080/PriceQuoteService/pricequote/IPri
eQuote?WSDL
using IE ? do you see the WSDL in your IE window ?
Do you see the port info getting populate under the
service section at the base of the WSDL ?

Similar Messages

  • Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

  • Problem in Web Service from Application Service

    Hi All,
    In Netweaver CE I have created a CAF project and within the project I have used one WebService as external service. Now to access the web service I have created an application over on the extrenal service( Just right clicking on webservice -> default mapping). Then the application service is exposed as web service. At that time I have also created Web Service Destination and mapped (External service mapping) the external service with that specific destination. Now my task is to test the web service from netweaver WebService Nevigator. At the testing phase I am providing one input value and executing the WS but it is not accepting any input value. I have also done the debugging in backend system but in backend the input value is acception as zero. That means the web service is not accepting anu input value.
    Did anybody face the same problem for NetWeaver CE or any sugestion?
    Thanks
    Chandan

    Hi Chandan,
    You need to create a custom wrapper operation in the application service where the operation by default mapping gets created. From this custom operation you need to call the operation created by the default mapping. In the web service you need to expose the custom operation only.
    Thanks,
    Dipankar

  • Move Web service from one server to another

    Hi
            i am calling a web service from R3 which i have moved from one server to another what i need to do in my web dynpro application as it will call the web service from new location?
    do i need to rebuild the whole application or need to change some settings here and there?
    NOTE: webservice and function module of the web service is not changed just moved from one server to another.
    THANKS
    Ninad

    Hi,
      Try with this code. Dynamically Server will get change.
    Create a HTTP Destination in visual administrator which stores the server name and port.
    String prefixURL = "http://";     
    // your Service Address...remove the first part from service url.
    String serviceURL = "/TestService/Config1?style=document";
    DestinationService dstService = (DestinationService) obj;          
    Destination destination = dstService.getDestination("HTTP","ApplicationServer");
    Properties destprop = destination.getDestinationProperties();
    HTTPDestination httpDestination = (HTTPDestination) destination;
    String serverName = httpDestination.getUrl();
    prefixURL = prefixURL + serverName;
    String testURL = prefixURL + serviceURL;
    Request<Obj> testReq = new Request<Obj>();
    testReq._setEndPoint(testURL);
    You need to import below files into your project.
    import com.sap.security.core.server.destinations.api.Destination;
    import com.sap.security.core.server.destinations.api.DestinationService;
    import com.sap.security.core.server.destinations.api.HTTPDestination;
    import java.net.HttpURLConnection;
    import java.util.Properties;

  • Problem in accessing Web Service from Excel

    Hi All,
    I have faced a new problem when calling WS from Excel.
    I have created a WS from CAF which has one method and the method takes a list (a table) of structure as an input and returns a string as output. The structure contains three fields
    such as
    medPlace -- String
    publictn - String
    amount - long
    This WS is working fine when I am testing from WS Nevigator.
    Now I have imported the WS in Excel and now the data types are like
    medPlace -- String
    publictn - String
    amount - double
    My requirement is to send the multiple row of the Excel to the WS at a time( I mean as a List). So when I have executed it first time I got error like “deserialisation error”. But I got an article (SAP Web Services and Microsoft Office: How to Create Simple Composite Applications ) by Marcus Schiffer and that problem is resolved.
    But Now I am getting the error like ......Client:Type conversion failure for element eXLSTRUCT0 HRESULT=0x80020005: Type mismatch. - Client:Unspecified client error. HRESULT=0x80020005: Type mismatch.
    eXLSTRUCT0 - This is my structure name in input.
    Can you please help me to solve this issue.
    Thanks in advance
    Chandan

    "vikceo" <[email protected]> wrote in
    message
    news:gm1pl9$s5h$[email protected]..
    > hie
    >
    > here is the code:
    >
    > <mx:HTTPService id="headCountService"
    > resultFormat="e4x"
    > fault="headCountService_fault(event);"
    > result="headCountService_result(event);"
    >
    > url="
    http://localhost:8988/HeadCount-HeadCountService-context-root/headcountwsso
    > aphttpport"/>
    >
    >
    > private function
    headCountService_fault(evt:FaultEvent):void {
    > var title:String = evt.type + " (" + evt.fault.faultCode
    + ")";
    > var text:String = evt.fault.faultString;
    > alert = Alert.show(text, title);
    > }
    >
    > private function
    headCountService_result(evt:ResultEvent):void {
    > var statListAll:XMLList = new XMLList(evt.result.stat);
    > }
    >
    > I am calling the service in the main mxml file as
    > <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > showFlexChrome="false"
    > layout="vertical"
    > preinitialize="headCountService.send();">
    >
    > And error is coming from the method
    headCountService_fault
    Is it possible that your web service is receiving something
    with an ill
    formed tag. I'd second bitwyse's suggestion.

  • Problem consuming Web Service from ECC 6.0 using dual certificates

    Hi, I am trying to consume a secure web service on ECC 6.0 - so far without much luck.
    When I try to connect to the ws server, it seems there are three certificates in action: a CICS certificate for establishing the SSL connection, a 'root' certificate from the PKI certificate issuer, and a private certificate issued by the above issuer (please forgive me if a have the syntax wrong - certificates are not my primary line of work). So, using Trust Manager (STRUST), I have created a PSE named 'OES' and imported all three certificates into it.
    In SOAMANAGER I have set up the end-point using the WSDL-file and set the following parameters:
    - Authentication Method = X.509 Client Certificate
    - Trustworthiness Method = Holder of Key
    - Issuer = <issuer from the root certificate>
    - Name of Attester = <blank>
    - Validity of SAML Assertion = 180
    - Caching of SAML Assertions = False
    - Attester System Destination = <blank>
    - Name of Attester = <blank>
    - User = SRxxxWS
    - Password = <blank>
    - Client PSE = OES
    When I try to consume the web service, I can see in the log files that the CICS certificat is used for establishing the SSL connection but all I receive back is an HTTP 403 "Client Authentication Error". If I remove the CICS certificate from the PSE, the connection is not made.
    How do I make the client certificate available for the connection? Have I approached the problem from the wrong side? Has anybody experienced something similar? Any help will be highly appreciated.
    Thanks,
    Bo

    Hi,
    I am not Certificate expert either but you can get plenty of help from "Security" forum on SDN. I can help you bit with some related SAP notes and forum answers:
    See following notes :
    1324884 - Analysis of ABAP Web Service SOA Configuration
    1318906 - Trace analysis of SSL problems
    1319507 - Overview: Analysis of ABAP Web Service Configuration
    See this forum discussed about consuming secured ws in webdynbpro:
    Problem in Calling Secure Webservice.
    Articles:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/92914af6-0d01-0010-3081-ded3a41be8f2&overridelayout=true -
    Web Services Security Configuration Guide (discussed IBM and NW WS security but you can find some examples and hints there)
    Regards,
    Gourav

  • Problem accessing web service: unexpected XML tag

    Hi,
    I access a web service with SOAP 1.2 via HTTP 1.1. I used wsimport on the WSDL to generate the stubs (I only use Java 6).
    The web service is a php-Script running on a web server (maybe delegates this in the background, I have no access nor intimate knowledge of the server). This script provides both the WSDL (via GET) and the service (via POST). When I use my generated client I always end up with the same exception:
    Exception in thread "main" com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://www.w3.org/2003/05/soap-envelope}Envelope but found: {http://schemas.xmlsoap.org/wsdl/}definitions
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:203)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:186)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:163)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:135)
         at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:294)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:173)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:88)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
         at com.sun.xml.ws.client.Stub.process(Stub.java:248)
         at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:134)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:244)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
         at $Proxy45.hello(Unknown Source)
         at client.Client.main(Client.java:37)The exception occurs in the line with the first use of a service method. Somehow the service seems to issue a GET rather than a POST and ends up requesting the WSDL file which generates parsing errors.
    So the code looks something like this:
    Service service = new Service();
    ServicePort port = service.getServicePort();
    port.soSomething(); // <- exceptionThe conversation is SSL encrypted so I can't look at the conversation in Wireshark or similar tools. Maybe there is a problem because the same URL is used for both WSDL and SOAP?

    My apologies. It was a server problem.

  • Problem accessing web service, error 2032 Stream Error

    I'm building a small flex app hat uses two web services
    provided by the same coldfusion CFC.
    I've verified that I can successfully access the web services
    via HTTP, and one of the web services actually does work when
    called. Both return structures that contain a string var, a numeric
    var, and one or more query vars.
    Here is my web service declaration:
    quote:
    <mx:WebService id="ws"
    wsdl="https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc?wsdl"
    useProxy="false">
    <mx:operation name="queryDB" result="queryDBResult()"
    fault="queryDBFault(event)">
    <mx:request>
    <RUNDATE>{cboRunDate.selectedItem.XDATE}</RUNDATE>
    <ENTITYID>{txtEntityID.text}</ENTITYID>
    <LASTNAME>{txtLastName.text}</LASTNAME>
    <FIRSTNAME>{txtFirstName.text}</FIRSTNAME>
    <MINITIAL>{txtMiddleInitial.text}</MINITIAL>
    <PRFSCHCD>{cboPreferredSchool.selectedItem.TABLKEY}</PRFSCHCD>
    <PRRECTYP>{cboRecordType.selectedItem.TABLKEY}</PRRECTYP>
    <PRFCLASS>{txtPreferredClass.text}</PRFCLASS>
    </mx:request>
    </mx:operation>
    <mx:operation name="getListData"
    result="getListDataResult()" fault="getListDataFault()"/>
    </mx:WebService>
    Sorry if the formatting sucks, I don't know how to post
    "code" here.
    Anyway, the getListData() method works fine and populates my
    list boxes. But when I call the queryDB() method, I get the
    following fault event:
    quote:
    [FaultEvent fault=[RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
    type="ioError" bubbles=false cancelable=false eventPhase=2
    text="Error #2032: Stream Error. URL:
    https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc"].
    URL:
    https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc"]
    messageId="1E553B99-DF28-ED72-62B8-B84AA3919F9A" type="fault"
    bubbles=false cancelable=true eventPhase=2]
    I've looked all over the place and I can't seem to find what
    this error means. I've tried all kinds of different ways of doing
    things. Right now I'm browsing the flex app via a file URL (C:\...)
    but I tried putting it up on the server too and that didn't work
    either.
    The method call *DOES* work when called via HTTP... ie
    https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc?method=queryDB&RUND ATE=2006-05-19&FIRSTNAME=&LASTNAME=SMITH&MINITIAL=&PRFSCHCD=&PRRECTYP=AL&PRFCLASS=&ENTITYI D=
    (You have to be logged in for that to work so you'll just
    have to trust me, it returns no records if you're not logged into
    the web site already).
    I'm totally stressing out about this because I've essentially
    spent the entire day since 8am trying to solve this. The
    application should've taken 15 minutes total.
    HELP!
    Thanks for any suggestions y'all have.
    Rick

    It means your output was not formed correctly and could not
    be parsed. set up a server side script or something to check that
    the output is indeed what you think it should be, 99% of the time i
    get thie error its due to malformed output from my webservice or
    db. Also try making an xml model of your target data to test the
    application internaly, look up model in the docs, it easy to use
    and if the model works then you know the data is faulty and you
    need to check your output and queries.

  • Access web service from tool area

    Hi,
    I want to edit the tool Area iView to invoke an external web services.
    I created a tool Area iView to be customized by importing “com.sap.portal.navigation.toolarea.par.bak” file from the NW2004s and create new portal project.
    I know how to edit add or remove any part from the tool area iview
    But how I can access the web service proxy? or what is the best way to implement that.

    Stumbled into a small problem:
    I have this method in my web service:
    @WebMethod(operationName = "test")
        public Integer test(@WebParam(name = "number")
        int number) {
        return number;
    }My client looks like this
    public static void main(String[] args) {
        try {
             String BODY_NAMESPACE_VALUE = /*namespace url*/;
             QName port = new QName(/*Service name*/);
             ServiceFactory factory = ServiceFactory.newInstance();
             Service service = factory.createService(new QName(/*Service name*/));
             Call call = service.createCall(port);
             call.setTargetEndpointAddress(/*WSDL location*/);
             call.setReturnType(XMLType.XSD_INT);
             call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "test"));
             call.addParameter("number", XMLType.XSD_INT, ParameterMode.IN);
             Integer[] i = new Integer[1];
             i[0] = new Integer(20);
             System.out.println("test :"+call.invoke(i));
        } catch (Exception ex) {
            ex.printStackTrace();
    } I get return values ok from the web service in my java client since I tried getting a constant from the web service. However, in the case above I am trying to send 20 from the client to the web service and receive it back. However I am receiving 0. Does anyone know why sending parameters from client to web service is not working?
    Thanks and regards,
    Krt_Malta

  • How to access web service from Oracle ?

    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    I am trying to make a call to a web service through a procedure/function...
    I tried to use
    CREATE OR REPLACE PROCEDURE Call_Rest_Webservice
    AS
      t_Http_Req Utl_Http.Req;
      t_Http_Resp Utl_Http.Resp;
      t_Request_Body VARCHAR2(30000);
      t_Respond VARCHAR2(30000);
      t_Start_Pos INTEGER := 1;
      t_Output VARCHAR2(2000);
    BEGIN
      /*Construct the information you want to send to the webservice.
      Normally this would be in a xml structure. But for a REST-
      webservice this is not mandatory. The webservice i needed to
      call excepts plain test.*/
      t_Request_Body := 'the data you want to send to the webservice';
      /*Telling Oracle where the webservice can be found, what kind of request is made
      and the version of the HTTP*/
      t_Http_Req := Utl_Http.Begin_Request('**webservice address**',
                                           'GET',
                                           'HTTP/1.1');
      /*In my case the webservice used authentication with a username an password
      that was provided to me. You can skip this line if it's a public webservice.*/
      --Utl_Http.Set_Authentication(t_Http_Req, 'username', 'password');
      /*Describe in the request-header what kind of data is send*/
      Utl_Http.Set_Header(t_Http_Req, 'Content-Type', 'text/xml charset=UTF-8');
      /*Describe in the request-header the lengt of the data*/
      Utl_Http.Set_Header(t_Http_Req, 'Content-Length', Length(t_Request_Body));
      /*Put the data in de body of the request*/
      Utl_Http.Write_Text(t_Http_Req, t_Request_Body);
      /*make the actual request to the webservice en catch the responce in a
      variable*/
      t_Http_Resp := Utl_Http.Get_Response(t_Http_Req);
      /*Read the body of the response, so you can find out if the information was
        received ok by the webservice.
        Go to the documentation of the webservice for what kind of responce you
        should expect. In my case it was:
        <responce>
          <status>ok</status>
        </responce>
      Utl_Http.Read_Text(t_Http_Resp, t_Respond);
      /*Some closing?1 Releasing some memory, i think....*/
      Utl_Http.End_Response(t_Http_Resp);
    END;But it gave me ORA-29272: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1029
    ORA-12545: Connect failed because target host or object does not exist
    But I can link to the web server by going to **webservice address** through my browser.
    Is there any ACL should be open in order to have this capability? I asked my DBA but she asked me I will need to give her username/password/ip in order to open an ACL...
    however there is no username/password required while visiting the web service...
    Any help would be highly appreciated..
    Thanks,
    Edited by: 986006 on Mar 4, 2013 8:38 AM

    Y.L wrote:
    That is because the database was unable to connect to the specified server. Wrong hostname or IP specified. Failure to resolve the hostname into an IP. Firewall blocking. Etc.The hostname I put there can be visit through my browser. I think it should not be the host server's issue... So it could be a firewall on my database side that needs to be open in order to visit the hostserver?The "web browser" code (your PL/SQL code using UTL_HTTP) runs on the Oracle database server. It needs the same type of network access that your browser on your PC enjoys. (firewalls opened, proxy authentication if required, etc).
    On 11g. Not on 10g.I saw the example code you post through the link you provided... will those only work on 11g?
    If it can work on 10g, what package or what steps I need to follow in order to have that working on me?The code I've posted will work on both versions. My comment was regards to ACLs. No ACLs existed on 10g. So you only need execute privs on the relevant packages (e.g. UTL_HTTP, etc).
    ACLs were introduced with 11g - so on 11g you also need the DBA to create an ACL for you that will allow UTL_HTTP access to the network.

  • Problem calling web service from OIM

    Hello,
    We have a requirement to get the department name from a web service call and populate the department name on the usr form based on the deptid.
    We created the java web service client class (got the jar file and put it in the JavaTasks directory on OIM server). We unit tested this code successfully from our desktop.
    Then we created the process task in the design console to call the client class method to get the deptname based on the deptid.
    We got a value of "exception" returned from the web service call.
    When we telnet from OIM to the web server, we got "connected to..." followed by "Connection closed by foreign host".
    How can we verify that OIM can talk to the web server?
    Please help.
    Thanks
    Khanh
    Edited by: user12049102 on May 5, 2010 1:06 PM
    Edited by: user12049102 on May 5, 2010 1:49 PM

    We knew that we can make the web service call from the command line. So, we wrote a shell script that calls the web service jar file and it worked.
    It's not elegant but we couldn't figure out why we cannot make the web service call directly from OIM.

  • NullPointerException in WebLogic while accessing web service from client

    Hi all,
    I have an SPML Web Service developed. The java class from WSDL was generated using wsdlc
    <wsdlc srcWsdl="schema/oracle_ws_spmlv2.wsdl" destJwsDir="${classes.dir}" type="JAXWS" explode="true"/>
    and then
    <jwsc classpath="..." classpathref="wls.jars" srcdir="src/main" destdir="${classes.dir}" keepGenerated="yes">
    <jws file="com/oracle/xmlns/idm/identity/webservice/spmlservice/SPMLService_SPMLServiceProviderSoapImpl.java" compiledWsdl="target/oracle_ws_spmlv2_wsdl.jar" type="JAXWS">
    <WLHttpTransport contextPath="OIMSPMLWebService" serviceUri="${ear.deployed.name}" portName="SPMLServiceProviderSoap"/>
    </jws>
    </jwsc>
    I have deployed the ear in WLS and generated the client classes.
    <clientgen wsdl="http://${weblogic.host}:${weblogic.port}/OIMSPMLWebService/OIMspmlxsd?WSDL" destDir="${classes.dir}" type="JAXWS"/>
    I run the client using java command from the terminal. First time, it runs fine. I get a valid response. But often, when I run it a second time, I get the following exception ... I need to undeploy and deploy the ear again. Any help will be appreciated!
    Following error appears.
    Error 500--Internal Server Error
    java.lang.NullPointerException
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:49)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
    at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:452)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:232)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    As a workaround I can start the application in debug mode, log into the Weblogic console and stop then restart the deployment and this issue goes away, sort of a pain but it does work.

  • 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

  • How to access web-service from Forms 9i

    Hi
    I have a form running on 9i server.How do I access a webservice when im using iDS 9i.
    please let me know
    siri

    hi
    I found this site from one of your replies.
    http://www.oracle.com/technology/obe/obe_as_10g/deploy/callws_fromforms/forms_webservice.htm
    I feel this helps. WHen i try to use it with my iDS 9i , the jdeveloper is not recognising the wsdl . It is giving error.
    What can be the reason ?

  • Access web service from Message Driven bean

    Can anybody give code to to access webservice from Message Driven Bean

    Can anybody give code to to access webservice from Message Driven Bean

Maybe you are looking for

  • No sound on my Macbook pro, red light.

    My Macbook Pro won't play anything out loud, through the speakers, like when i have to watch a video or hear some music, i have to put my headphones in the Macbook, and then it can play the sound, but if i take them out, there are no sound and there

  • Blocked Skype account

    I lost use of my Skype on my MacBook since mid-July and the support team they have there has been useless. I can get it on my iPhone just fine, but Skype is more effecient on my laptop. I've talked with a lot of people on the site, but they say they

  • Manifest quary

    hi all, i do need to add a classpath entry of a jar file in manifest.mf file of a jar. i know what should i include for this as Class-Path:myjar.jar but i have a little problem to understand that, where should i write this line if i have a jar file s

  • Plan Driven configuration in Classic

    Hello Experts, I am setting up PDP in Classic Scenario (SRM7.0/ECC6.0) and I have the following queries 1. I have created an entry channel in SRM org structure. Will this have any 'Function'? Should I assign an employee user under this node? Is this

  • About htmlb tags

    hi all iam new to bsp's and i like to know the use of all the htmlb tags and how could i use them it is better if i got this with an example explaining these please provide me the link.